"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 个)

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 Exchange 中查找有关 Simulink 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