MultiTasking support in Simulink for Lego Mindstorms NXT 2.0 target?

1 visualización (últimos 30 días)
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?

Respuesta aceptada

Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer el 29 de Ag. de 2013
No, sorry. This feature only supports SingleTasking.
  1 comentario
Stefan
Stefan el 29 de Ag. de 2013
Ok, thanks for the fast answer.
I think this option should be disabled then or throw a proper error message.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre LEGO MINDSTORMS EV3 Hardware en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by