I kept on getting error that says "Error in port widths or dimensions. 'Output Port 1' of 'simulink_controller/Sum2' is a [2x2] matrix."
2 views (last 30 days)
Show older comments
How can I solve the mentioned error? I couldn't figure out as I am new to simulink.
Thank you.
3 Comments
Answers (1)
Walter Roberson
on 30 May 2020
Pass the output of the Sum2 block through a Selector block https://www.mathworks.com/help/simulink/slref/selector.html
See Also
Categories
Find more on Multicore Processor Targets in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!