Call to function with multiple outputs

Considering the function with multiple outputs of different array sizes
[y1 y2 y3 y4]=f(x)
sometimes inside a program I just need a certain output value/array, e.g. y2 when calling the function. Is there a way, for example by giving an index to the output array and only getting this output?

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCell Arrays についてさらに検索

質問済み:

2020 年 5 月 26 日

回答済み:

2020 年 5 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by