Pedro Valadares
2007-07-31 11:50:09 UTC
When I try to build in Real-Time Workshop, Simulinks shows this error:
Error building Real-Time Workshop target for block diagram 'model'. MATLAB error message:
Error using ==> rtwgen
--> Goto/From connections cannot cross nonvirtual subsystem boundaries. The only exception is when a goto is connected to a state output port.
--> Invalid connection starts with 'pathGoto/Goto3'.
--> Invalid connection ends with 'pathFrom/From'.
All my Goto Tags are "GLOBAL" so it is not a problem with the Visibility.
The Goto block is in the Root level.
This error happens when I try to use the From in a subsystem (should be no problem... Visibility is GLOBAL...). However if I use From block in the same level it works (it also works if I put the Goto block inside a subsystem and use the From in the root level).
Do you have any suggestion to solve my problem?
Regards.
Error building Real-Time Workshop target for block diagram 'model'. MATLAB error message:
Error using ==> rtwgen
--> Goto/From connections cannot cross nonvirtual subsystem boundaries. The only exception is when a goto is connected to a state output port.
--> Invalid connection starts with 'pathGoto/Goto3'.
--> Invalid connection ends with 'pathFrom/From'.
All my Goto Tags are "GLOBAL" so it is not a problem with the Visibility.
The Goto block is in the Root level.
This error happens when I try to use the From in a subsystem (should be no problem... Visibility is GLOBAL...). However if I use From block in the same level it works (it also works if I put the Goto block inside a subsystem and use the From in the root level).
Do you have any suggestion to solve my problem?
Regards.