Screenshots of GUI as Vector Graphics

조회 수: 5 (최근 30일)
David Ravi
David Ravi 2023년 6월 26일
댓글: Richard Burnside 2023년 6월 29일
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?

답변 (1개)

Richard Burnside
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
David Ravi
David Ravi 2023년 6월 29일
I do not find anything on how I can define the GUI of Matlab as a figure, could you elaborate on this? Also, please mind, I am not talking about a GUI i built in Matlab, I am talking about the GUI and Menus of Matlab itself
Richard Burnside
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 CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

태그

제품


릴리스

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by