embedded matlab function in simulink

1 次查看(过去 30 天)
Roger
Roger 2013-4-27
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?

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by