Why do I receive a "cannot use set default dimension function" error when using the Matrix Concatenate block in a subsystem in Simulink 6.5 (R2006b)?
12 次查看(过去 30 天)
显示 更早的评论
I receive the following error message when using the Matrix Concatenate block:
cannot use 'set default dimension' function
However, when I move the problematic subsystem out of the larger model into its own standalone model, it works fine.
采纳的回答
MathWorks Support Team
2011-11-4
The reason you receive the error is because one or more of the input signals to the "Matrix Concatenate" block do(es) not have defined dimensions.
To work around this issue, you can explicitly define the dimensions of the signal(s) by using the Signal Specification block in line with the signal(s). For more information on the Signal Specification block, please refer to the documentation for the same, by typing the following on MATLAB command window.
doc signalspecification
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!