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 comentario

Image Analyst
Image Analyst el 9 de Jul. de 2011
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.

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 12 de Jul. de 2011
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 comentarios

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

Iniciar sesión para comentar.

Categorías

Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 8 de Jul. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by