embedded matlab function in simulink

Hey, I can not use the command "hold on" in an embedded matlab function in simulink. The compiler says: "Command-duality is not supported". Why is that and what can I do?

Respuestas (1)

Ryan Livingston
Ryan Livingston el 6 de Mayo de 2013
Use
hold('on')
Command duality means using the non-function-style:
hold on

Categorías

Más información sobre Simulink Coder en Centro de ayuda y File Exchange.

Preguntada:

el 27 de Abr. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by