Using version deatils of the tool box in application

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?

 Accepted Answer

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

More Answers (0)

Categories

Find more on Software Development Tools in Help Center and File Exchange

Products

Tags

Community Treasure Hunt

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

Start Hunting!