Short question: Functions with multiple outputs
古いコメントを表示
Hi
I have seen two formalism for functions with more then one output:
function [output1, output2] = functionname(input)
or the same with the outputs not being separated by a coma:
function [output1 output2] = functionname(input)
what's the difference?
Thanks
採用された回答
その他の回答 (2 件)
Rick Rosson
2013 年 1 月 11 日
1 投票
No difference, but first approach is preferred.
カテゴリ
ヘルプ センター および File Exchange で Embedded Coder についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!