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