copy uipanel content to clipboard
2 次查看(过去 30 天)
显示 更早的评论
Hi,
l have a uipanel containing multiples Axes ...how to copy the content of the uipanel to clipboard ? for now l'm using a snipping tool, not convenient.
tried and searched for Print option, couldn't find anything.
rgds,
Michael
0 个评论
回答(2 个)
Richard Quist
2012-12-3
Have you tried, from the MATLAB command line or within a function or script:
print(fig, '-dmeta')
where fig is the figure that contains your content?
5 个评论
Walter Roberson
2012-12-9
get() the Position of the uipanel and set() it as the Position of the new figure before doing the copyobj(). You might have to temporarily set() the Units of the uipanel to pixels before get()'ing the Position.
Walter Roberson
2012-12-3
Sometimes what has to be done is to create a second figure, copyobj() the graphics into the new figure, and print() or saveas() or export_fig the new figure.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!