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".

 채택된 답변

Image Analyst
Image Analyst 2014년 7월 26일

0 개 추천

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

댓글 수: 4

Tim
Tim 2014년 7월 26일
Yes, it shows Image processing toolbox ver. 9.0.
Image Analyst
Image Analyst 2014년 7월 26일
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.
Tim
Tim 2014년 7월 28일
Matlab problem when using 32-bit R2014a in 64-bit Windows.
Thanks,
Tim
Image Analyst
Image Analyst 2014년 7월 28일
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.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Image Filtering and Enhancement에 대해 자세히 알아보기

태그

질문:

Tim
2014년 7월 25일

댓글:

2014년 7월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by