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?

Answers (1)

Use
hold('on')
Command duality means using the non-function-style:
hold on

Categories

Find more on Simulink Coder in Help Center and File Exchange

Asked:

on 27 Apr 2013

Community Treasure Hunt

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

Start Hunting!