read_output

2020-06-03  本文已影响0人  锅炉工的自我修养

ank_tracing

小结

https://ww2.mathworks.cn/help/matlab/ref/split.html


tips:MATLAB 中split要和 strtrim搭配使用,这样才能保证分割时,不会吧段前段后的空格当成一个cell

str_no_empty=strtrim(str);
str_split=split(str_no_empty);

https://ww2.mathworks.cn/help/matlab/ref/fseek.html

fid_save=ftell(fid);
fseek(fid,fid_save,'bof'); % shift the fid to the before line begin
tmp=fscanf(fid,FormatSpec);
上一篇 下一篇

猜你喜欢

热点阅读