it seems if I put double quotation marks before and after my matlab codes, i.e. "a=importdata('data folder/dataFile. txt')", it will work in WinCMD. Anyone can explain?
Info
此问题已关闭。 请重新打开它进行编辑或回答。
file problems with Matlab in Windows CMD running?
1 次查看(过去 30 天)
显示 更早的评论
Running this piece of codes doesn't work:
D:\> matlab -nodesktop -noplash -r a=importdata('data folder/dataFile. txt')
if I run "a=importdata('data folder/dataFile. txt')" in matlab command window, it works.
Why in command line it doesn't work? (no output on the screen)
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!