How can I get in code the path of currently running deployed matlab function

5 visualizzazioni (ultimi 30 giorni)
I have a deployed standalone MATLAB GUI, and in the code I need the path where the deployed .exe located. Is there any solution for this?

Risposta accettata

Sebastian Holmqvist
Sebastian Holmqvist il 9 Ago 2012
pwd also returns the current path. This is what I use in my GUIs.
  2 Commenti
Sebastian Holmqvist
Sebastian Holmqvist il 10 Ago 2012
pwd is actually an alias for cd. The difference is that with cd, you can also change the current directory while pwd only calls cd without arguments. See help cd for more info.

Accedi per commentare.

Più risposte (1)

Image Analyst
Image Analyst il 9 Ago 2012
That's in the variable called ctfroot.

Categorie

Scopri di più su MATLAB Compiler in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by