| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink |
| Contents | Index |
| Learn more about Simulink |
Every user-written S-function must implement a set of methods, called callback methods or simply callbacks, that the Simulink engine invokes when simulating a model that contains the S-function. Some callback methods are optional. The engine invokes an optional callback only if the S-function defines the callback. This section describes the purpose and syntax of all callback methods that an S-function can implement. In each case, the documentation for a callback method indicates whether it is required or optional. For a list of required callback methods, see Callback Methods That an S-Function Must Implement.
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z![]() | C MEX S-Function Examples | mdlCheckParameters | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |