Can't find this function - RegionPropertiesALX
이전 댓글 표시
While trying to run an open source camera tracking program in Matlab, I get this error:
??? Error using ==> RegionPropertiesALX
Error Message: Internal Error: Dynamic cast faild
Error in ==> regionprops at 17
stats = RegionPropertiesALX(varargin{:});
I can find regionprops in the image toolbox, but regionprops just calls RegionPropertiesALX, which I can't find. Am I not supposed to be able to find this function, or is it missing and this is causing the error? Does anyone know how to fix a dynamic cast error?
Thanks, Jessica
댓글 수: 1
Image Analyst
2011년 7월 9일
Sounds like your installation of the Image Processing Toolbox may be corrupted because it should contain everything you need - everything that included functions such as regionprops needs. Call the Mathworks for more help. Should be free since it seems to be an installation issue to me.
답변 (1개)
Walter Roberson
2011년 7월 12일
In 2008b, regionprops.m has far more than 17 lines of help information and so line 17 is much too early in the file to be executable code.
Please try
>> which -all regionprops
The path shown should end in something like
toolbox/images/images/regionprops.m
댓글 수: 3
JM
2011년 7월 13일
Thanks - I have MATLAB version R2011b, and regionprops is a function with only one line of executable code, which is
stats = RegionPropertiesALX(varargin{:});
So I think something is wrong with RegionPropertiesALX. But it's a .mexw32 file and I don't know how to fix it.
Walter Roberson
2011년 7월 13일
Does "which" show a path similar to the above?
I do not have the R2011b pre-release to test with.
JM
2011년 7월 19일
Yeah, the path looks right. I'm still trying to figure out the error.
카테고리
도움말 센터 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!