From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,249 Views)