Saving files in a standalone .mlapp app

3 vues (au cours des 30 derniers jours)
Anastasia Eltsova
Anastasia Eltsova le 13 Juin 2021
I am making a mlapp file in app designer, that I want to use as a standlone app. I have to save some .mat files in this app, and I noticed that when I try to run an app with double click on .mlapp file, I always get this error:
Error using save
Unable to write file BR_constraction_par.mat: permission denied
Then with pwd command I found out that app runs from C:\Windows\System32 and that is why I can't save my file. How can I cd to the folder where .mlapp file is located, if I don't know the path?
.

Réponses (0)

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by