embedded matlab function in simulink

2 views (last 30 days)
Roger
Roger on 27 Apr 2013
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)

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

Categories

Find more on Simulink Functions 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!