MATLAB Answers

Forever loop in Simulink Embedded Coder

4 views (last 30 days)
Jay Chuck
Jay Chuck on 21 Sep 2014
I'm curious to know how to implement a "forever loop" in Simulink's C2000 Embedded Coder. In CCS C code in would be a: for(;;){ enter all code here }.
My ultimate objective is to write code/functions using the MATLAB function block and have it run continuously on the C2000. I've played around with the "Idle Task" block from the C2000 without much luck.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by