Print an image in Matlab GUI

2 vues (au cours des 30 derniers jours)
Eric Letsolo
Eric Letsolo le 17 Nov 2012
How do you print an image from a printer in Matlab GUI? I get an error using the code below. Please help me.
Undefined function or variable 'smapleimage'.
smapleimage = imread('image.png');
printdlg(handles.smapleimage)

Réponses (1)

Arthur
Arthur le 17 Nov 2012
I guess it should be
smapleimage = imread('image.png');
printdlg(smapleimage)
  6 commentaires
Eric Letsolo
Eric Letsolo le 17 Nov 2012
I can print a figure using printdlg(handles.Fig) Is it possible to print out an image from Matlab GUI
Arthur
Arthur le 18 Nov 2012

Connectez-vous pour commenter.

Catégories

En savoir plus sur Migrate GUIDE Apps 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