I kept on getting error that says "Error in port widths or dimensions. 'Output Port 1' of 'simulink_controller/Sum2' is a [2x2] matrix."
7 次查看(过去 30 天)
显示 更早的评论
How can I solve the mentioned error? I couldn't figure out as I am new to simulink.
Thank you.
3 个评论
回答(1 个)
Walter Roberson
2020-5-30
Pass the output of the Sum2 block through a Selector block https://www.mathworks.com/help/simulink/slref/selector.html
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multicore Processor Targets 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!