AppDesigner Standalone Desktop App Error permission denied
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Philipp Guenthner
am 28 Jan. 2021
Kommentiert: Philipp Guenthner
am 3 Feb. 2021
Hi everyone!
this Question might be esay to solve but i am a totaly beginner in Matlab.
I want to create a standalone App with the Matlab Compiler but i get the following Error Message every time i try.
That mlapp file itself runs perfectly fine, when i start it with matlab.
pls help
Preparing Runtime...
mcc -o APP_Makro -W 'main:APP_Makro,version=1.5' -T link:exe -d 'C:\Users\Philipp Günthner\Documents\MATLAB\APP_16_01_2021\for_testing' -v 'C:\Users\Philipp Günthner\Documents\MATLAB\APP_16_01_2021.mlapp' -r 'C:\Program Files\MATLAB\R2020b\toolbox\compiler\resources\default_icon.ico'
Compiler version: 8.1 (R2020b)
Analyzing file dependencies.
Warning: In "C:\Users\Philipp Günthner\Documents\MATLAB\APP_16_01_2021.mlapp", "solve, syms, vpasolve" are excluded from packaging for the MATLAB Runtime environment according to the MATLAB Compiler license. Either remove the file or function from your code, or use the MATLAB function "isdeployed" to ensure the function is not invoked in the deployed component.
Parsing file "C:\Users\Philipp G�nthner\Documents\MATLAB\APP_16_01_2021.mlapp"
(referenced from command line).
Error: Unable to open file "C:\Users\Philipp G�nthner\Documents\MATLAB\APP_16_01_2021\for_testing\requiredMCRProducts.txt": Permission denied.
1 Kommentar
Mario Malic
am 28 Jan. 2021
Hi,
you can't compile the toolbox that these functions are in "solve, syms, vpasolve". You should see this warning when you compile the app.
Akzeptierte Antwort
Shubham Khatri
am 3 Feb. 2021
Hello,
To my understanding the error for permission occurs when you try to access a file for which you do not have permission to access or modify. I would recommand to check the file access settings from administrator.
Also, it looks like you are trying to complie a toolbox, which can not be done.
Hope it helps.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu C Shared Library Integration 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!