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

1 view (last 30 days)
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?

Answers (1)

Bill Chou
Bill Chou on 9 Mar 2017
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.

Categories

Find more on Simulink PLC Coder in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!