Recently, while preparing a GUI function for submission to the file exchange I wanted to capture a screenshot, but I couldn't easily do it because the GUI function is modal and I couldn't run getframe from the command line. So, I wrote Snapshot. It facilitates taking a screenshot of a modal GUI figure or any other figure for that matter. It's very easy to use and the image is placed in a variable in the base workspace.
引用格式
Douglas Schwarz (2024). Snapshot (https://www.mathworks.com/matlabcentral/fileexchange/10846-snapshot), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2006a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Data Exploration 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |