Get path from running app
Mostra commenti meno recenti
As we saw in Get path from runnig script to obtain in a automated way the path where our MATLAB file was running,
there is a comand for obatin the path of the execution of our MATLAB App?
The aim is used it in the StartupFcn function.
Thank you!
4 Commenti
Abolfazl Chaman Motlagh
il 10 Set 2021
if you mean path of location which the app comes up, can't you just use pwd?
i use it before in StartupFcn. and it work correctly even after compile for standalone desktop app.
Josep Llobet
il 10 Set 2021
Josep Llobet
il 10 Set 2021
Abolfazl Chaman Motlagh
il 10 Set 2021
glad to help
you can put local direction using pwd in your app.
imread([pwd '\imagesfolder\image.jpg'])
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Debugging and Analysis in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!