Matlab error
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello, I am new to simulink and was given a non-linear aircraft model to linearize. However i cannot run it as a multitude of error crop up . I would be ever grateful, if you could help me with them. The first bunch of errors are when i run the initailization file , that initalizes all the values . They seem to be related to the trim function being used . I have cut-copied some of the errors and the code below,
Error using ==> trim>trim_alg at 163
The specified number of model inputs (4) does not match actual number (0) of inputs The code ----
"% force all rates in the model to have a hit
feval(fcn, [], [], [], 'all');
y = feval(fcn, t, x, u, 'outputs'); % Error line 163
"
0 Commenti
Risposte (1)
Kaustubha Govind
il 22 Mag 2012
What is the value of 'u' that you pass in at line 163? It appears the issue is that you are passing in an empty array (ie. 0 inputs), when 4 inputs are expected by the model.
0 Commenti
Vedere anche
Categorie
Scopri di più su LaTeX in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!