unwanted variable can I not assign
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi, some function in matlab like "size" has options to give 2 outputs like "[a1,a2]=size(x)". But sometimes I don't want to waste space for another variable, is it possible to not do that?
댓글 수: 0
채택된 답변
Jakub Mrowka
2016년 10월 6일
편집: Jakub Mrowka
2016년 10월 6일
If you don't want every answer from function just type "~" instead of variable.
Example:
[~,a2]=size(x)
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!