我正在尝试编译以下八度4.0.0代码(称为' looptest.m'):
fid_Tv = fopen('Tv.txt');
fid_Ti = fopen('Ti.txt');
Tv_matrix = textscan(fid_Tv,'%f%f%c%f','headerlines',1);
Ti_matrix = textscan(fid_Ti,'%f%f%c%f','headerlines',1);
fclose('all');
此代码在Matlab上运行正常,但Octave返回:
error: strread: %q, %c, %[] or bit width format specifiers are not supported yet.
error: called from
strread at line 319 column 7
textscan at line 318 column 8
looptest at line 3 column 11
有人可以帮我解决这个问题吗?