How to find out if the Simulink Verification and Validation toolbox is installed?

8 Ansichten (letzte 30 Tage)
Hi all,
is there a simple way of finding out programmatically if the "Simulink Verification and Validation" toolbox is installed? I tried to check the output of the "ver" command for the occurence of that string but this seems to be not very elegant.
Thank you very much!
Ralf

Akzeptierte Antwort

Thomas Koelen
Thomas Koelen am 8 Mai 2015
v = ver;
any(strcmp('Simulink Verification and Validation', {v.Name}))
This will return
1
if the toolbox is installed and:
0
If it's not.
Thomas

Weitere Antworten (0)

Kategorien

Mehr zu Verification, Validation, and Test finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by