📄 moderrgui.m
字号:
'Position',[315 254.25 65.25 9.75], ... 'String','Clutter Power [W]:', ... 'Style','text', ... 'Tag','ClutterPwr-Txt');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.658823529411765 0.596078431372549 0.564705882352941], ... 'HorizontalAlignment','right', ... 'ListboxTop',0, ... 'Position',[315 270.75 65.25 9.75], ... 'String','Type Of Clutter:', ... 'Style','text', ... 'Tag','ClutterType-Txt');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[383.25 294 35.25 12], ... 'String','0.1', ... 'Style','edit', ... 'Tag','NoisePwr');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[383.25 269.25 35.25 12], ... 'String','''MTI-LCE''', ... 'Style','edit', ... 'Tag','ClutType');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[383.25 252.75 35.25 12], ... 'String','0.01', ... 'Style','edit', ... 'Tag','ClutPwr');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0 0 0], ... 'ListboxTop',0, ... 'Position',[312.75 287.25 183.75 1.5], ... 'Style','frame', ... 'Tag','SepSource1');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0 0 0], ... 'ListboxTop',0, ... 'Position',[312.75 246 183.75 1.5], ... 'Style','frame', ... 'Tag','SepSource2');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.658823529411765 0.596078431372549 0.564705882352941], ... 'HorizontalAlignment','right', ... 'ListboxTop',0, ... 'Position',[308.25 229.5 72 9.75], ... 'String','Number Of Targets:', ... 'Style','text', ... 'Tag','NumOfTgts-Txt');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.658823529411765 0.596078431372549 0.564705882352941], ... 'HorizontalAlignment','left', ... 'ListboxTop',0, ... 'Position',[412.25 201 57.75 9.75], ... 'String','Target Velocity:', ... 'Style','text', ... 'Tag','TgtVel-Txt');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.658823529411765 0.596078431372549 0.564705882352941], ... 'HorizontalAlignment','left', ... 'ListboxTop',0, ... 'Position',[476.25 201 57.75 9.75], ... 'String','Target Power:', ... 'Style','text', ... 'Tag','TgtPwr-Txt');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.658823529411765 0.596078431372549 0.564705882352941], ... 'HorizontalAlignment','left', ... 'ListboxTop',0, ... 'Position',[348.75 201 57.75 9.75], ... 'String','Type of Target:', ... 'Style','text', ... 'Tag','TgtType-Txt');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.658823529411765 0.596078431372549 0.564705882352941], ... 'HorizontalAlignment','right', ... 'ListboxTop',0, ... 'Position',[307.5 165 33 10.5], ... 'String','Target 2:', ... 'Style','text', ... 'Tag','Tgt2-Txt');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.658823529411765 0.596078431372549 0.564705882352941], ... 'HorizontalAlignment','right', ... 'ListboxTop',0, ... 'Position',[307.5 85.5 33 9.75], ... 'String','Target 6:', ... 'Style','text', ... 'Tag','Tgt6-Txt', ... 'Visible','off');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.658823529411765 0.596078431372549 0.564705882352941], ... 'HorizontalAlignment','right', ... 'ListboxTop',0, ... 'Position',[307.5 145.5 33 9.75], ... 'String','Target 3:', ... 'Style','text', ... 'Tag','Tgt3-Txt', ... 'Visible','off');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.658823529411765 0.596078431372549 0.564705882352941], ... 'HorizontalAlignment','right', ... 'ListboxTop',0, ... 'Position',[307.5 125.25 33 10.5], ... 'String','Target 4:', ... 'Style','text', ... 'Tag','Tgt4-Txt', ... 'Visible','off');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.658823529411765 0.596078431372549 0.564705882352941], ... 'HorizontalAlignment','right', ... 'ListboxTop',0, ... 'Position',[307.5 105 33 9.75], ... 'String','Target 5:', ... 'Style','text', ... 'Tag','Tgt5-Txt', ... 'Visible','off');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.658823529411765 0.596078431372549 0.564705882352941], ... 'ListboxTop',0, ... 'Position',[348.75 181.5 50.25 15], ... 'String',['swerling0';'swerling1';'swerling2';'swerling3';'swerling4'], ... 'Style','popupmenu', ... 'Tag','TgtType-1', ... 'Value',1);h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.658823529411765 0.596078431372549 0.564705882352941], ... 'ListboxTop',0, ... 'Position',[348.75 162 50.25 15], ... 'String',['swerling0';'swerling1';'swerling2';'swerling3';'swerling4'], ... 'Style','popupmenu', ... 'Tag','TgtType-2', ... 'Value',1);h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.658823529411765 0.596078431372549 0.564705882352941], ... 'ListboxTop',0, ... 'Position',[348.75 141.75 50.25 15], ... 'String',['swerling0';'swerling1';'swerling2';'swerling3';'swerling4'], ... 'Style','popupmenu', ... 'Tag','TgtType-3', ... 'Value',1, ... 'Visible','off');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.658823529411765 0.596078431372549 0.564705882352941], ... 'ListboxTop',0, ... 'Position',[348.75 121.5 50.25 15], ... 'String',['swerling0';'swerling1';'swerling2';'swerling3';'swerling4'], ... 'Style','popupmenu', ... 'Tag','TgtType-4', ... 'Value',1, ... 'Visible','off');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.658823529411765 0.596078431372549 0.564705882352941], ... 'ListboxTop',0, ... 'Position',[348.75 102 50.25 15], ... 'String',['swerling0';'swerling1';'swerling2';'swerling3';'swerling4'], ... 'Style','popupmenu', ... 'Tag','TgtType-5', ... 'Value',1, ... 'Visible','off');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.658823529411765 0.596078431372549 0.564705882352941], ... 'ListboxTop',0, ... 'Position',[348.75 81.75 50.25 15], ... 'String',['swerling0';'swerling1';'swerling2';'swerling3';'swerling4'], ... 'Style','popupmenu', ... 'Tag','TgtType-6', ... 'Value',1, ... 'Visible','off');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[412.5 182.25 35.25 12], ... 'String','5', ... 'Style','edit', ... 'Tag','TgtVel-1');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[412.5 162.75 35.25 12], ... 'String','-5', ... 'Style','edit', ... 'Tag','TgtVel-2');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[412.5 142.5 35.25 12], ... 'Style','edit', ... 'Tag','TgtVel-3', ... 'Visible','off');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[412.5 122.25 35.25 12], ... 'Style','edit', ... 'Tag','TgtVel-4', ... 'Visible','off');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[412.5 102.75 35.25 12], ... 'Style','edit', ... 'Tag','TgtVel-5', ... 'Visible','off');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[412.5 82.5 35.25 12], ... 'Style','edit', ... 'Tag','TgtVel-6', ... 'Visible','off');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[475.5 82.5 35.25 12], ... 'Style','edit', ... 'Tag','TgtPwr-6', ... 'Visible','off');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[475.5 102.5 35.25 12], ... 'Style','edit', ... 'Tag','TgtPwr-5', ... 'Visible','off');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[475.5 122.5 35.25 12], ... 'Style','edit', ... 'Tag','TgtPwr-4', ... 'Visible','off');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[475.5 142.5 35.25 12], ... 'Style','edit', ... 'Tag','TgtPwr-3', ... 'Visible','off');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[475.5 162.5 35.25 12], ... 'String','1', ... 'Style','edit', ... 'Tag','TgtPwr-2');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[475.5 182.5 35.25 12], ... 'String','1', ... 'Style','edit', ... 'Tag','TgtPwr-1');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.658823529411765 0.596078431372549 0.564705882352941], ... 'Callback','simbutclk', ... 'FontSize',10, ... 'FontWeight','demi', ... 'ForegroundColor',[0 0 0.45], ... 'ListboxTop',0, ... 'Position',[407.25 40.5 103.5 22.5], ... 'String','Begin Simulation!', ... 'Tag','SimStart');h1 = axes('Parent',h0, ... 'Units','pixels', ... 'CameraUpVector',[0 1 0], ... 'CameraUpVectorMode','manual', ... 'Color',[1 1 1], ... 'ColorOrder',mat0, ... 'CreateFcn','plotedit(gcbf,''promoteoverlay''); ', ... 'Position',[27 65 355 362], ... 'Tag','PlotWindow', ... 'XColor',[0 0 0], ... 'YColor',[0 0 0], ... 'ZColor',[0 0 0]);h2 = text('Parent',h1, ... 'Color',[0 0 0], ... 'HandleVisibility','off', ... 'HorizontalAlignment','center', ... 'Position',[0.4971751412429379 -0.06648199445983383 9.160254037844386], ... 'Tag','Axes1Text4', ... 'VerticalAlignment','cap');set(get(h2,'Parent'),'XLabel',h2);h2 = text('Parent',h1, ... 'Color',[0 0 0], ... 'HandleVisibility','off', ... 'HorizontalAlignment','center', ... 'Position',[-0.08192090395480227 0.4958448753462604 9.160254037844386], ... 'Rotation',90, ... 'Tag','Axes1Text3', ... 'VerticalAlignment','baseline');set(get(h2,'Parent'),'YLabel',h2);h2 = text('Parent',h1, ... 'Color',[0 0 0], ... 'HandleVisibility','off', ... 'HorizontalAlignment','right', ... 'Position',mat1, ... 'Tag','Axes1Text2', ... 'Visible','off');set(get(h2,'Parent'),'ZLabel',h2);h2 = text('Parent',h1, ... 'Color',[0 0 0], ... 'HandleVisibility','off', ... 'HorizontalAlignment','center', ... 'Position',mat2, ... 'Tag','Axes1Text1', ... 'VerticalAlignment','bottom');set(get(h2,'Parent'),'Title',h2);if nargout > 0, fig = h0; end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -