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

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

 Respuesta aceptada

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 comentarios

That works for me. Thank you very much!
Ralf
Thanks. if not installed how do I install this package...

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Verification, Validation, and Test en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 8 de Mayo de 2015

Comentada:

el 15 de Jul. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by