how to rename the calibration parameter in a simulink model

6 ビュー (過去 30 日間)
wenchao zhang
wenchao zhang 2023 年 9 月 6 日
コメント済み: wenchao zhang 2023 年 9 月 7 日
now i want find all the calibration parameter which contains(for example 'xxx'), and rename this calibration parameter by replace xxx with yyy, expect(pedc_b_xxxMotEna ->pedc_b_yyyMotEna)

採用された回答

kei hin
kei hin 2023 年 9 月 6 日
編集済み: kei hin 2023 年 9 月 6 日
use find_system() to get all constant block's handle, then use get_param(blockhandle,'value') to get the value in constant, and then use set_param(blockhandle,'value','yyy') after check the value include 'xxx'.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSources についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by