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

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: ‘reportOverrun’ was 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.

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Raspberry Pi Hardware 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by