PageRenderTime 27ms CodeModel.GetById 1ms RepoModel.GetById 0ms app.codeStats 0ms

/ATF2/FlightSim/testApps/mOTR/ccdPowerInstruction.m

http://atf2flightsim.googlecode.com/
MATLAB | 77 lines | 24 code | 13 blank | 40 comment | 2 complexity | 163541bf8f0bec35154cb2982c2880c7 MD5 | raw file
Possible License(s): BSD-2-Clause, LGPL-2.0, IPL-1.0, BSD-3-Clause
  1. function varargout = ccdPowerInstruction(varargin)
  2. % CCDPOWERINSTRUCTION MATLAB code for ccdPowerInstruction.fig
  3. % CCDPOWERINSTRUCTION, by itself, creates a new CCDPOWERINSTRUCTION or raises the existing
  4. % singleton*.
  5. %
  6. % H = CCDPOWERINSTRUCTION returns the handle to a new CCDPOWERINSTRUCTION or the handle to
  7. % the existing singleton*.
  8. %
  9. % CCDPOWERINSTRUCTION('CALLBACK',hObject,eventData,handles,...) calls the local
  10. % function named CALLBACK in CCDPOWERINSTRUCTION.M with the given input arguments.
  11. %
  12. % CCDPOWERINSTRUCTION('Property','Value',...) creates a new CCDPOWERINSTRUCTION or raises the
  13. % existing singleton*. Starting from the left, property value pairs are
  14. % applied to the GUI before ccdPowerInstruction_OpeningFcn gets called. An
  15. % unrecognized property name or invalid value makes property application
  16. % stop. All inputs are passed to ccdPowerInstruction_OpeningFcn via varargin.
  17. %
  18. % *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
  19. % instance to run (singleton)".
  20. %
  21. % See also: GUIDE, GUIDATA, GUIHANDLES
  22. % Edit the above text to modify the response to help ccdPowerInstruction
  23. % Last Modified by GUIDE v2.5 18-Feb-2011 11:38:14
  24. % Begin initialization code - DO NOT EDIT
  25. gui_Singleton = 1;
  26. gui_State = struct('gui_Name', mfilename, ...
  27. 'gui_Singleton', gui_Singleton, ...
  28. 'gui_OpeningFcn', @ccdPowerInstruction_OpeningFcn, ...
  29. 'gui_OutputFcn', @ccdPowerInstruction_OutputFcn, ...
  30. 'gui_LayoutFcn', [] , ...
  31. 'gui_Callback', []);
  32. if nargin && ischar(varargin{1})
  33. gui_State.gui_Callback = str2func(varargin{1});
  34. end
  35. if nargout
  36. [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
  37. else
  38. gui_mainfcn(gui_State, varargin{:});
  39. end
  40. % End initialization code - DO NOT EDIT
  41. % --- Executes just before ccdPowerInstruction is made visible.
  42. function ccdPowerInstruction_OpeningFcn(hObject, eventdata, handles, varargin)
  43. % This function has no output args, see OutputFcn.
  44. % hObject handle to figure
  45. % eventdata reserved - to be defined in a future version of MATLAB
  46. % handles structure with handles and user data (see GUIDATA)
  47. % varargin command line arguments to ccdPowerInstruction (see VARARGIN)
  48. % Choose default command line output for ccdPowerInstruction
  49. handles.output = hObject;
  50. load images webimage
  51. imagesc(webimage,'Parent',handles.axes1);
  52. axis(handles.axes1,'off')
  53. % Update handles structure
  54. guidata(hObject, handles);
  55. % UIWAIT makes ccdPowerInstruction wait for user response (see UIRESUME)
  56. % uiwait(handles.figure1);
  57. % --- Outputs from this function are returned to the command line.
  58. function varargout = ccdPowerInstruction_OutputFcn(hObject, eventdata, handles)
  59. % varargout cell array for returning output args (see VARARGOUT);
  60. % hObject handle to figure
  61. % eventdata reserved - to be defined in a future version of MATLAB
  62. % handles structure with handles and user data (see GUIDATA)
  63. % Get default command line output from handles structure
  64. varargout{1} = handles.output;