Modifying the search path is not supported by matlab compiler

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.

Risposte (2)

That's right. It's a constraint of the compiled app that you cannot do anything.

2 Commenti

Can we use addpath or any other way to modify the path?
No I just say you cannot do anything to overcome this constraint.

Accedi per commentare.

Categorie

Scopri di più su Develop Apps Using App Designer in Centro assistenza e File Exchange

Prodotti

Release

R2022a

Richiesto:

il 26 Ago 2022

Risposto:

il 17 Apr 2024

Community Treasure Hunt

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

Start Hunting!

Translated by