Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

file problems with Matlab in Windows CMD running?

1 Ansicht (letzte 30 Tage)
Bruce
Bruce am 19 Mär. 2014
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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)

Antworten (1)

Bruce
Bruce am 19 Mär. 2014
Bearbeitet: Bruce am 19 Mär. 2014
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?

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by