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?

 Respuesta aceptada

per isakson
per isakson el 10 de Jun. de 2015
Editada: per isakson el 10 de Jun. de 2015
One way
sas = ver;
iss = strcmpi( 'Stateflow', {sas.Name} );
sas(iss).Version
ans =
8.1

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 10 de Jun. de 2015

Comentada:

el 10 de Jun. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by