Modifying the search path is not supported by matlab compiler

조회 수: 9 (최근 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 CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by