| Simulink Reference | ![]() |
Display a transfer function on the icon of a masked subsystem.
Syntax
Description
dpoly(num, den) displays the transfer function whose numerator is num and denominator is den.
poly(num, den, 'character') allows you to specify the name of the transfer function's independent variable. The default is s.
When the icon is drawn, the initialization commands are executed and the resulting equation is drawn on the icon:
You can add a fourth argument ('z' or 'z-') to express the equation in terms of z or 1/z.
If the parameters are not defined or have no values when you create the icon, Simulink displays three question marks (? ? ?) in the icon. When the parameter values are entered in the mask dialog box, Simulink evaluates the transfer function and displays the resulting equation in the icon.
See Also
| disp | fprintf | ![]() |