Print an image in Matlab GUI

조회 수: 2 (최근 30일)
Eric Letsolo
Eric Letsolo 2012년 11월 17일
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)

답변 (1개)

Arthur
Arthur 2012년 11월 17일
I guess it should be
smapleimage = imread('image.png');
printdlg(smapleimage)
  댓글 수: 6
Eric Letsolo
Eric Letsolo 2012년 11월 17일
I can print a figure using printdlg(handles.Fig) Is it possible to print out an image from Matlab GUI
Arthur
Arthur 2012년 11월 18일

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by