source: MML/trunk/applications/orbit/lib/imgload.m

Last change on this file was 4, checked in by zhangj, 11 years ago

Initial import--MML version from SOLEIL@2013

File size: 598 bytes
Line 
1function imgload
2
3% Create figure for storing data
4h = figure('Visible', 'off','tag','h1');
5handles = guihandles(h);
6%Load Images for patches
7% a = imread('aperture','jpeg'); % Aperture
8% d = imread('drift','jpeg'); % Drift
9c = imread('corrector1','jpeg'); % Corrector
10% q = imread('quad', 'jpeg'); % Quadrupole
11% b = imread('bpm','jpeg'); % BPM or Bend
12% s = imread('sext','jpeg'); % Sextupole
13
14%Store image information in application data
15% guidata(h, a);
16% guidata(h, b);
17guidata(h, c);
18% guidata(h, q);
19% guidata(h, b);
20% guidata(h, s);
21
22
23
24
25% Handles info
26% GUIDATA(H, DATA)
27% DATA = GUIDATA(H)
Note: See TracBrowser for help on using the repository browser.