Error while designing MPC controller where output of vehicle body block is using as measured output in MPC

7 views (last 30 days)
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."

Accepted Answer

Emmanouil Tzorakoleftherakis
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?

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!