"Multitasking mode needs explicitely set sample times" error during CANoe build process

I am a new learner.I want to input the sine signal generated by Matlab into CANoe and measure it.I opened a demo file and compiled it according to the following configuration, but an error occurred. I do not know where the sample time is set incorrectly and what modifications are needed. Thank you.
The call to cn_make_rtw_hook, during the entry hook generated the following error:
Multitasking mode needs explicitely set sample times.
The build process will terminate as a result.
Caused by:
Multitasking mode needs explicitely set sample times.

 採用された回答

Madhav Kumar Akula
Madhav Kumar Akula 2021 年 11 月 11 日

2 投票

Uncheck the option
"Treat each discrete rate as a seperate task"

その他の回答 (1 件)

YIFENG JI
YIFENG JI 2021 年 1 月 29 日

0 投票

Can anybody help me?

1 件のコメント

Jian Zhao
Jian Zhao 2023 年 2 月 22 日
you need disable the button "treat each discrete rate as a separate task" in configuration.

サインインしてコメントする。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by