Design of Simulink block
Show older comments
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
madhan ravi
on 5 Dec 2023
it would be better if you could attach your model and screenshot of the error message with the model
Answers (1)
Sam Chak
on 5 Dec 2023
0 votes
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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!