From: Justin on
In Simulink, I would like to read output of a block during execution of the simulation.
For a 'Gain' block at top level (model xpcosc.mdl), I can read/write block parameter value:
set_param([gcs '/Gain'],'Gain', '100^2 *5')
get_param([gcs '/Gain'],'Gain')
This works in external mode too.

Does exist an equivalent "get_signal" function?
Thank you for your help (or at least reading that message:)), Justin