Simulink Control Design™ - MathWorks

(Tuis.) #1

IF = 'BackwardEuler';
DF = 'ForwardEuler';
setBlockRateConversion(st,'C1',IF,DF);


Input Arguments


st — Interface for tuning control systems modeled in Simulink
slTuner interface


Interface for tuning control systems modeled in Simulink, specified as an slTuner
interface.


blk — Block
character vector | string


Block in the list of tuned blocks for st, specified as a character vector or string. You can
specify the full block path or any portion of the block path that uniquely identifies the
block among the other tuned blocks of st.


Example: blk = 'scdcascade/C1', blk = "C1"


method — Rate conversion method
'zoh' | 'foh' | 'tustin' | 'matched'


Rate conversion method associated with blk, specified as one of the following:



  • 'zoh' — Zero-order hold on the inputs. This method is the default rate-conversion
    method for most dynamic blocks.

  • 'foh' — Linear interpolation of inputs.

  • 'tustin' — Bilinear (Tustin) approximation. Optionally, specify a prewarp frequency
    with the pwf argument for better frequency-domain matching between the original
    and rate-converted dynamics near the prewarp frequency.

  • 'matched' — Matched pole-zero method. This method is available for SISO blocks
    only.


For more detailed information about these rate-conversion methods, see “Continuous-
Discrete Conversion Methods” (Control System Toolbox).


pwf — Prewarp frequency for Tustin method
positive scalar


setBlockRateConversion
Free download pdf