Why does appdesigner adds to path?

5 ビュー (過去 30 日間)
Babak
Babak 2023 年 9 月 7 日
コメント済み: Babak 2023 年 9 月 22 日
  1. Launch MATLAB and then change MATLAB current directory to one that a *.mlapp file exists.
  2. Double click on the mlapp and get the GUI opened up
  3. Run the GUI.
  4. Close the GUI app and the app designer.
  5. Change MATLAB current path to some other directory
  6. Query "path" in MATLAB command window and notice that the directory where the mlapp was once been opened from is still in the path
I think this is a bug
  1 件のコメント
Image Analyst
Image Analyst 2023 年 9 月 8 日

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

回答 (1 件)

Gagan Agarwal
Gagan Agarwal 2023 年 9 月 18 日
Hi Babak,
I have reproduced the scenario you have mentioned in the app designer application, and it appears that in MATLAB version R2023a, the issue is no longer present. If you are using an older version of MATLAB, I recommend that you update to the latest version.
I hope this helps!
  1 件のコメント
Babak
Babak 2023 年 9 月 22 日
It is not resolved on matlab 2023a. I was able to reproduce it now.
  1. Change matlab command window to a directoty with the *.mlapp file.
  2. Double click in matlab working directory on the *.mlapp file.
  3. Apdesigner comes up. Run the App. Close the app and close appdesigner.
  4. Change matlab working directory to something else.
  5. In matlab command window command "path"
  6. noticed that the path of the directory of the *.mlapp file is still in the path.

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

カテゴリ

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

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by