Error while designing MPC controller where output of vehicle body block is using as measured output in MPC
9 views (last 30 days)
Show older comments
Sagar Kumar
on 20 Apr 2020
Answered: Emmanouil Tzorakoleftherakis
on 21 Apr 2020
I keep getting error while designing MPC where i am using output of vehicle body block output as measured output in MPC. Could anyone tell me what am doing wrong. The error statements is "Error in port widths or dimensions. The signal connected to the "mo" port of the "project/MPC Controller" block must be a row or column vector signal with 2 elements."
0 Comments
Accepted Answer
Emmanouil Tzorakoleftherakis
on 21 Apr 2020
Seems the error is self-explanatory - have you checked the dimensions of the signal you are connecting to the 'mo' port of the MPC block?
0 Comments
More Answers (0)
See Also
Categories
Find more on Controller Creation 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!