Error using horzcat,Dimensions of matrices being concatenated are not consistent

4 ビュー (過去 30 日間)
I am trying to build a plant model and I am seeing the error "Error using horzcat,Dimensions of matrices being concatenated are not consistent" but command window doesn't show a path where the error is? is the anyway we can find the location. I ran the simulink model and it is running fine without any errors.
Thanks in advance.
  1 件のコメント
Sindar 2020 年 2 月 21 日
It's possible the error is in the command-line code


回答 (1 件)

Siriniharika Katukam
Siriniharika Katukam 2020 年 2 月 24 日
I am assuming that your plant model has no link with MATLAB. If you have any error with your model, that will be visible in the diagnostic viewer. Since your model runs without any error, it might be a problem with some file in MATLAB. Please make sure of the MATLAB scripts if any, associated with your model.
Hope this helps!


Find more on Configure and View Diagnostics 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!

Translated by