copy uipanel content to clipboard
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (2)
Richard Quist
el 3 de Dic. de 2012
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 comentarios
Walter Roberson
el 9 de Dic. de 2012
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
el 3 de Dic. de 2012
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 comentarios
Ver también
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!