How to find dimension problems?
2 次查看(过去 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 中查找有关 Block and Blockset Authoring 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!