Is it possible to obtain only the second output from function file , without assigning a variable to the first output?
Show older comments
Answers (1)
Walter Roberson
on 4 Nov 2017
In R2009b or later, you can use
[~, second_output] = function_call(...)
However, there is no way to get at this without an assignment. It is not possible to say
SecondOutput(function_call(...))
1 Comment
QUANG HUNG LE
on 4 Nov 2017
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!