how to use print Screen?

3 vues (au cours des 30 derniers jours)
Rohit Bhoi
Rohit Bhoi le 23 Fév 2016
Modifié(e) : Jan le 23 Fév 2016
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 commentaires
Rohit Bhoi
Rohit Bhoi le 23 Fév 2016
but how to give button which include print scree?
Jan
Jan le 23 Fév 2016
Modifié(e) : Jan le 23 Fév 2016
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?

Connectez-vous pour commenter.

Réponses (1)

Raj k
Raj k le 23 Fév 2016
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

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by