Search for a parameter in a mask programatically
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello,
I am trying to search for parameters used in masks, as for example:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/909595/image.png)
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!
0 Commenti
Risposta accettata
stozaki
il 28 Feb 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
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Programmatic Model Editing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!