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

1 vue (au cours des 30 derniers jours)
Yong Gyun Kwon
Yong Gyun Kwon le 17 Mar 2022
Réponse apportée : R le 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 commentaires
stozaki
stozaki le 20 Mar 2022
please use keyboard shortcuts on the editor.
Find and replace : Ctrl + F
Yong Gyun Kwon
Yong Gyun Kwon le 21 Mar 2022
Modifié(e) : Yong Gyun Kwon le 21 Mar 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

Connectez-vous pour commenter.

Réponses (1)

R
R le 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:

Catégories

En savoir plus sur Complex Logic dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by