| Writing S-Functions | ![]() |
| Introduction |
Overview of writing a C S-function. |
| Building S-Functions Automatically |
How to use the S-Function Builder to generate S-functions automatically from specifications that you supply. |
| S-Function Builder Dialog Box |
Describes the S-Function Builder dialog box |
| Example of a Basic C MEX S-Function |
Illustrates the code needed to create a C S-function. |
| Templates for C S-Functions |
Describes code templates that you can use as startingpoints for writing your own C S-functions. |
| How Simulink Interacts with C S-Functions |
Describes how Simulink interacts with a C S-function. This is information that you need to know in order to create and debug your own C S-functions. |
| Writing Callback Methods |
How to write methods that Simulink calls as it executes your S-function. |
| Converting Level 1 C MEX S-Functions to Level 2 |
How to convert S-functions written for earlier releases of Simulink to work with the current version. |
| Processing S-Function Parameters | Introduction | ![]() |
© 1994-2005 The MathWorks, Inc.