HELLO ALL, Iam developing an application for code generation later. I would like to test the version of tool boxes required for my appliaction such as State flow every time the user tries to generate the code. I tried 'Ver' command to return all the version details of the tool boxes. It has returned a structure array containing fields as "name" "version" "release" "date"
How i can check whether the stateflow (which is member of the field 'name' ) version is above 7.0 or not?

 採用された回答

per isakson
per isakson 2015 年 6 月 10 日
編集済み: per isakson 2015 年 6 月 10 日

0 投票

One way
sas = ver;
iss = strcmpi( 'Stateflow', {sas.Name} );
sas(iss).Version
ans =
8.1

1 件のコメント

Purushottama Rao
Purushottama Rao 2015 年 6 月 10 日
Thanks Isakson for your quick reply.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Simulink についてさらに検索

製品

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by