Print an image in Matlab GUI

2 Ansichten (letzte 30 Tage)
Eric Letsolo
Eric Letsolo am 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)

Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by