Clear Filters
Clear Filters

Does 'Detect task overruns' in Raspberry Pi have present a bug when generating C++ code?

1 view (last 30 days)
I'm working with Raspberry Pi and generating code from Simulink with 'Detect task overruns' enabled. If I select C programming language, the build process runs OK. If I select C++, the following error happens:
ert_main.cpp: In function void testForRateOverrun(int):
ert_main.cpp:85:25: error: reportOverrunwas not declared in this scope
reportOverrun(rateID);
^
Has someone found this same problem? If I de-select 'Detect task overruns', with C++, the build process run smoothly.
Regards, Ricardo.

Answers (0)

Categories

Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!