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

📄 uwb_lib.mdl

📁 超宽带UWB,包括:uwb.mdl: UWB model - open this to begin. uwb_lib.mdl: Library blocks for UWB model. uwb_
💻 MDL
📖 第 1 页 / 共 2 页
字号:
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Abs
	      Name		      "Abs1"
	      Position		      [210, 125, 240, 155]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      ComplexToRealImag
	      Name		      "Complex to\nReal-Imag"
	      Ports		      [1, 2]
	      Position		      [145, 93, 175, 122]
	      ShowName		      off
	      Output		      "Real and imag"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [430, 80, 510, 100]
	      ShowName		      off
	      Value		      "resetHistogram"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [195, 166, 255, 184]
	      ShowName		      off
	      Value		      "2^(eMin-1)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain1"
	      Position		      [395, 49, 450, 91]
	      ShowName		      off
	      Gain		      "1/log(2)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain2"
	      Position		      [395, 119, 450, 161]
	      ShowName		      off
	      Gain		      "1/log(2)"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Histogram"
	      Ports		      [2, 1]
	      Position		      [575, 61, 645, 99]
	      ShowName		      off
	      SourceBlock	      "dspstat3/Histogram"
	      SourceType	      "Histogram"
	      umin		      "eMin"
	      umax		      "eMax"
	      nbins		      "numBins"
	      normalized	      on
	      run		      on
	      reset		      on
	      trigtype		      "Non-zero sample"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Histogram1"
	      Ports		      [2, 1]
	      Position		      [575, 131, 645, 169]
	      ShowName		      off
	      SourceBlock	      "dspstat3/Histogram"
	      SourceType	      "Histogram"
	      umin		      "eMin"
	      umax		      "eMax"
	      nbins		      "numBins"
	      normalized	      on
	      run		      on
	      reset		      on
	      trigtype		      "Non-zero sample"
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction1"
	      Ports		      [1, 1]
	      Position		      [335, 55, 365, 85]
	      ShowName		      off
	      Operator		      "log"
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction2"
	      Ports		      [1, 1]
	      Position		      [335, 125, 365, 155]
	      ShowName		      off
	      Operator		      "log"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Matrix\nConcatenation"
	      Ports		      [2, 1]
	      Position		      [690, 69, 705, 156]
	      ShowName		      off
	      SourceBlock	      "simulink/Math\nOperations/Matrix\nConca"
