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

Respuestas (1)

Star Strider
Star Strider el 12 de Oct. de 2016
You should get only one result from:
which aeronew -all
If you get more than one, that may point you to the problem.

Categorías

Más información sobre Fourier Analysis and Filtering en Centro de ayuda y File Exchange.

Preguntada:

el 12 de Oct. de 2016

Respondida:

el 12 de Oct. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by