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 Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by