MultiTasking support in Simulink for Lego Mindstorms NXT 2.0 target?

조회 수: 1 (최근 30일)
Hi,
I use the Matlab Simulink R2012b "Run on Target Hardware Feature" to program my Lego Mindstorms NXT 2.0.
nxtOSEK is a multitasking OS, but the generated C Code uses only one task and runs sequentialy.
I would like to have one Task per sampling time.
After changing the tasking mode to MultiTasking, I can't generate code anymore. A message window appears "The model parameters are not configured for the target hardware". If I change back to SingleTasking, it compiles and runs with no problems.
So, is multitasking even supported for the NXT?

채택된 답변

Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer 2013년 8월 29일
No, sorry. This feature only supports SingleTasking.
  댓글 수: 1
Stefan
Stefan 2013년 8월 29일
Ok, thanks for the fast answer.
I think this option should be disabled then or throw a proper error message.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 LEGO MINDSTORMS EV3 Hardware에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by