How do I obtain the inherited sampling rate of a discrete Simulink block from the MATLAB Command line?
I would like to use the sampling rate of a discrete Simulink block in calculations within a masked subsystem. The sampling rate of this block is -1 (i.e. inherited sample rate). How can I obtain the actual inherited sample rate of this block from the Command line (e.g 0.0025 instead of -1)?
Best Answer