file path error in matlab

2 ビュー (過去 30 日間)
ali hassan
ali hassan 2022 年 2 月 5 日
回答済み: Davide Masiello 2022 年 2 月 5 日
what does change folder and add to path means and how it works?

採用された回答

Davide Masiello
Davide Masiello 2022 年 2 月 5 日
When you run a MatLab file, your current folder (often displayed on the left hand side) must be the one where that file is stored.
If you try to run that file from a different folder, than the dialogue box come up and it gives you the following choices:
Change Folder: changes the current folder to the one where the file is stored, so that it can run it.
Add to Path: adds the folder where the file is stored to the top of the search path for the current session, so that it can run it.

その他の回答 (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