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

1 回表示 (過去 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 Center および File ExchangeComplex Logic についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by