Search for a parameter in a mask programatically

1 visualización (últimos 30 días)
João Araújo
João Araújo el 28 de Feb. de 2022
Comentada: João Araújo el 28 de Feb. de 2022
Hello,
I am trying to search for parameters used in masks, as for example:
the issue is, I cannot seem to do this programatically. While in the ctrl+f in simulink it finds the parameter easily, It doesn't seem to work using find_system. Has anyone run into this issue?
Thanks in advance!

Respuesta aceptada

stozaki
stozaki el 28 de Feb. de 2022
Try the following command:
ret = find_system (bdroot (gcs),'BlockType','SubSystem','MaskValueString','sensif_p_IMU_lat_sign')
Set the target parameter name in the last argument.
stozaki

Más respuestas (0)

Categorías

Más información sobre Programmatic Model Editing en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by