problem with addpath in compiling
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
faran
am 10 Jul. 2018
Beantwortet: Stefanie Schwarz
am 13 Sep. 2024
Hi,
I am trying to use addpath to give a directory for using support packages of alexnet. But when I am trying to compile the gui, I receive the error below: This is typically caused by calls to ADDPATH in your startup.m or matlabrc.m files. Please see the compiler documentation and use the ISDEPLOYED function to ensure ADDPATH commands are not executed by deployed applications. Error using which Previously accessible file "D:\Gui folder\for_redistribution_files_only\SupportPackages\R2017b\toolbox\nnet\supportpackages\alexnet\+nnet\+internal\+cnn\+supportpackages\IsAlexNetInstalled.m" is now inaccessible.
I used a different way of giving the direction to the program and the compiling went well but I need to copy and paste the needed package in to the "for_redistribution_files_only" folder. Is there anyway to use the addpath in the compiling?
0 Kommentare
Akzeptierte Antwort
Stefanie Schwarz
am 13 Sep. 2024
Using "addpath" in a compiled application is not recommended and even no longer possible since R2019a. See this answer for strategies to avoid modifying the search path in MATLAB Code for deployment:
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!