How to find dimension problems?
2 views (last 30 days)
Show older comments
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!
2 Comments
Answers (1)
Krish Desai
on 25 Mar 2016
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 Comments
See Also
Categories
Find more on Block and Blockset Authoring in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!