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
답변 (1개)
Star Strider
2016년 10월 12일
You should get only one result from:
which aeronew -all
If you get more than one, that may point you to the problem.
카테고리
도움말 센터 및 File Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!