BasicGUI.m
上传用户:m_sun_001
上传日期:2014-07-30
资源大小:1115k
文件大小:3k
- function BasicGUI()
- % This is the machine-generated representation of a MATLAB object
- % and its children. Note that handle values may change when these
- % objects are re-created. This may cause problems with some callbacks.
- % The command syntax may be supported in the future, but is currently
- % incomplete and subject to change.
- %
- % To re-open this system, just type the name of the m-file at the MATLAB
- % prompt. The M-file and its associtated MAT-file must be on your path.
- load BasicGUI
- a = figure('Color',[0.8 0.8 0.8], ...
- 'Colormap',mat0, ...
- 'CreateFcn','OFDMguiFn figure', ...
- 'Position',[490 321 512 384], ...
- 'Resize','off', ...
- 'Tag','Fig1');
- b = uicontrol('Parent',a, ...
- 'Units','points', ...
- 'BackgroundColor',[1 1 1], ...
- 'FontName','Monaco', ...
- 'HorizontalAlignment','left', ...
- 'Position',[8 5 340 94], ...
- 'String','Basic OFDM Demo', ...
- 'Style','text', ...
- 'Tag','StaticTextFeedback');
- b = uicontrol('Parent',a, ...
- 'Units','points', ...
- 'BackgroundColor',[0.3 0.3 0.3], ...
- 'Position',[367 0 147 387], ...
- 'Style','frame', ...
- 'Tag','Frame1');
- b = uicontrol('Parent',a, ...
- 'Units','points', ...
- 'BackgroundColor',[0.733333 0.733333 0.733333], ...
- 'Callback','OFDMguiFn next', ...
- 'FontSize',14, ...
- 'Position',[379 340 102 32], ...
- 'String','Next', ...
- 'Tag','PushbuttonNext');
- b = uicontrol('Parent',a, ...
- 'Units','points', ...
- 'BackgroundColor',[0.733333 0.733333 0.733333], ...
- 'Callback','OFDMguiFn close', ...
- 'FontSize',14, ...
- 'Position',[379 11 102 32], ...
- 'String','Close', ...
- 'Tag','PushbuttonClose');
- b = uicontrol('Parent',a, ...
- 'Units','points', ...
- 'BackgroundColor',[0.733333 0.733333 0.733333], ...
- 'Position',[379 248 58 26], ...
- 'String',mat1, ...
- 'Style','popupmenu', ...
- 'Tag','PopupMenu1', ...
- 'Value',2, ...
- 'Visible','off');
- b = uicontrol('Parent',a, ...
- 'Units','points', ...
- 'BackgroundColor',[0.733333 0.733333 0.733333], ...
- 'FontWeight','bold', ...
- 'Position',[379 283 129 17], ...
- 'String','Number of Carriers', ...
- 'Style','text', ...
- 'Tag','StaticText2', ...
- 'Visible','off');
- b = axes('Parent',a, ...
- 'Units','points', ...
- 'CameraUpVector',[0 1 0], ...
- 'CameraUpVectorMode','manual', ...
- 'Color',[1 1 1], ...
- 'ColorOrder',mat2, ...
- 'Position',[44 130 294 235], ...
- 'Tag','AxesMain', ...
- 'Visible','off', ...
- 'XColor',[0 0 0], ...
- 'YColor',[0 0 0], ...
- 'ZColor',[0 0 0]);
- c = text('Parent',b, ...
- 'Color',[0 0 0], ...
- 'HandleVisibility','callback', ...
- 'HorizontalAlignment','center', ...
- 'Position',[0.5 -0.0662393 0], ...
- 'Tag','Text1', ...
- 'VerticalAlignment','cap', ...
- 'Visible','off');
- set(get(c,'Parent'),'XLabel',c);
- c = text('Parent',b, ...
- 'Color',[0 0 0], ...
- 'HandleVisibility','callback', ...
- 'HorizontalAlignment','center', ...
- 'Position',[-0.0767918 0.502137 0], ...
- 'Rotation',90, ...
- 'Tag','Text2', ...
- 'VerticalAlignment','baseline', ...
- 'Visible','off');
- set(get(c,'Parent'),'YLabel',c);
- c = text('Parent',b, ...
- 'Color',[0 0 0], ...
- 'HandleVisibility','callback', ...
- 'HorizontalAlignment','right', ...
- 'Position',[-0.151877 1.08333 0], ...
- 'Tag','Text3', ...
- 'Visible','off');
- set(get(c,'Parent'),'ZLabel',c);
- c = text('Parent',b, ...
- 'Color',[0 0 0], ...
- 'HandleVisibility','callback', ...
- 'HorizontalAlignment','center', ...
- 'Position',[0.5 1.0235 0], ...
- 'Tag','Text4', ...
- 'VerticalAlignment','bottom', ...
- 'Visible','off');
- set(get(c,'Parent'),'Title',c);