Design of Simulink block

am design a simulink block on MATLAB for my project but on the design block i keep meeting with a model error, as i run the design model
Multiple Gotos found with tag named 'A'

1 Comment

it would be better if you could attach your model and screenshot of the error message with the model

Sign in to comment.

Answers (1)

Sam Chak
Sam Chak on 5 Dec 2023
The GoTo block passes its input to its corresponding From blocks, which may be connected to the input port of some blocks. Here is a situation where a duplicate Goto block (Goto1) with the tag named [A] will cause a conflict because Simulink doesn't know whether you want to send the value 2 or the value 3 to the Add block.
To resolve this issue, the tag in the Goto1 block should be renamed to [B] or something other than [A].

Categories

Find more on Modeling in Help Center and File Exchange

Products

Release

R2018a

Asked:

on 5 Dec 2023

Answered:

on 5 Dec 2023

Community Treasure Hunt

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

Start Hunting!