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.

 采纳的回答

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

2 个评论

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?

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by