drawrectangle not a defined function?
5 次查看(过去 30 天)
显示 更早的评论
I've been programming in App Designer and I want to have a ROI over some axes that would return its position. However, for some reason drawrectangle is undefined as a function. When I look up the documentation for it through matlab it cannot find the function either. A lot of answers on different posts say it might be the path but the MATLAB folder is still in my path. Please help.
ax = axes(app.UIFigure);
drawrectangle(ax); %Undefined function 'drawrectangle' for input arguments of type 'matlab.graphics.axis.Axes'.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!