getting an error that attempt to run script as a function? what should be done to rectify?
2 次查看(过去 30 天)
显示 更早的评论
Attempt to execute SCRIPT get_im_label as a function: G:\pro\letrist-master\helpfun\get_im_label.m
Error in demo_CURET (line 25) imageDatasetLabel = get_im_label(imdir); This is the error i am getting. how to modify? my code is attached here.
0 个评论
采纳的回答
madhan ravi
2018-10-12
编辑:madhan ravi
2018-10-12
You have saved get_im_label as a script instead of a function look into the error message as it clearly states the error.
Usage:
get_im_label(imdir)
2 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!