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?

回答 (1 件)

Ryan Livingston
Ryan Livingston 2013 年 5 月 6 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeSimulink Coder についてさらに検索

質問済み:

2013 年 4 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by