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

7 Ansichten (letzte 30 Tage)
Yong Gyun Kwon
Yong Gyun Kwon am 17 Mär. 2022
Beantwortet: R am 23 Jan. 2024
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 Kommentare
stozaki
stozaki am 20 Mär. 2022
please use keyboard shortcuts on the editor.
Find and replace : Ctrl + F
Yong Gyun Kwon
Yong Gyun Kwon am 21 Mär. 2022
Bearbeitet: Yong Gyun Kwon am 21 Mär. 2022
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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

R
R am 23 Jan. 2024
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:

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by