Print an image in Matlab GUI

3 ビュー (過去 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 Center および File ExchangeInteractive Control and Callbacks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by