Why does BW = roipoly fail to compile?

In my application I use the code line: BW = roipoly;
It works in the development environment: Win 7, 2014a - 32bit.
I used to be able to compile and run with no errors with 2013b - 32bit.
Now, when I compile the application with 2014a - 32bit and run, I get the error: "Undefined function roipoly".

 Accepted Answer

When you type ver on the command line, do you see the Image Processing Toolbox listed? If not, you can't use roipoly().

4 Comments

Yes, it shows Image processing toolbox ver. 9.0.
Attach the exact error message - ALL the red text. Don't snip out just a small portion of it like you did. You might also attach your m-file with the paper clip icon if you can. If you can run it, I think it should be compiled, unless you see if listed in the mccexcluded.txt file.
Matlab problem when using 32-bit R2014a in 64-bit Windows.
Thanks,
Tim
Oh yes, that one. I had the same thing, just for a different function. Sorry I didn't remember. I encountered it last March, right after I installed the new R2014a, and reported it to them and they got me the patch soon afterwards.

Sign in to comment.

More Answers (0)

Tags

Asked:

Tim
on 25 Jul 2014

Commented:

on 28 Jul 2014

Community Treasure Hunt

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

Start Hunting!