Function with Multiple Outputs

조회 수: 3 (최근 30일)
Abdelwahab Fawzy
Abdelwahab Fawzy 2015년 11월 13일
답변: James Tursa 2015년 11월 13일
if i have a function with two outputs , for example :
[m n]=fun(x)
how can i get (n) only without calling (m) first ? ================================================ if i want to get m [m]=fun(x)
but what about getting (n) only ?

채택된 답변

James Tursa
James Tursa 2015년 11월 13일
You can call it like this:
[~,n] = fun(x);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by