How do you use ls to change your directory in Matlab?

1 Ansicht (letzte 30 Tage)
Alex Jones
Alex Jones am 17 Sep. 2019
Kommentiert: Rik am 17 Sep. 2019
I need to use ls to change the directory in Matlab for a homework, I'm a first time user.

Akzeptierte Antwort

Rik
Rik am 17 Sep. 2019
The homework is either badly designed, or is attempting to teach you why you shouldn't use it.
You shouldn't change your current directory during normal use of Matlab. You should be using either relative of full paths to files.
If you use your favorite internet search engine to search for 'change directory Matlab', you will probably find the documation page for the cd function.

Weitere Antworten (0)

Kategorien

Mehr zu Search Path finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by