Interrupt Support

Interrupt handling in custom Simulink® Real-Time™ drivers

Some hardware boards produce interrupts that your custom driver must handle. For more information on handling interrupts in a custom driver, see Use Interrupts in Simulink Real-Time.


PostHook Run after return from interrupt service routine function-call subsystem or after sending wake-up call to model thread
PreHook Run just before the interrupt service routine
Start Run as the last item in mdlStart
Stop Run at the beginning of mdlTerminate

Examples and How To

Was this topic helpful?