Modifying the search path is not supported by matlab compiler

24 views (last 30 days)
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.

Answers (2)

Bruno Luong
Bruno Luong on 26 Aug 2022
That's right. It's a constraint of the compiled app that you cannot do anything.

Stefanie Schwarz
Stefanie Schwarz on 17 Apr 2024

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!