Writing S-Functions    

Compiling C S-Functions

S-functions can be compiled in one of three modes identified by the presence of one of the following defines:


  The SimStruct How Simulink Interacts with C S-Functions