用system调用.exe文件。
我调用.exe是这么写的:
cmd='P:\zhongxinpinlv\Fd_CDE.exe';
system(cmd);
因为这个.exe程序运行后会生成一个.txt文件,求问如何在调用.exe之后再读取此.exe生成的.txt
https://www.mathworks.com/matlabcentral/answers/69038-does-matlab-system-call-wait-for-the-operation-to-finish-before-continuing-with-the-script
(这个办法可以试试看,命令行最后加上&)