Standard function poly2mask (and others!) not found even though its directory is in path
3 views (last 30 days)
Show older comments
After evaluating MATLAB under windows I installed R2010b under OS-X Snow Leopard.
A simple program which runs fine under the Windows MATLAB says
"Undefined function or method 'poly2mask' for input arguments of type 'double'."
when the program is run on the Apple Mac MATLAB.
I checked, and the directory containing poly2mask.m IS in the path (the directory is "/Applications/MATLAB_R2010b.app/toolbox/images/images".
What am I missing?
0 Comments
Answers (1)
Walter Roberson
on 17 Mar 2011
Is the image processing toolbox licensed for your system?
Also, try giving the command line prompt,
rehash toolbox; rehash toolboxcache
0 Comments
See Also
Categories
Find more on Startup and Shutdown 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!