使用Octave 4.0.0上的textscan()问题(在OS X 10.11.3上与Homebrew一起安装 - El Capitan)

时间:2016-02-28 17:11:54

标签: macos matlab homebrew octave osx-elcapitan

我正在尝试编译以下八度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

有人可以帮我解决这个问题吗?

0 个答案:

没有答案