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

조회 수: 7 (최근 30일)
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."

채택된 답변

Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2020년 4월 21일
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개)

카테고리

Help CenterFile Exchange에서 Controller Creation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by