Effacer les filtres
Effacer les filtres

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

9 vues (au cours des 30 derniers jours)
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

Réponse acceptée

Thomas Koelen
Thomas Koelen le 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
  2 commentaires
Ralf
Ralf le 8 Mai 2015
That works for me. Thank you very much!
Ralf
Bala kumar
Bala kumar le 15 Juil 2015
Thanks. if not installed how do I install this package...

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Verification, Validation, and Test dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by