【发布时间】:2014-02-16 05:26:34
【问题描述】:
我正在尝试执行以下几行
command ='C:\Program Files (x86)\MATLAB\R2010a\bin\matlab -wait -nodesktop -nosplash -r wrapper';
[status, output] = system(command);
但我收到一条错误消息:
' 'C:\Program' is not recognized as an internal or external command,
operable program or batch file.'
在我看来,空格正在产生错误,如它仅捕获'C:\ Program'的错误所示,所以有人可以建议吗?
【问题讨论】: