Hello friends, when I run the model file I get the following error:
1 view (last 30 days)
Show older comments
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!!!
1 Comment
Answers (0)
See Also
Categories
Find more on Model, Block, and Port Callbacks in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!