"Multitasking mode needs explicitely set sample times" error during CANoe build process
18 views (last 30 days)
Show older comments
YIFENG JI
on 28 Jan 2021
Edited: Stefanie Schwarz
on 25 Apr 2024
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.
0 Comments
Accepted Answer
Madhav Kumar Akula
on 11 Nov 2021
Uncheck the option
"Treat each discrete rate as a seperate task"
0 Comments
See Also
Categories
Find more on MATLAB Support for MinGW-w64 C/C++ Compiler 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!