📄 ena.m
字号:
'ListboxTop',0, ...
'Position',[560.25 455.25 37.5 15], ...
'String','TIFF', ...
'Style','radiobutton', ...
'Tag','RadioTIFF');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','RadioButtonSavePS', ...
'ListboxTop',0, ...
'Position',[520.5 437.25 51.75 15], ...
'String','EPS', ...
'Style','radiobutton', ...
'Tag','RadioPS');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','RadioButtonSaveP', ...
'ListboxTop',0, ...
'Position',[559.5 436.5 32.25 15], ...
'String','PNG', ...
'Style','radiobutton', ...
'Tag','RadioPNG');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[514.5 394.5 45 15], ...
'String','1', ...
'Style','edit', ...
'Tag','VarSalva', ...
'Visible','off');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[328.5 381 45 9.75], ...
'String','W >= 1 + 2a', ...
'Style','text', ...
'Tag','StaticText4');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ForegroundColor',[0.501960784313725 0.501960784313725 0.501960784313725], ...
'ListboxTop',0, ...
'Position',[390.75 358.5 0.75 35.25], ...
'Style','frame', ...
'Tag','Frame7');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[411 379.5 45 11.25], ...
'String','W < 1 + 2a', ...
'Style','text', ...
'Tag','StaticText5');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'HorizontalAlignment','right', ...
'ListboxTop',0, ...
'Position',[96.75 435 45 15], ...
'String','0', ...
'Style','edit', ...
'Tag','Ack', ...
'Visible','off');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[144.75 438 30 9.75], ...
'String','L_a [bit]', ...
'Style','text', ...
'Tag','Text Ack', ...
'Visible','off');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'HorizontalAlignment','right', ...
'ListboxTop',0, ...
'Position',[55.5 359.25 45 15], ...
'String','1', ...
'Style','edit', ...
'Tag','Gamma', ...
'UserData','[ ]', ...
'Visible','off');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat6, ...
'ListboxTop',0, ...
'Position',[101.25 363 12 10.5], ...
'String','g', ...
'Style','text', ...
'Tag','Text Gamma', ...
'UserData','[ ]', ...
'Value',1, ...
'Visible','off');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'HorizontalAlignment','right', ...
'ListboxTop',0, ...
'Position',[96.75 456 45 15], ...
'String','2', ...
'Style','edit', ...
'Tag','Var B', ...
'Visible','off');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[144.75 458.25 10.5 9.75], ...
'String','B', ...
'Style','text', ...
'Tag','Text B', ...
'Visible','off');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0 0 0], ...
'Callback','Radio_MT', ...
'ForegroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[485.25 372 30 15], ...
'String','M.T.', ...
'Tag','mtoken');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0 0 0], ...
'Callback','Radio_ST', ...
'ForegroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[523.5 372 30 15], ...
'String','S.T.', ...
'Tag','stoken');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0 0 0], ...
'Callback','Radio_SP', ...
'ForegroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[563.25 372 30 15], ...
'String','S.P.', ...
'Tag','spacket');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'FontWeight','demi', ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[489.75 392.25 30.75 11.25], ...
'String','Token', ...
'Style','text', ...
'Tag','StaticText7');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[192 426 31.5 13.5], ...
'String','D = f(S)', ...
'Style','text', ...
'Tag','StaticText22');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[128.25 195 45 15], ...
'String','Text on', ...
'Style','checkbox', ...
'Tag','Text on');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Enable','inactive', ...
'ForegroundColor',[1 0.501960784313725 1], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[111 39 65.25 15], ...
'Style','edit', ...
'Tag','x2Res');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[95.25 37.5 15.75 14.25], ...
'String','X2=', ...
'Style','text', ...
'Tag','StaticText42');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0 0.501960784313725 1], ...
'Callback','Radio_CSMAsnp', ...
'ForegroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[316.5 453 45 15], ...
'String','S.non-pers', ...
'Tag','Pushbutton2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0 0.501960784313725 1], ...
'Callback','Radio_CSMAs1p', ...
'ForegroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[366 453 45 15], ...
'String','S.1-pers', ...
'Tag','Pushbutton3');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0 0.501960784313725 1], ...
'Callback','Radio_CSMAnp', ...
'ForegroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[414 453 45 15], ...
'String','Non-pers', ...
'Tag','Pushbutton4');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0 0.501960784313725 1], ...
'Callback','Radio_CSMA1p', ...
'ForegroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[462.75 453 45 15], ...
'String','1-pers', ...
'Tag','Pushbutton5');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','RadioButtonCSMAs', ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[467.25 435 43.5 15], ...
'String','S = f(G)', ...
'Style','radiobutton', ...
'Tag','RadioS', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','RadioButtonCSMAn', ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[467.25 417.75 39.75 15], ...
'String','n = f(a)', ...
'Style','radiobutton', ...
'Tag','RadioN');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 0 0], ...
'Callback','Radio_CSMACDsnp', ...
'ForegroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[316.5 420 45 15], ...
'String','S.non-pers', ...
'Tag','Pushbutton6');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 0 0], ...
'Callback','Radio_CSMACDs1p', ...
'ForegroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[366 420 45 15], ...
'String','S.1-pers', ...
'Tag','Pushbutton7');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 0 0], ...
'Callback','Radio_CSMACDnp', ...
'ForegroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[415.5 420 45 15], ...
'String','Non-pers', ...
'Tag','Pushbutton8');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[465.75 420 45 15], ...
'String','1', ...
'Style','edit', ...
'Tag','FunctionCSMA', ...
'Visible','off');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'FontWeight','demi', ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[319.5 436.5 62.25 12], ...
'String','Set CSMA/CD', ...
'Style','text', ...
'Tag','StaticText43');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'FontName','Curier', ...
'FontWeight','demi', ...
'ListboxTop',0, ...
'Position',[375 471 30 12], ...
'String','_ _ _', ...
'Style','text', ...
'Tag','StaticText44');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'FontName','Curier', ...
'FontWeight','demi', ...
'ListboxTop',0, ...
'Position',[417.75 471 36.75 10.5], ...
'String','_ . _ . _', ...
'Style','text', ...
'Tag','StaticText45');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'FontName','Curier', ...
'FontWeight','demi', ...
'ListboxTop',0, ...
'Position',[463.5 469.5 45 11.25], ...
'String','. . . .', ...
'Style','text', ...
'Tag','StaticText46');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','RadioButtonAlohaSG', ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[192.75 375.75 45 15], ...
'String','S = f(G)', ...
'Style','radiobutton', ...
'Tag','AlohaSG', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','RadioButtonAlohaDG', ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[252 375.75 45 15], ...
'String','D* = f(G)', ...
'Style','radiobutton', ...
'Tag','AlohaDG');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','RadioButtonAlohaDS', ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[192.75 358.5 45 15], ...
'String','D* = f(S)', ...
'Style','radiobutton', ...
'Tag','AlohaDS');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','RadioButtonAlohaNA', ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[252 358.5 45 15], ...
'String','n = f(a)', ...
'Style','radiobutton', ...
'Tag','AlohaNA');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[223.5 330.75 45 15], ...
'String','1', ...
'Style','edit', ...
'Tag','PAloha', ...
'Visible','off');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[350.25 321.75 45 15], ...
'String','1', ...
'Style','edit', ...
'Tag','Parq', ...
'Visible','off');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','RadioButtonARQNA', ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[365.25 340.5 45 15], ...
'String','n = f(a)', ...
'Style','radiobutton', ...
'Tag','ARQNA', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','RadioButtonARQNL', ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[418 340.5 45 15], ...
'String','n = f(L)', ...
'Style','radiobutton', ...
'Tag','ARQNL');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[537.75 325.5 45 15], ...
'String','1', ...
'Style','edit', ...
'Tag','PToken', ...
'Visible','off');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','RadioButtonTokenNA', ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[486 352.5 45 15], ...
'String','n = f(a)', ...
'Style','radiobutton', ...
'Tag','TokenNA', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','RadioButtonTokenNN', ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[546 352.5 45 15], ...
'String','n = f(N)', ...
'Style','radiobutton', ...
'Tag','TokenNN');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','RadioButtonTokenDS', ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[486 337.5 45 12.75], ...
'String','D* = f(S)', ...
'Style','radiobutton', ...
'Tag','TokenDS');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'FontName','Curier', ...
'FontWeight','demi', ...
'ListboxTop',0, ...
'Position',[522 388.5 30 12], ...
'String','_ _ _', ...
'Style','text', ...
'Tag','StaticText44');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'FontName','Curier', ...
'FontWeight','demi', ...
'ListboxTop',0, ...
'Position',[555 388.5 45 11.25], ...
'String','. . . .', ...
'Style','text', ...
'Tag','StaticText46');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.501960784313725 0.501960784313725 0.501960784313725], ...
'Callback','Plotter', ...
'ForegroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[137.25 344.25 30 15], ...
'String','Plot', ...
'Tag','Plot graph');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ForegroundColor',[0.501960784313725 0.501960784313725 0.501960784313725], ...
'ListboxTop',0, ...
'Position',[6.75 7.5 598 485], ...
'Style','frame', ...
'Tag','MascheraStampa', ...
'UserData','[ ]', ...
'Visible','off');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'FontName','Curier', ...
'FontSize',25, ...
'FontWeight','bold', ...
'ListboxTop',0, ...
'Position',[268.5 261.75 89.25 30], ...
'String','Print ...', ...
'Style','text', ...
'Tag','Text Print', ...
'Visible','off');
if nargout > 0, fig = h0; end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -