Error using ==> vertcat CAT arguments dimensions are not consistent.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
abhijit kulkarni
am 16 Dez. 2013
Kommentiert: Matt J
am 11 Mai 2018
I am defining A matrix in State Space Blockas;
[0 1.0 0 0 0 0; -4.7059 -0.0882 0 0 1.3588 0;
0 0 0 1.0 0 0 ; 0 0 0 -5.0 1.6170 4.5 ;
0 0 0 0 -0.9091 0;0 0 0 0 0 -1.0];
Note: This is a continuous straight entry.
I get this error:
Error evaluating parameter 'A' in 'Linear_PID_MODEL/Subsystem/State-Space': Error using ==> vertcat CAT arguments dimensions are not consistent.
Please Help
0 Kommentare
Akzeptierte Antwort
Matt J
am 16 Dez. 2013
Somewhere, you are doing something like this:
>> [rand(2); rand(3)]
Error using vertcat
Dimensions of matrices being concatenated are not consistent.
4 Kommentare
Matt J
am 11 Mai 2018
Stop the code at the line where the error is occuring (e.g. using DBSTOP). Then check the sizes of the matrices being concatenated at that line.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!