Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Just write a script in your fav scripting language (Bash, Perl, Python) which will read the txt file you have posted and write out the desired file to be read by MAtlab.how can i just import this hex data to MATLAB.? as you see there is sample window and sample buffer which i have to ignore.
Just write a script in your fav scripting language (Bash, Perl, Python) which will read the txt file you have posted and write out the desired file to be read by MAtlab.
while 1
line=fgetl(fileid);
if ~ischar(line),break,end;
c=strsplit(line);
data=eval(char(c(3)));
d_array(index)=data;
index+1;
end
I don't use Matlab!You could just write the script in MATLAB; why bother bringing another tool into the mess?
The question was “how to import into matlab”. You answered a totally different question.I don't use Matlab!
So I jst gave the basic idea of using scripts. Now if it can be done in Matlab, good for the OP.