Print an image in Matlab GUI

3 visualizzazioni (ultimi 30 giorni)
Eric Letsolo
Eric Letsolo il 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)

Risposte (1)

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

Accedi per commentare.

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by