how to rename the calibration parameter in a simulink model

조회 수: 1 (최근 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 CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by