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

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
Walter Roberson 2011년 7월 12일

0 개 추천

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
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.
Does "which" show a path similar to the above?
I do not have the R2011b pre-release to test with.
JM
JM 2011년 7월 19일
Yeah, the path looks right. I'm still trying to figure out the error.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

질문:

2011년 7월 8일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by