Why i am getting Error using Phase1/UIAxesButtonDown Too many input arguments.
Show older comments
Why i am getting Error using Phase1/UIAxesButtonDown Too many input arguments.
Answers (1)
Voss
on 15 Aug 2024
0 votes
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.
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!