Is it possible to write a function with two different kind of output modes?
1 view (last 30 days)
Show older comments
How to write a function which can be used as y1 = myfunc(), or [y2,z] = myfunc(), but y1 will not be equal to y2!
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Argument Definitions 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!