Using Simulink Previous page   Next Page

Model Methods

In addition to block methods, Simulink also provides a set of methods that compute the model's properties and its outputs. Simulink similarly invokes these methods during simulation to determine a model's properties and its outputs. The model methods generally perform their tasks by invoking block methods of the same type. For example, the model Outputs method invokes the Outputs methods of the blocks that it contains in the order specified by the model to compute its outputs. The model Derivatives method similarly invokes the Derivatives methods of the blocks that it contains to determine the derivatives of its states.


Previous page  Systems and Subsystems Simulating Dynamic Systems Next page

© 1994-2005 The MathWorks, Inc.