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

2 次查看(过去 30 天)
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 中查找有关 Complex Logic 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by