Using Simulink    

Displaying a Transfer Function on the Block Icon

To display a transfer function equation in the block icon, enter the following command in the Drawing commands field.

num and den are vectors of transfer function numerator and denominator coefficients, typically defined using initialization commands. The equation is expressed in terms of the specified character. The default is s. When the icon is drawn, the initialization commands are executed and the resulting equation is drawn on the icon:

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.


 Displaying Images on Masks Controlling Icon Properties