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 についてさらに検索

タグ

質問済み:

2017 年 11 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by