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

Answers (1)

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

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Asked:

on 12 Oct 2016

Answered:

on 12 Oct 2016

Community Treasure Hunt

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

Start Hunting!