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

2 次查看(过去 30 天)
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
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.

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by