how to use print Screen?

조회 수: 4 (최근 30일)
Rohit Bhoi
Rohit Bhoi 2016년 2월 23일
편집: Jan 2016년 2월 23일
I have one GUI which take some input from user and perform some calculation. after showing calculation I have to take print of all component e.g static and edit text. so have can I take it? How can I use printscreen by giving one push button?is it possible?
  댓글 수: 3
Rohit Bhoi
Rohit Bhoi 2016년 2월 23일
but how to give button which include print scree?
Jan
Jan 2016년 2월 23일
편집: Jan 2016년 2월 23일
Do you really want to print the screen or only a figure? Do you want to print it on paper or in a file? For the later case, in which image format?

댓글을 달려면 로그인하십시오.

답변 (1개)

Raj k
Raj k 2016년 2월 23일
function printscreen_Callback(hObject, eventdata, handles)
% hObject handle to printscreen (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
screencapture
Link for screencapture function is screencapture

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by