Print an image in Matlab GUI

2 visualizaciones (últimos 30 días)
Eric Letsolo
Eric Letsolo el 17 de Nov. de 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)

Respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by