| Writing S-Functions | ![]() |
| Introduction |
Overview of SimStruct macros and functions. |
| SimStruct Macros and Functions Listed by Usage |
SimStruct functions listed by usage. |
| Function Reference |
Descriptions of the SimStruct macros and functions. |
Introduction
Simulink provides a set of functions for accessing the fields of an S-function's simulation data structure (SimStruct). S-function callback methods use these functions to store and retrieve information about an S-function.
This reference describes the syntax and usage of each SimStruct or function. The descriptions appear alphabetically by name to facilitate location of a particular function. This section also provides listings of functions by usage to speed location of macros and functions for specific purposes, such as implementing data type support.
| mdlZeroCrossings | Language Support | ![]() |
© 1994-2005 The MathWorks, Inc.