Modifying the search path is not supported by matlab compiler

24 ビュー (過去 30 日間)
Corey
Corey 2022 年 8 月 26 日
回答済み: Stefanie Schwarz 2024 年 4 月 17 日
I am trying to generate a standalone application using App Designer in MATLAB 2022A. However, received the given error when I try to open the .exe which generated from the appdesigner.
Error message: Modifying the search path is not supported by matlab compiler. Remove functions that modify the search path from your MATLAB code. To make files visible to your deployed application, add the parent folder to your MATLAB session.

回答 (2 件)

Bruno Luong
Bruno Luong 2022 年 8 月 26 日
That's right. It's a constraint of the compiled app that you cannot do anything.
  2 件のコメント
Corey
Corey 2022 年 8 月 26 日
Can we use addpath or any other way to modify the path?
Bruno Luong
Bruno Luong 2022 年 8 月 26 日
No I just say you cannot do anything to overcome this constraint.

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


Stefanie Schwarz
Stefanie Schwarz 2024 年 4 月 17 日

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by