WHY IS IT WHEN I RUN THE MODEL, IT IS INVALID AND SHOW ERROR.

조회 수: 1 (최근 30일)
Noor Amira Ilyanie
Noor Amira Ilyanie 2022년 9월 9일
답변: Vinayak 2022년 11월 16일
I keep getting this error when i run the model "Error in port widths or dimensions. 'Output Port 1' of 'dcmotornew260822/MPU6050 IMU Sensor' is a [3x1] matrix.
Component:Simulink | Category:Model error
Error in port widths or dimensions. Invalid dimension has been specified for 'Input Port 1' of 'dcmotornew260822/Analog Filter Design2'."

답변 (1개)

Vinayak
Vinayak 2022년 11월 16일
You receive the following error because the Output does not match what Simulink expects from you.
It is difficult to contemplate the root cause of the issue from just raw images, but to me it looks like the Output of the Arduino block does not seem to be in accordance with what simulink expects.
You may double click each of the signals and get an inherent idea of the dimensions of its respective signals.

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by