Simulink Support Package for Arduino: Custom Block Execution Rate

Hello, I’m working on building a custom CAN receive block using the IO Device Builder App for a program I wish to deploy on Arduino hardware. My motivation is to use the CAN receive method instead of using the built-in interrupt method. My question is: does the void loop (void step function) run at the rate of the model in which it’s contained, or does it run as fast as possible and continuously like a normal void loop would if written in C++?

 Accepted Answer

Based on testing, I have determined the loop runs at the rate of its parent atomic system.

More Answers (0)

Categories

Products

Release

R2024a

Asked:

on 8 Dec 2024

Answered:

on 28 Dec 2024

Community Treasure Hunt

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

Start Hunting!