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!