Replace GoTo Block in Simulink

3 vues (au cours des 30 derniers jours)
Christia
Christia le 5 Sep 2013
Hello I need to modularize an existing simulink model. In this model tons of GoTo blocks were used. But they make the code unreadable and i dont have a clear interfaces for my moduls. So I want to replace the GoTo Blocks with BusSignals in and out of the moduls. Is there any simple way e.g. by a script to replace the GoTo blocks with signals going into a bus? Or do I have to do this manually?

Réponse acceptée

Kaustubha Govind
Kaustubha Govind le 5 Sep 2013
You could technically write a MATLAB script using Simulink command-line functionality to do the replacement for you, but depending on the complexity of your model/interfaces, it may or may not be simpler to do it manually compared to writing a script.

Plus de réponses (0)

Catégories

En savoir plus sur Programmatic Model Editing 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