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

4 ビュー (過去 30 日間)
Alex Jones
Alex Jones 2019 年 9 月 17 日
コメント済み: Rik 2019 年 9 月 17 日
I need to use ls to change the directory in Matlab for a homework, I'm a first time user.
  1 件のコメント
Rik
Rik 2019 年 9 月 17 日
For future questions: have a read here and here.

サインインしてコメントする。

採用された回答

Rik
Rik 2019 年 9 月 17 日
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.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSearch Path についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by