-
Notifications
You must be signed in to change notification settings - Fork 2
/
crossmodelsave.m
190 lines (188 loc) · 5.92 KB
/
crossmodelsave.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
function fig = crossmodelsave()
% This is the machine-generated representation of a Handle Graphics object
% and its children. Note that handle values may change when these objects
% are re-created. This may cause problems with any callbacks written to
% depend on the value of the handle at the time the object was saved.
% This problem is solved by saving the output as a FIG-file.
%
% To reopen this object, just type the name of the M-file at the MATLAB
% prompt. The M-file and its associated MAT-file must be on your path.
%
% NOTE: certain newer features in MATLAB may not have been saved in this
% M-file due to limitations of this format, which has been superseded by
% FIG-files. Figures which have been annotated using the plot editor tools
% are incompatible with the M-file/MAT-file format, and should be saved as
% FIG-files.
load crossmodelsave
h0 = figure('Color',[0.8 0.8 0.8], ...
'Colormap',mat0, ...
'FileName','D:\Matlab\user\crossmodelsave.m', ...
'MenuBar','none', ...
'NumberTitle','off', ...
'PaperPosition',[18.00000000000001 180 576.0000000000002 432.0000000000001], ...
'PaperType','A4', ...
'PaperUnits','points', ...
'Position',[364 200 334 325], ...
'Tag','Fig1', ...
'ToolBar','none');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.7607843137254901 0.7607843137254901 0.745098039215686], ...
'FontAngle','italic', ...
'FontName','Arial', ...
'FontSize',20, ...
'FontWeight','bold', ...
'ListboxTop',0, ...
'Position',[3.75 210.75 242.25 26.25], ...
'String','Data Save Parameters', ...
'Style','text', ...
'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[2.25 176.25 120.75 17.25], ...
'Style','edit', ...
'Tag','Sep');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[3 149.25 120.75 17.25], ...
'Style','edit', ...
'Tag','Size1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'FontName','Arial', ...
'FontSize',10, ...
'ListboxTop',0, ...
'Position',[128.25 177 120 16.5], ...
'String','Receptive Field Separation', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'FontName','Arial', ...
'FontSize',10, ...
'ListboxTop',0, ...
'Position',[128.25 149.25 120 16.5], ...
'String','Cell 1 RF Size', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'FontName','Arial', ...
'FontSize',10, ...
'ListboxTop',0, ...
'Position',[128.25 103.5 120 16.5], ...
'String','Cell 2 RF Size', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[2.25 102.75 120.75 17.25], ...
'Style','edit', ...
'Tag','Size2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.7607843137254901 0.7607843137254901 0.745098039215686], ...
'FontName','Arial', ...
'HorizontalAlignment','right', ...
'ListboxTop',0, ...
'Position',[2.25 130.5 121.5 16.5], ...
'String',mat1, ...
'Style','popupmenu', ...
'Tag','Type1', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'FontName','Arial', ...
'FontSize',10, ...
'ListboxTop',0, ...
'Position',[128.25 130.5 120 16.5], ...
'String','Cell 1 Type', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'FontName','Arial', ...
'FontSize',10, ...
'ListboxTop',0, ...
'Position',[128.25 84 120 16.5], ...
'String','Cell 2 Type', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.7607843137254901 0.7607843137254901 0.745098039215686], ...
'FontName','Arial', ...
'HorizontalAlignment','right', ...
'ListboxTop',0, ...
'Position',[2.25 84 122.25 16.5], ...
'String',mat2, ...
'Style','popupmenu', ...
'Tag','Type2', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.7607843137254901 0.7607843137254901 0.745098039215686], ...
'FontName','Arial', ...
'HorizontalAlignment','right', ...
'ListboxTop',0, ...
'Position',[2.25 48.75 119.25 16.5], ...
'String',' ', ...
'Style','popupmenu', ...
'Tag','Angle', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'FontName','Arial', ...
'FontSize',10, ...
'ListboxTop',0, ...
'Position',[128.25 48.75 120 16.5], ...
'String','Optimum Angle', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.7607843137254901 0.7607843137254901 0.745098039215686], ...
'Callback',mat3, ...
'ListboxTop',0, ...
'Position',[10.5 3 96 24], ...
'String','OK', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.7607843137254901 0.7607843137254901 0.745098039215686], ...
'Callback',mat4, ...
'ListboxTop',0, ...
'Position',[142.5 3 96 24], ...
'String','CANCEL', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[3.375 170.25 244.5 4.5], ...
'Style','frame', ...
'Tag','Frame1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[3.375 122.25 244.5 4.5], ...
'Style','frame', ...
'Tag','Frame1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[3.375 72.75 244.5 4.5], ...
'Style','frame', ...
'Tag','Frame1');
if nargout > 0, fig = h0; end