getscreen
GETSCREEN works just like the MATLAB function getframe, but works on any monitor, not just the primary one. (Getframe gives an error if you use it on a figure displayed on your second monitor) Can also be used to take screenshots from any area of your display, whether or not it is a MATLAB figure.
Syntax is the same as getframe, and can be used to capture entire figures or axes, or a rectangular subarea of these. Can also be called using just a position vector to take a screenshot of that area of your display, regardless of whether it is a MATLAB figure or not.
Uses java.awt.robot to take screenshots, so it requires java.
Citar como
matt dash (2025). getscreen (https://www.mathworks.com/matlabcentral/fileexchange/22031-getscreen), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Graphics > Images > Convert Image Type >
Etiquetas
Agradecimientos
Inspirado por: screencapture
Inspiración para: dropshadow - Drop Shadow class for plot objects
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.