how to access the variable value declared in constant block using get_param command.
Mostrar comentarios más antiguos
how to access the variable value declared in constant block using get_param command.
------------------------------------------------------------------------------
initially i declared value for a is 1 in work space.
normally i access the variable by following way,
get_param(gcb,'value')
for above command i got the following answer, ans= a
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
but, i want to get the ans is 1
how to use get_param() command to access the value 'a' stored in workspace.
i attached the screen shot of that simulink model ----------------------------------------------------------------------------------

Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Programmatic Model Editing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
