Getting warning about IPTCHECKNARGIN when using IMLINE after 2012a upgrade
显示 更早的评论
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!
采纳的回答
更多回答(1 个)
Craig Szymanski
2013-2-14
0 个投票
3 个评论
Sean de Wolski
2013-2-14
@Craig, the usual trifecta is:
restoredefaultpath;
rehash toolboxcache;
savepath
What is the output from:
which -all imline
? This may point to another clue.
Craig Szymanski
2013-2-18
Image Analyst
2013-2-18
You probably ran the older version after you installed and ran the newer version. Maybe that's why your path got changed.
类别
在 帮助中心 和 File Exchange 中查找有关 Scripts 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!