Generate code for Discrete Varying PID Simulink Block in subsystem

1 view (last 30 days)
Using the Simulink Coder App, I'm trying to generate code for a subsystem that includes the Discrete Varying PID controller. I keep recieving the same error of "too many output arguments." Is this becuase the varying PID simulink block? Or could there be another issue?
Below is what's in the subsystem.
  2 Comments
Gautam
Gautam on 29 May 2020
The PID block is not the issue here since it is supported for codegen(I tried it out and it built code without an issue). Maybe something down the line in the model?

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!