Getting warning about IPTCHECKNARGIN when using IMLINE after 2012a upgrade
2 views (last 30 days)
Show older comments
I created a gui using imline for selecting range on some figures. It works great and still does. After I updated to 2012a, however, I get multiple warnings whenever I call IMLINE, indicating that IPTCHECKNARGIN will be removed from a future version of Matlab.
I know I can silence these warnings simply by using WARNING but I'm worried that my implementation of IMLINE will stop working on the next upgrade. Is IMLINE upgradable/replaceable without writing my own version (NOT fun at all!)? I'm also a bit confused that Mathworks apparently didn't bother to update their own code.
For what it's worth, calling IMLINE directly from the command line causes the same warning.
Thanks for any help!
0 Comments
Accepted Answer
Steve Eddins
on 5 Feb 2013
We did bother to update our own code. imline in R2012a does not contain any calls to iptchecknargin.
Perhaps you have an old (pre-R2012a) version of the Image Processing Toolbox on your path?
0 Comments
More Answers (1)
Craig Szymanski
on 14 Feb 2013
3 Comments
Image Analyst
on 18 Feb 2013
You probably ran the older version after you installed and ran the newer version. Maybe that's why your path got changed.
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!