How to control Simulink Find&Relace by M-Script Code

조회 수: 7 (최근 30일)
Yong Gyun Kwon
Yong Gyun Kwon 2022년 3월 17일
답변: R 2024년 1월 23일
Hello,
I wanna use 'Find and replace Tool' by M-Script Code because i should change numerous Data Name.
So, is there any information for this Tool's API?
  댓글 수: 2
stozaki
stozaki 2022년 3월 20일
please use keyboard shortcuts on the editor.
Find and replace : Ctrl + F
Yong Gyun Kwon
Yong Gyun Kwon 2022년 3월 21일
편집: Yong Gyun Kwon 2022년 3월 21일
I know this way to use this tool by keyboard shortcuts.
But, I need to use this Tool by M-Script Code because i should change numerous Data Name in Simulink State Chart.
Is it Any way to use this Tool by M-Script Code??
If you know,
Please let me know

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

답변 (1개)

R
R 2024년 1월 23일
Hi Yong,
I recently came across a way to programatically rename data in Stateflow charts using a .M script. Refer to the example in the following MATLAB documentation:

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by