Inferred size ('[1 13]') for data ***** (#32) does not match back propagated size ('[13]') from Simulink.
57 ビュー (過去 30 日間)
古いコメントを表示
Hi, I am using embedded Matlab function block in Simulink. Function returns the row vector from input matrix (NxN).
function y=RowVector(x)
y =(x(1,:));
end
Following error is received: Inferred size ('[1 13]') for data *** (#32) does not match back propagated size ('[13]') from Simulink.
Can you help me in resolving this error? Regards Swapnil
1 件のコメント
回答 (4 件)
Shailesh Raturi
2016 年 9 月 2 日
hello. step 1- click right on Matlab function and go to Explore. step 2 - there click on y, right side in general there will be size block. there is -1 written step 3- change that to [1 3] you will no get now no error njoy!!
5 件のコメント
参考
カテゴリ
Help Center および File Exchange で Naming Conventions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!