how to rename the calibration parameter in a simulink model

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일

0 개 추천

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개)

카테고리

제품

릴리스

R2019a

질문:

2023년 9월 6일

댓글:

2023년 9월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by