Skip to Main Content Skip to Search
Product Documentation

dpoly - Display transfer function on masked subsystem icon

Syntax

dpoly(num, den)
dpoly(num, den, 'character')

Description

dpoly(num, den) displays the transfer function whose numerator is num and denominator is den.

dpoly(num, den, 'character') specifies the name of the transfer function independent variable. The default is s.

When Simulink draws the block icon, the initialization commands execute and the resulting equation appears on the block icon, as in the following examples:

If the parameters are not defined or have no values when you create the icon, Simulink software displays three question marks (? ? ?) in the icon. When you define parameter values in the Mask Settings dialog box, Simulink software evaluates the transfer function and displays the resulting equation in the icon.

See Also

disp | droots | port_label | text

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS