I understand that the Programmatic (command-line) way to select a signal output of a WaveFormGenerator is being asked for.
It is possible to select signals before the simulation starts and after a simulation has ended but not during the time when simulation is running.
By using the 'get_param' one can change and select signals as required. Following is a code snippet on how to do so:
>> WaveFormBlk = gcb
>> get_param(WaveFormBlk,'selectedSignal')
>> set_param(WaveFormBlk,'selectedSignal','4')
Hope this helps!
Best Answer