How to check if external program/software is installed using App

I developed an App which simulates the Simulink model. This simulink model requires another external program/software which need to be installed.
In case a new user uses this app, he need to install this external program manually in order to simulate the model.
I am looking for a way in which when I run the app it search for this program and prompt or install the program if it is not installed.
Looking for some feedback!
Thanks
Ankit

回答(1 个)

3 个评论

Hi Kritika,
the command mentioned in the above link doesn't show all of the installed software even from Program Files folder. What if the software is not installed in program files but in separate folder for e.g. C:\Test .
Thanks
Ankit
Did you try this command:
system("wmic product get Name, Version")
yes, I tried it. It doesn't show the major simulation software installed!

请先登录,再进行评论。

类别

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

产品

版本

R2018b

提问:

2019-11-6

评论:

2020-1-17

Community Treasure Hunt

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

Start Hunting!

Translated by