How do we use interrupts on Arduino Due with Simulink?

Hello, I am currently programming an Arduino Due as target hardware with Matlab simulink, and would like to know a way to use asynchronous interrupts in my program. No arduino bloc of the support package allow such a thing... (Important to notice that I am speaking about the arduino due and not about the arduino mega, which is the focus of all the tutorials found on internet... The arduino due has a ARM controller).
Rgds Kevin

Answers (1)

Dear Kevin,
you can check out that entry on the FileExchange LINK. You can use the template for creating custom S-function blocks.
Cheers Christoph

1 Comment

Hey Christoph,
I think the DUE is not supported by that package.
Best regards

Sign in to comment.

Categories

Asked:

on 25 Aug 2015

Commented:

on 5 Jan 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!