- uncheck the 'Signal name must resolve to Simulink signal object' for the signal SC_*** the error goes away, like you did.
- Set SC_Signal.CoderInfo.StorageClass to be 'Auto'.
Signal name must resolve to Simulink signal object error
12 views (last 30 days)
Show older comments
I get the following error,
Outport block 'A' requires an explicit signal buffer to ensure correct initialization of subsystem 'B' output port 1. However, Simulink will not be able to associate a non-auto storage class from the source block 'C' output port 1 with such a buffer. One or more of the following reasons necessitates the buffer: (1) Outport is driven by a block with non-overwritable output such as a Ground, Constant, or a Stateflow block; (2) Outport is connected to an input of a Merge block; or (3) Outport shares the same signal source with another Outport nested within the current subsystem but having an explicit initial output value of its own; or (4) Outport shares the same signal source with another Outport in the same subsystem having an explicit initial output value of its own. For any of these reasons, consider inserting a Signal Conversion block before the Outport block and moving the storage class specification to the output of this inserted block. Alternatively, for reason (4), consider modifying the model to pass the signal with non-auto storage class through a separate Outport.
When I uncheck the 'Signal name must resolve to Simulink signal object' for the signal SC_*** the error goes away. How can I fix this error ?
0 Comments
Accepted Answer
Fangjun Jiang
on 27 Mar 2024
There are other ways like those mentioned in the message. It depends on the need.
SC_Signal=Simulink.Signal
SC_Signal.CoderInfo.StorageClass
0 Comments
More Answers (0)
See Also
Categories
Find more on Simulink Functions 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!