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

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

Answers (1)

Siriniharika Katukam
Siriniharika Katukam on 24 Feb 2020
Hi
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!

Categories

Find more on Configure and View Diagnostics in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!