LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

使用mathscript模块中的fscanf函数,出现“指定的文件标识符无效,确保labview成功打开文件”?

fid=fopen('elcentro.txt','r');
[a,b]=fscanf(fid,'%g');
fclose(fid);

使用该语句无法打开‘elcentro.txt'文件,原因是否是应该将该文件放在某一个特定的路径?还是有其他解决方法?

0 Kudos
Message 1 of 1
(2,251 Views)