Current App Installation Folder

47 visualizzazioni (ultimi 30 giorni)
Oyeniyi
Oyeniyi il 24 Mar 2014
Commentato: Joaquin REYES il 4 Ott 2017
I want to be able to get the App Install Folder without checking from the 'Preferences' section.
Is there a matlab function (or any function at all) to get the Apps Install Folder from the matlab command line?
Thanks.

Risposta accettata

Sean de Wolski
Sean de Wolski il 24 Mar 2014
One way:
files = matlab.apputil.getInstalledAppInfo;
[path,~,~] = fileparts(files(1).location)
  2 Commenti
Oyeniyi
Oyeniyi il 24 Mar 2014
This works! Thanks
Joaquin REYES
Joaquin REYES il 4 Ott 2017
How can the new and recently App created add the path automatically when it is launched from the App bar?, any idea?

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing 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