⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 match_1.mdl

📁 PLLmatlab for simulink
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    Block {
	      BlockType		      Constant
	      Name		      "Freq_Vector"
	      Position		      [245, 25, 275, 55]
	      Value		      "2.56*BW*(0:1:(Frame_Size-1))/((Frame_Si"
"ze-1))"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Matrix\nConcatenation"
	      Ports		      [6, 1]
	      Position		      [420, 49, 510, 221]
	      SourceBlock	      "simulink/Math\nOperations/Matrix\nConca"
"tenation"
	      SourceType	      "Matrix Concatenation"
	      numInports	      "6"
	      catMethod		      "Horizontal"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector"
	      Ports		      [1, 1]
	      Position		      [110, 86, 150, 124]
	      Elements		      "[1:Frame_Size/2.56]"
	      InputPortWidth	      "Frame_Size"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector1"
	      Ports		      [1, 1]
	      Position		      [105, 146, 145, 184]
	      Elements		      "[1:Frame_Size/2.56]"
	      InputPortWidth	      "Frame_Size"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector2"
	      Ports		      [1, 1]
	      Position		      [335, 41, 375, 79]
	      Elements		      "[1:Frame_Size/2.56]"
	      InputPortWidth	      "Frame_Size"
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch1"
	      Position		      [225, 248, 260, 342]
	      Threshold		      "0.5"
	      InputSameDT	      off
	    }
	    Block {
	      BlockType		      ToWorkspace
	      Name		      "To Workspace"
	      Position		      [550, 120, 610, 150]
	      VariableName	      "spar"
	      MaxDataPoints	      "1"
	      SampleTime	      "-1"
	      SaveFormat	      "Array"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "ones"
	      Position		      [115, 250, 145, 280]
	      Value		      "ones(1,Frame_Size/2.56)"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "zeros"
	      Position		      [115, 310, 145, 340]
	      Value		      "zeros(1,Frame_Size/2.56)"
	    }
	    Line {
	      SrcBlock		      "Selector2"
	      SrcPort		      1
	      DstBlock		      "Matrix\nConcatenation"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Selector1"
	      SrcPort		      1
	      DstBlock		      "Complex to\nReal-Imag1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Selector"
	      SrcPort		      1
	      DstBlock		      "Complex to\nReal-Imag"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Switch1"
	      SrcPort		      1
	      Points		      [70, 0; 0, -85]
	      DstBlock		      "Matrix\nConcatenation"
	      DstPort		      6
	    }
	    Line {
	      SrcBlock		      "Swap"
	      SrcPort		      1
	      DstBlock		      "Switch1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "zeros"
	      SrcPort		      1
	      DstBlock		      "Switch1"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "ones"
	      SrcPort		      1
	      DstBlock		      "Switch1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sxy"
	      SrcPort		      1
	      DstBlock		      "Selector1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Syy"
	      SrcPort		      1
	      DstBlock		      "Selector"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Complex to\nReal-Imag1"
	      SrcPort		      1
	      DstBlock		      "Matrix\nConcatenation"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "Complex to\nReal-Imag"
	      SrcPort		      2
	      DstBlock		      "Matrix\nConcatenation"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Complex to\nReal-Imag"
	      SrcPort		      1
	      DstBlock		      "Matrix\nConcatenation"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Freq_Vector"
	      SrcPort		      1
	      Points		      [40, 0]
	      DstBlock		      "Selector2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Complex to\nReal-Imag1"
	      SrcPort		      2
	      DstBlock		      "Matrix\nConcatenation"
	      DstPort		      5
	    }
	    Line {
	      SrcBlock		      "Matrix\nConcatenation"
	      SrcPort		      1
	      DstBlock		      "To Workspace"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch1"
	  Position		  [105, 402, 135, 468]
	  Threshold		  "0.5"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch2"
	  Position		  [405, 377, 435, 443]
	  Threshold		  "0.5"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch3"
	  Position		  [405, 472, 435, 538]
	  Threshold		  "0.5"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch4"
	  Position		  [540, 237, 570, 303]
	  Orientation		  "left"
	  Threshold		  "0.5"
	  InputSameDT		  off
	  Port {
	    PortNumber		    1
	    Name		    "B"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch5"
	  Position		  [475, 312, 505, 378]
	  Orientation		  "left"
	  Threshold		  "0.5"
	  InputSameDT		  off
	  Port {
	    PortNumber		    1
	    Name		    "A"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Sxy"
	  Ports			  [2, 1]
	  Position		  [360, 152, 395, 203]
	  AncestorBlock		  "simcircuits_library_1/Xfer Scope1"
	  CopyFcn		  "sdspfscope2([],[],[],'BlockCopy');"
	  DeleteFcn		  "sdspfscope2([],[],[],'BlockDelete');"
	  NameChangeFcn		  "sdspfscope2([],[],[],'NameChange');"
	  ShowPortLabels	  off
	  TreatAsAtomicUnit	  on
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Function"
	  MaskType		  "Xfer Scope"
	  MaskDescription	  "Computes a non-biased transfer function est"
"imation by using \nthe ratio of the cross spectrum between the excitation and"
" response \nchannels, and the autospectrum of the excitation channel.\n\nX= c"
"hannel 1 = DUT excitation (discrete time random noise is best)\nY= channel 2 "
"= DUT response from DUT\n\nDisplays xfer function magnitude in linear or dB f"
"ormat. \n"
	  MaskHelp		  "Use a broad band discrete time excitation a"
"nd apply it to both \nanalyzer the upper input port and the (discrete time) D"
"evice Under Test input. \nConnect the discrete time DUT response to the lower"
" input port. \nAveraging of circa 100 produces good results. \n\nThe measurem"
"ent results will be unbiased as long as the excitation \ndoes not have noise "
"which is correlated with noise in the response channel. \n\n\nRAB 01/28/02"
	  MaskPromptString	  "_______ Scope properties _______|Input doma"
"in:|Time display span (number of frames):|Buffer input|Buffer size:|Buffer ov"
"erlap:|Specify FFT length|FFT length:|Number of spectral averages:|_______ Di"
"splay properties _______|Show grid|Persistence|Frame number|Channel legend|Co"
"mpact display|Open scope at start of simulation|Open scope immediately|Scope "
"position:|_______ Axis properties _______|Frequency units:|Frequency range:|I"
"nherit sample increment from input|Sample time of original time series:|X-axi"
"s title:|Amplitude scaling:|Minimum Y-limit:|Maximum Y-limit:|Y-axis title:|_"
"______ Line properties _______|Line visibility:|Line styles:|Line markers:|Li"
"ne colors:"
	  MaskStyleString	  "checkbox,popup(Time|Frequency|User-defined)"
",edit,checkbox,edit,edit,checkbox,edit,edit,checkbox,checkbox,checkbox,checkb"
"ox,checkbox,checkbox,checkbox,checkbox,edit,checkbox,popup(Hertz|rad/sec),pop"
"up([0...Fs/2]|[-Fs/2...Fs/2]|[0...Fs]),checkbox,edit,edit,popup(Magnitude|dB)"
",edit,edit,edit,checkbox,edit,edit,edit,edit"
	  MaskTunableValueString  "on,on,off,on,on,on,on,on,on,on,on,on,on,on,"
"on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
	  MaskCallbackString	  "dspblkbfftscope2_r13('dynamic','ScopeProper"
"ties')|||dspblkbfftscope2_r13('dynamic','useBuffer');|||dspblkbfftscope2_r13("
"'dynamic','FftLenCheckbox');|||dspblkbfftscope2_r13('dynamic','DisplayPropert"
"ies');|||||||dspblkbfftscope2_r13('dynamic','OpenScope');||dspblkbfftscope2_r"
"13('dynamic','AxisProperties');|||dspblkbfftscope2_r13('dynamic','InheritXInc"
"r');|||||||dspblkbfftscope2_r13('dynamic','LineProperties');||||"
	  MaskEnableString	  "on,on,on,on,on,on,on,on,on,on,on,on,on,on,o"
"n,on,on,on,on,on,on,on,off,on,on,on,on,on,on,on,on,on,on"
	  MaskVisibilityString	  "on,off,off,off,off,off,off,off,off,on,off,o"
"ff,off,off,off,off,off,off,on,on,on,on,on,off,on,on,on,on,on,off,off,off,off"
	  MaskToolTipString	  "on,on,on,on,on,on,on,on,on,on,on,on,on,on,o"
"n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
	  MaskVarAliasString	  ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"
	  MaskVariables		  "ScopeProperties=&1;Domain=@2;HorizSpan=@3;U"
"seBuffer=&4;BufferSize=@5;Overlap=@6;inpFftLenInherit=@7;FFTlength=@8;numAvg="
"@9;DisplayProperties=&10;AxisGrid=&11;Memory=&12;FrameNumber=&13;AxisLegend=&"
"14;AxisZoom=&15;OpenScopeAtSimStart=&16;OpenScopeImmediately=&17;FigPos=@18;A"
"xisProperties=&19;XUnits=@20;XRange=@21;InheritXIncr=&22;XIncr=@23;XLabel=&24"
";YUnits=@25;YMin=@26;YMax=@27;YLabel=&28;LineProperties=&29;LineDisables=&30;"
"LineStyles=&31;LineMarkers=&32;LineColors=&33;"
	  MaskInitialization	  "[x,y,str] = xferscope1('icon');\ns = xfersc"
"ope1('init');"
	  MaskDisplay		  "plot(x,y); text(14,20,str);\n"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "off|Frequency|1|on|Frame_Size|0|off|512|100"
"0|off|on|off|on|off|off|on|off|[23 162 638 249]|on|Hertz|[0...Fs/2]|on|1|Samp"
"les|dB|-60|20|Magnitude, dB|off||||[1 0 0]"
	  MaskTabNameString	  ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"
	  System {
	    Name		    "Sxy"
	    Location		    [6, 326, 675, 650]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 108, 55, 122]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [25, 183, 55, 197]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      DataTypeConversion
	      Name		      "Data Type Conversion"
	      Position		      [165, 101, 220, 129]
	      ShowName		      off
	      OutDataTypeMode	      "double"
	    }
	    Block {
	      BlockType		      DataTypeConversion
	      Name		      "Data Type Conversion1"
	      Position		      [165, 176, 220, 204]
	      ShowName		      off
	      OutDataTypeMode	      "double"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "Frame Scope"
	      Ports		      [1]
	      Position		      [570, 115, 630, 145]
	      FunctionName	      "sdspfscope2_r13"
	      Parameters	      "s"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Optional\nBuffering"
	      Ports		      [1, 1]
	      Position		      [85, 93, 135, 137]
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      MaskType		      "Replaceable Contents"
	      MaskDescription	      "Configurable subsystem holding blocks w"
"hich may be replaced by virtual short-circuits (muxes) when not needed."
	      MaskHelp		      "\n"
	      MaskPromptString	      "Relative name of blocks to replace:|Sim"
"ulink path to each source block:|Parameter/value pairs to each block:|Replace"
" with short-circuit:"
	      MaskStyleString	      "edit,edit,edit,edit"
	      MaskTunableValueString  "off,off,off,off"
	      MaskCallbackString      "|||"
	      MaskEnableString	      "on,on,on,on"
	      MaskVisibilityString    "on,on,on,on"
	      MaskToolTipString	      "on,on,on,on"
	      MaskVarAliasString      ",,,"
	      MaskVariables	      "oname=&1;osrc=&2;oargs=@3;replace=@4;"
	      MaskInitialization      "opts.name = oname; opts.src = osrc; opt"
"s.args = oargs;\ndspskipblk(gcb,opts,replace);\n"
	      MaskSelfModifiable      on
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      MaskValueString	      "Buffer|dspbuff3/Buffer|{'N','BufferSize"
"','V','Overlap','ic','0'}|strcmp(UseBuffer,'off')"
	      MaskTabNameString	      ",,,"
	      System {
		Name			"Optional\nBuffering"
		Location		[112, 787, 368, 881]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In"
		  Position		  [25, 38, 55, 52]
		  Port			  "1"
		  IconDisplay		  "Port number"
		  LatchInput		  off
		}
		Block {
		  BlockType		  Reference
		  Name			  "Buffer"
		  Ports			  [1, 1]
		  Position		  [80, 20, 130, 70]
		  SourceBlock		  "dspbuff3/Buffer"
		  SourceType		  "Buffer"
		  N			  "BufferSize"
		  V			  "Overlap"
		  ic			  "0"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out"
		  Position		  [160, 38, 190, 52]
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		  InitialOutput		  "0"
		}
		Line {
		  SrcBlock		  "Buffer"
		  SrcPort		  1
		  DstBlock		  "Out"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In"
		  SrcPort		  1
		  DstBlock		  "Buffer"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Optional\nBuffering1"
	      Ports		      [1, 1]
	      Position		      [85, 168, 135, 212]
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      MaskType		      "Replaceable Contents"
	      MaskDescription	      "Configurable subsystem holding blocks w"
"hich may be replaced by virtual short-circuits (muxes) when not needed."
	      MaskHelp		      "\n"
	      MaskPromptString	      "Relative name of blocks to replace:|Sim"
"ulink path to each source block:|Parameter/value pairs to each block:|Replace"
" with short-circuit:"
	      MaskStyleString	      "edit,edit,edit,edit"
	      Mas

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -