Writing S-Functions Previous page   Next Page

Example of a Time-Varying Continuous Transfer Function

The S-function stvctf is an example of a time-varying continuous transfer function. It demonstrates how to work with the solvers so that the simulation maintains consistency, which means that the block maintains smooth and consistent signals for the integrators although the equations that are being integrated are changing.

matlabroot/simulink/src/stvctf.c


Previous page  Example of a Zero Crossing S-Function S-Function Callback Methods Next page

© 1994-2005 The MathWorks, Inc.