MATLAB Answers

matrix with 2 rows and 1 column Simulink

3 views (last 30 days)
Robin Kirsch
Robin Kirsch on 20 Jul 2020
Commented: Dinesh Yadav on 22 Jul 2020
Hello,
I am getting this error in Simulink..
Error in port widths or dimensions. The signal ... block must be a matrix signal of 2 rows and 1 columns.
Component:Simulink | Category:Model error
Error in port widths or dimensions. .. is a one dimensional vector with 2 elements.
But is a 2 rows and 1 columns matrix not equal to a one dimensional vector with 2 elements??
It is both 1x2? For example x = [1;1] (this is what I have input for example to get this error).
Cheers

  1 Comment

Dinesh Yadav
Dinesh Yadav on 22 Jul 2020
Can you share the model so we can examine the problem?

Sign in to comment.

Answers (0)

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!