Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/regex/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
matlab中连通区域的包围盒_Matlab_Matlab Guide - Fatal编程技术网

matlab中连通区域的包围盒

matlab中连通区域的包围盒,matlab,matlab-guide,Matlab,Matlab Guide,错误 使用矩形时出错 值必须是4元素向量 detecttext中的错误(第49行) 尝试将其设为行而不是列: rectangle('position',Ibox(:,cnt),'edgecolor','r'); rectangle('position',Ibox(:,cnt),'edgecolor','r'); Ibox(:,cnt).'

错误

使用矩形时出错 值必须是4元素向量

detecttext中的错误(第49行)


尝试将其设为行而不是列:

 rectangle('position',Ibox(:,cnt),'edgecolor','r');
 rectangle('position',Ibox(:,cnt),'edgecolor','r');
Ibox(:,cnt).'