フィルターのクリア

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

9 ビュー (過去 30 日間)
Ralf
Ralf 2015 年 5 月 8 日
コメント済み: Bala kumar 2015 年 7 月 15 日
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

採用された回答

Thomas Koelen
Thomas Koelen 2015 年 5 月 8 日
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 件のコメント
Ralf
Ralf 2015 年 5 月 8 日
That works for me. Thank you very much!
Ralf
Bala kumar
Bala kumar 2015 年 7 月 15 日
Thanks. if not installed how do I install this package...

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeVerification, Validation, and Test についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by