Line 41 of SRExample reads:
im = imread('C:\Vic\Work\Src\SuperResolution\Data\typewrtr.jpg');
This doesn't run on somebody else's machine without tweaking.
30 Sep 2010
IMCLIPBOARD
Copy and paste image data to and from system clipboard.
Author: Jiro Doke
Whoops - the problem was with how I was calling it. It works great from within a GUI as well. I'm using it to copy an image of my GUI to the clipboard. This function gives a nicer image than print(gcbf, '-dmeta').
30 Sep 2010
IMCLIPBOARD
Copy and paste image data to and from system clipboard.
Author: Jiro Doke
30 Sep 2010
IMCLIPBOARD
Copy and paste image data to and from system clipboard.
Author: Jiro Doke
It does what it says. However, when I call it from within a GUI, the next callback that is activated (by changing a number in a text box or clicking a button), does not execute. As an example, I get the following warning for my GUI called ProductViewer. I can generate a similar error by activating any control in the GUI.
Warning: Error occurred while evaluating listener callback.
> In graphics\private\clo at 83
In cla at 29
In newplot>ObserveAxesNextPlot at 125
In newplot at 74
In imagesc at 21
In ProductViewer>PlotFrame at 629
In ProductViewer>edit_row_min_Callback at 514
In gui_mainfcn at 96
In ProductViewer at 87
In @(hObject,eventdata)ProductViewer('edit_row_min_Callback',hObject,eventdata,guidata(hObject))