【发布时间】:2017-04-17 17:21:14
【问题描述】:
我在 Windows 8 上使用 Matlab 2011a,我正在尝试运行使用 regionprops 函数的代码。这个函数是未定义的,在 Matlab 2011 中没有帮助,而在 R2016a 中,帮助说它是在 R2006a 之前引入的。
【问题讨论】:
-
regionprops是图像处理工具箱的一部分,license('test', 'image_toolbox')在你的机器上说什么? -
license('test', 'image_toolbox') ans = 1 -
和
which regionprops? -
无输入:
regionprops - ??? Undefined function or variable 'regionprops'.有输入:stats = regionprops(seg, 'PixelIdxList', 'Area'); ??? Undefined function or method 'regionprops' for input arguments of type 'double'. -
它应该根据R2011a documentation 工作。你可以使用这个工具箱的其他功能吗?