MATLAB: Function-call initiator output in C-mex file for S Function

function-call c mexsimulink

How do I make the output terminal of an S-Function a Function-Call Initiator?
For example as in the async interrupt blocks.

Best Answer

This documentation page shows an example of how to get an S-function to call a function-call subsystem. Please be aware of some limitations documented before trying out.