How do we use interrupts on Arduino Due with Simulink?

2 次查看(过去 30 天)
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

回答(1 个)

Christoph Hahn
Christoph Hahn 2016-10-4
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

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by