"tenation"
	      SourceType	      "Matrix Concatenation"
	      numInports	      "2"
	      catMethod		      "Horizontal"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [265, 60, 285, 80]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [2, 1]
	      Position		      [295, 130, 315, 150]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "User-defined graphics"
	      Ports		      [1]
	      Position		      [760, 96, 830, 134]
	      TreatAsAtomicUnit	      off
	      MaskType		      "User-defined graphics."
	      MaskPromptString	      "Graphics M-file:|Additional parameters:"
	      MaskStyleString	      "edit,edit"
	      MaskTunableValueString  "off,on"
	      MaskCallbackString      "|"
	      MaskEnableString	      "on,on"
	      MaskVisibilityString    "on,on"
	      MaskToolTipString	      "on,on"
	      MaskVarAliasString      ","
	      MaskVariables	      "graphicsName=&1;extraParams=@2;"
	      MaskInitialization      "\n\n\n"
	      MaskDisplay	      "disp('UDG')"
	      MaskIconFrame	      on
	      MaskIconOpaque	      off
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      MaskValueString	      "plothist|{eMin, eMax, nBits, tol, refCa"
"se}"
	      System {
		Name			"User-defined graphics"
		Location		[505, 350, 898, 498]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "sig"
		  Position		  [45, 20, 65, 40]
		}
		Block {
		  BlockType		  "S-Function"
		  Name			  "graphics"
		  Ports			  [1]
		  Position		  [125, 15, 175, 45]
		  ShowName		  off
		  FunctionName		  "udg"
		  Parameters		  "extraParams"
		}
		Line {
		  SrcBlock		  "sig"
		  SrcPort		  1
		  DstBlock		  "graphics"
		  DstPort		  1
		}
	      }
	    }
	    Line {
	      SrcBlock		      "Matrix\nConcatenation"
	      SrcPort		      1
	      DstBlock		      "User-defined graphics"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Math\nFunction1"
	      SrcPort		      1
	      DstBlock		      "Gain1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Math\nFunction2"
	      SrcPort		      1
	      DstBlock		      "Gain2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [0, 0; 15, 0]
	      Branch {
		DstBlock		"Histogram"
		DstPort			2
	      }
	      Branch {
		Points			[0, 70]
		DstBlock		"Histogram1"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Complex to\nReal-Imag"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain1"
	      SrcPort		      1
	      DstBlock		      "Histogram"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain2"
	      SrcPort		      1
	      DstBlock		      "Histogram1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Histogram"
	      SrcPort		      1
	      Points		      [10, 0; 0, 10]
	      DstBlock		      "Matrix\nConcatenation"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Histogram1"
	      SrcPort		      1
	      Points		      [10, 0; 0, -15]
	      DstBlock		      "Matrix\nConcatenation"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Complex to\nReal-Imag"
	      SrcPort		      1
	      Points		      [10, 0; 0, -30]
	      DstBlock		      "Abs"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Complex to\nReal-Imag"
	      SrcPort		      2
	      Points		      [10, 0; 0, 25]
	      DstBlock		      "Abs1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Math\nFunction1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Math\nFunction2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Abs"
	      SrcPort		      1
	      Points		      [15, 0]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant1"
	      SrcPort		      1
	      Points		      [15, 0]
	      Branch {
		DstBlock		"Sum"
		DstPort			2
	      }
	      Branch {
		Points			[30, 0]
		DstBlock		"Sum1"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Abs1"
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [335, 29, 355, 51]
	  ShowName		  off
	  Expr			  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion"
	  Ports			  [1, 1]
	  Position		  [140, 112, 185, 148]
	  ShowName		  off
	  SourceBlock		  "dspsigattribs/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  growRefPort		  off
	  outframe		  "Frame-based"
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator"
	  Ports			  [2, 1]
	  Position		  [635, 47, 665, 78]
	  ShowName		  off
	  AllPortsSameDT	  off
	}
	Block {
	  BlockType		  RelationalOperator
	  Name			  "Relational\nOperator"
	  Position		  [570, 32, 600, 63]
	  ShowName		  off
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Reshape"
	  Ports			  [1, 1]
	  Position		  [205, 118, 235, 142]
	  SourceBlock		  "simulink/Math\nOperations/Reshape"
	  SourceType		  "Reshape"
	  OutputDimensionality	  "Column vector"
	  OutputDimensions	  "[1,1]"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [380, 30, 400, 50]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay"
	  Position		  [405, 64, 440, 96]
	  Orientation		  "left"
	  ShowName		  off
	  SampleTime		  "-1"
	}
	Line {
	  SrcBlock		  "Frame Status\nConversion"
	  SrcPort		  1
	  DstBlock		  "Reshape"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Conversion1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant2"
	  SrcPort		  1
	  DstBlock		  "Relational\nOperator"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Unit Delay"
	  SrcPort		  1
	  Points		  [-10, 0]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  Points		  [0, 0; 50, 0]
	  Branch {
	    DstBlock		    "Unit Delay"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Relational\nOperator"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Conversion1"
	  SrcPort		  1
	  DstBlock		  "Frame Status\nConversion"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag1"
	  SrcPort		  1
	  DstBlock		  "Fcn"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Reshape"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    Points		    [0, -90]
	    DstBlock		    "Complex to\nReal-Imag1"
	    DstPort		    1
	  }
	  Branch {
	    Labels		    [1, 0]
	    DstBlock		    "Enabled histogram"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Logical\nOperator"
	  SrcPort		  1
	  Points		  [25, 0]
	  DstBlock		  "Enabled histogram"
	  DstPort		  enable
	}
	Line {
	  SrcBlock		  "Relational\nOperator"
	  SrcPort		  1
	  Points		  [5, 0; 0, 5]
	  DstBlock		  "Logical\nOperator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [5, 0; 0, -20]
	  DstBlock		  "Logical\nOperator"
	  DstPort		  2
	}
      }
    }
  }
}

⌨️ 快捷键说明

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