I would like to show the signal structure created in a bus selector or bus creator block with a command similar to GET_PARAM.
As long as the signal names have not been propagated, these names can be obtained by using GET_PARAM with the 'InputSignalNames' property on the Bus Creator block. When the signal names have been propagated, the output is as follows, using the busdemo demonstration model included with Simulink:
busdemo;get_param('busdemo/Bus Creator','inputSignalNames')
The output is the following:
'<bus1>' 'bus2<Clock, Pulse, Sine>'
I would like to automatically show the content of bus1.
Best Answer