Search for a parameter in a mask programatically

조회 수: 1(최근 30일)
João Araújo
João Araújo 2022년 2월 28일
댓글: João Araújo 2022년 2월 28일
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 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.
  댓글 수: 1
João Araújo
João Araújo 2022년 2월 28일
It works! thank you very much!

댓글을 달려면 로그인하십시오.

추가 답변(0개)





Community Treasure Hunt

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

Start Hunting!

Translated by