[英]Octave to Matlab, Error using ==> vertcat, CAT arguments dimensions are not consistent
I've a trouble rarely, because I'm work whit octave It's works, but when I try to run in Matlab I get the mistake: 我很少遇到麻烦,因为我工作的频率是八度,但是有效,但是当我尝试在Matlab中运行时,我得到了错误:
The expression on this line will generate an error when executed. The error will be: Error using ==> vertcat
CAT arguments dimensions are not consistent.
??? Error using ==> encuentraPares at 15
Error using ==> vertcat
CAT arguments dimensions are not
consistent.
The code that get the problem is: 遇到问题的代码是:
matrizJugadas = [
'1' '2' '3' ;
'4' '5' '6' ;
'7' '8' '9' ;
'10' '11' '12'
];
what it's the trouble? 有什么麻烦吗?
Thanks!!. 谢谢!!。
This is 6 elements wide: 这是6个元素:
[ '10' '11' '12' ]
It's equivalent to 相当于
'101112'
and also 并且
[ '1' '0' '1' '1' '1' '2' ]
but this is only 3 elements wide: 但这只有3个元素宽:
[ '1' '2' '3' ]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.