Search for a parameter in a mask programatically

2 ビュー (過去 30 日間)
João Araújo
João Araújo 2022 年 2 月 28 日
コメント済み: João Araújo 2022 年 2 月 28 日
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!

採用された回答

stozaki
stozaki 2022 年 2 月 28 日
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
  1 件のコメント
João Araújo
João Araújo 2022 年 2 月 28 日
It works! thank you very much!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeProgrammatic Model Editing についてさらに検索

タグ

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by