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 Center 和 File 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!