"Not enough input arguments." with PLC Coder and the simplest model ever.

Since 2016b I can't code my model (2 ANDed Bool variables) in Simulink. The error message says "Not enough input arguments." How can I solve this?

回答 (1 件)

Bill Chou
Bill Chou 2017 年 3 月 9 日

0 投票

Try creating a subsystem with two inputs and one output, and then place the Bool variables outside the subsystem. You should be able to generate code from the subsystem.

カテゴリ

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

タグ

質問済み:

M
M
2017 年 3 月 8 日

回答済み:

2017 年 3 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by