Can't find this function - RegionPropertiesALX
Show older comments
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 Comment
Image Analyst
on 9 Jul 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.
Answers (1)
Walter Roberson
on 12 Jul 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 Comments
JM
on 13 Jul 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
on 13 Jul 2011
Does "which" show a path similar to the above?
I do not have the R2011b pre-release to test with.
JM
on 19 Jul 2011
Yeah, the path looks right. I'm still trying to figure out the error.
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!