How to find dimension problems?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello,
my sFunction block has to run on a dSPACE simulator. Therefore I have to make sure that all dimensions are set correctly.
Is there a way to check that in Matlab and Simulink?
Thank you very much!
답변 (1개)
Krish Desai
2016년 3월 25일
You could try to use the size function. For example:
A= 1: 5
A= 1 2 3 4 5
size(A)
ans= 1 5
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 General Applications에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!