Write Callback Methods

Writing an S-function basically involves creating implementations of the callback functions that the Simulink® engine invokes during a simulation. For guidelines on implementing a particular callback, see the documentation for the callback. For information on using callbacks to implement specific block features, such as parameters or sample times, see Implement Block Features.

Was this topic helpful?