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

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!!!

Answers (0)

Categories

Find more on Block and Blockset Authoring in Help Center and File Exchange

Products

Asked:

on 3 Apr 2013

Community Treasure Hunt

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

Start Hunting!