Filter löschen
Filter löschen

Call to function with multiple outputs

8 Ansichten (letzte 30 Tage)
Saeid
Saeid am 26 Mai 2020
Beantwortet: Stephen23 am 26 Mai 2020
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?

Akzeptierte Antwort

Stephen23
Stephen23 am 26 Mai 2020

Weitere Antworten (0)

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by