error :Too many output arguments

I am getting an error as "too many output arguments" even though the function has declared for giving that given number of outputs
[D(1) ,alpha_n(1),M(1),cl(1)]= aeronew(ay(1),az(1),ht(1),v(1),time(1),alpha,M,cl); (this is the function call)
function [D,alpha_new, mach_new, cl_new] = aeronew(ay,az,ht,velocity,time,alpha,M,cl,i)(this is the function defenition

Réponses (1)

Star Strider
Star Strider le 12 Oct 2016

0 votes

You should get only one result from:
which aeronew -all
If you get more than one, that may point you to the problem.

Catégories

En savoir plus sur Fourier Analysis and Filtering dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by