Hello friends, when I run the model file I get the following error:
Afficher commentaires plus anciens
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 commentaire
Kaustubha Govind
le 3 Avr 2013
How is the flag=3 case defined in your S-function?
Réponses (0)
Catégories
En savoir plus sur Block and Blockset Authoring dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!