Info

この質問は閉じられています。 編集または回答するには再度開いてください。

file problems with Matlab in Windows CMD running?

1 回表示 (過去 30 日間)
Bruce
Bruce 2014 年 3 月 19 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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)

回答 (1 件)

Bruce
Bruce 2014 年 3 月 19 日
編集済み: Bruce 2014 年 3 月 19 日
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?

この質問は閉じられています。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by