Hello friends, when I run the model file I get the following error:

1 次查看(过去 30 天)
Error in 'mavsim_chap10_model/Guidance Model/S-Function' while executing MATLAB S-function 'guidance_model', flag = 3 (output), at time 0.0.
Caused by: Not enough input arguments.
The S function is guidance_model(t,x,u,flag,P); In the model diagram I have the input to the S function bloack as as a 3x1 vector from another subsystem of the model. Please help!!!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Model, Block, and Port Callbacks 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by