Clear Filters
Clear Filters

Why i am getting Error using Phase1/UIAxesButtonDown Too many input arguments.

14 views (last 30 days)
Why i am getting Error using Phase1/UIAxesButtonDown Too many input arguments.

Answers (1)

Voss
Voss on 15 Aug 2024 at 14:00
Sim takes 21 input arguments, but you are passing 22.
Judging by their names, T_endD is the extra one. So, if T_endD really should not be used in Sim, remove it from the list of arguments you pass to Sim. Alternatively, if T_endD should be used in Sim, include T_endD at the appropriate position in the list of inputs in the definition of Sim and modify Sim to do the right thing with T_endD.

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!