Screenshots of GUI as Vector Graphics
3 次查看(过去 30 天)
显示 更早的评论
I am trying to build some user guides for my students, including which buttons on the UI to click to get to specific things or which options in the preferences to set. As i would like to have some clean highlighting edited into them and also have them scalable to different presentations, I would prefer to use Vector Graphics instead of usual Screenshots in Bitmap/PNG style. Is there a way to export menues and similar views of Matlab/Simulink as SVG?
0 个评论
回答(1 个)
Richard Burnside
2023-6-26
编辑:Richard Burnside
2023-6-26
The print command can make decent pdf files:
[Z] = peaks(100);
surf(Z)
print('Myplot.pdf','-dpdf','-bestfit')
In your case you would specifiy the gui figure as your image:
print(fig, '-MyGui.pdf',-dpdf','-bestfit')
2 个评论
Richard Burnside
2023-6-29
I assumed incorrectly that you meant a gui figure you built that has a figure handle. Not sure how to grab the Matlab gui programmatically.
另请参阅
类别
在 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!