Using version deatils of the tool box in application

조회 수: 1 (최근 30일)
Purushottama Rao
Purushottama Rao 2015년 6월 10일
댓글: Purushottama Rao 2015년 6월 10일
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일
One way
sas = ver;
iss = strcmpi( 'Stateflow', {sas.Name} );
sas(iss).Version
ans =
8.1

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Naming Conventions에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by