Current App Installation Folder

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.

 Accepted Answer

One way:
files = matlab.apputil.getInstalledAppInfo;
[path,~,~] = fileparts(files(1).location)

2 Comments

This works! Thanks
How can the new and recently App created add the path automatically when it is launched from the App bar?, any idea?

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!