Property validation for a vector
조회 수: 1 (최근 30일)
이전 댓글 표시
How can I check that the property of a class is a vector?
This is what I have but it doesn't work:
properties
Col vector
end
댓글 수: 0
채택된 답변
Ameer Hamza
2020년 11월 27일
You can use mustBeVector validation function.
properties
Col {mustBeVector}
end
Functions are listed here: https://www.mathworks.com/help/matlab/matlab_oop/property-validator-functions.html
댓글 수: 4
Ameer Hamza
2020년 11월 28일
Updates are only valid for a single release. You need to upgrade a license to use a new release. Upgrades cannot be applied to current version. You need a fresh installation.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!