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

回答(1 个)

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.

类别

在 帮助中心 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

产品

版本

R2023a

提问:

2024-8-15

回答:

2024-8-15

Community Treasure Hunt

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

Start Hunting!

Translated by