|Compute the signals that this block emits|
|Specify time of the next sample time hit|
|Update a block's states|
|Compute the C MEX S-function's derivatives|
|Initialize the state vectors of this C MEX S-function|
|Perform any actions required at termination of the simulation|
How to handle errors in a C S-function.