필터 지우기
필터 지우기

Replace GoTo Block in Simulink

조회 수: 4 (최근 30일)
Christia
Christia 2013년 9월 5일
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?

채택된 답변

Kaustubha Govind
Kaustubha Govind 2013년 9월 5일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by