| Writing S-Functions | ![]() |
Build Info Pane
Use the Build Info pane to specify options for building the S-function MEX file.
This pane contains the following fields.
Show compile steps
Log each build step in the Compilation diagnostics field.
Create a debuggable MEX-file
Include debug information in the generated MEX-file.
Generate wrapper TLC
Generate a TLC file. You do not need to generate a TLC file if you do not expect the S-function ever to run in accelerated mode or be used in a model from which RTW generates code.
Save code only
Do not build a MEX file from the generated source code.
| Discrete Update Pane | Example of a Basic C MEX S-Function | ![]() |
© 1994-2005 The MathWorks, Inc.