MATLAB: Do I get an error about “hidden signal specification block” and signal object properties in Simulink

simulink

I have a large model with a bus signal being created from subsystem outports. I see an error about "hidden signal specification block" and signal object properties set incorrectly but I cannot find this block since it is hidden. The signals coming in to the bus have signal properties from a signal object created in a MATLAB Script.

Best Answer

In this case, the hidden block is not editable, and the error refers to the MATLAB script that defines the signal properties for that signal object being created. In Simulink, one of the signals coming into the bus is specified by this object and the object has old, incorrect signal properties. Check the MATLAB script to make sure the signal's data type matches what the Simulink bus has defined as input.