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

📄 msmodulation.mdl

📁 利用matlab/simulink仿真了CDMA2
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      BlockType		      FromWorkspace
      VariableName	      "simulink_input"
      SampleTime	      "-1"
      Interpolate	      on
      OutputAfterFinalValue   "Extrapolation"
    }
    Block {
      BlockType		      Gain
      Gain		      "1"
      Multiplication	      "Element-wise(K.*u)"
      ParameterDataTypeMode   "Same as input"
      ParameterDataType	      "sfix(16)"
      ParameterScalingMode    "Best Precision: Matrix-wise"
      ParameterScaling	      "2^0"
      OutDataTypeMode	      "Same as input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Inport
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      Interpolate	      on
    }
    Block {
      BlockType		      Math
      Operator		      "exp"
      OutputSignalType	      "auto"
      SampleTime	      "-1"
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      "M-S-Function"
      MFile		      "mlfile"
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Product
      Inputs		      "2"
      Multiplication	      "Element-wise(.*)"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Zero"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      RealImagToComplex
      Input		      "Real and imag"
      ConstantPart	      "0"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Rounding
      Operator		      "floor"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Scope
      Floating		      off
      ModelBased	      off
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      PortCounts	      "[]"
      SFunctionModules	      "''"
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      UnitDelay
      X0		      "0"
      SampleTime	      "1"
      StateMustResolveToSignalObject off
      RTWStateStorageClass    "Auto"
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "msmodulation"
    Location		    [2, 78, 1022, 714]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      ComplexToMagnitudeAngle
      Name		      "Complex to\nMagnitude-Angle"
      Ports		      [1, 2]
      Position		      [635, 140, 690, 195]
      BackgroundColor	      "[0.000000, 0.501961, 1.000000]"
      DropShadow	      on
      Output		      "Magnitude and angle"
    }
    Block {
      BlockType		      SubSystem
      Name		      "FCH Frame Data"
      Ports		      [1, 1]
      Position		      [120, 153, 230, 227]
      BackgroundColor	      "[0.000000, 0.501961, 1.000000]"
      DropShadow	      on
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"FCH Frame Data"
	Location		[6, 82, 1018, 693]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Relative Gain"
	  Position		  [685, 178, 715, 192]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "CRC"
	  Ports			  [1, 1]
	  Position		  [190, 73, 330, 137]
	  AncestorBlock		  "CRC/Subsystem"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskType		  "Frame Quality Indicator(cdma2000 MS)"
	  MaskDescription	  "Add FRame Quality Indicator(FQI) to the cdm"
"a2000 MS input frame.\nThe length of FQI is decided by the input Frame length"
" and the Radio Configuration."
	  MaskHelp		  "Add Frame Quality Indicator(FQI) to the cdm"
"a2000 MS input frame.\nThe length of FQI is decided by the input Frame length"
" and the Radio Configuration."
	  MaskPromptString	  "Radio Configuration|Bit Rate|Frame Length|F"
"rame Duration"
	  MaskStyleString	  "edit,edit,edit,edit"
	  MaskTunableValueString  "on,on,on,on"
	  MaskCallbackString	  "|||"
	  MaskEnableString	  "on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on"
	  MaskToolTipString	  "on,on,on,on"
	  MaskVarAliasString	  ",,,"
	  MaskVariables		  "xRC=@1;xBitRate=@2;xFrameLength=@3;xFrameDu"
"ration=@4;"
	  MaskInitialization	  "MS_FQI_Initialization"
	  MaskDisplay		  "disp('Frame Quality Indicator\\n\\n(cdma200"
"0 MS)')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "mRC|mBitRate|mFrameLength|mFrameDuration"
	  MaskTabNameString	  ",,,"
	  System {
	    Name		    "CRC"
	    Location		    [2, 78, 1022, 714]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 43, 55, 57]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "General CRC\nGenerator"
	      Ports		      [1, 1]
	      Position		      [220, 26, 295, 74]
	      SourceBlock	      "commcrc2/General CRC\nGenerator"
	      SourceType	      "General CRC Generator"
	      genPoly		      "xGenPoly"
	      iniStates		      "[0]"
	      numChecksums	      "1"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Zero Pad"
	      Ports		      [1, 1]
	      Position		      [120, 32, 165, 68]
	      SourceBlock	      "dspsigops/Zero Pad"
	      SourceType	      "Zero Pad"
	      padSigAt		      "End"
	      zpadAlong		      "Columns"
	      padNumOutRowsSpecMethod "User-specified"
	      numOutRows	      "xPaddedFrameLen"
	      padNumOutColsSpecMethod "User-specified"
	      numOutCols	      "1"
	      trunc_flag	      "None"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [365, 43, 395, 57]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "General CRC\nGenerator"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Zero Pad"
	      SrcPort		      1
	      DstBlock		      "General CRC\nGenerator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Zero Pad"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Encoder"
	  Ports			  [1, 1]
	  Position		  [385, 73, 540, 137]
	  AncestorBlock		  "Encoder/Subsystem"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskPromptString	  "Radio Configuration|Bit Rate|Frame Length|F"
"rame duration"
	  MaskStyleString	  "edit,edit,edit,edit"
	  MaskTunableValueString  "on,on,on,on"
	  MaskCallbackString	  "|||"
	  MaskEnableString	  "on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on"
	  MaskToolTipString	  "on,on,on,on"
	  MaskVarAliasString	  ",,,"
	  MaskVariables		  "xRC=@1;xBitRate=@2;xFrameLength=@3;xFrameDu"
"ration=@4;"
	  MaskInitialization	  "MS_Encoder_Initialization"
	  MaskDisplay		  "disp('Convolutional Encoder\\n\\n(cdma2000 "
"MS)');"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "mRC|mBitRate|mFrameLength|mFrameDuration"
	  MaskTabNameString	  ",,,"
	  System {
	    Name		    "Encoder"
	    Location		    [2, 82, 1014, 718]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 48, 55, 62]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Convolutional\nEncoder"
	      Ports		      [1, 1]
	      Position		      [220, 25, 340, 85]
	      SourceBlock	      "commcnvcod2/Convolutional\nEncoder"
	      SourceType	      "Convolutional Encoder"
	      trellis		      "xTrellisStructure"
	      reset		      "None"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Zero Pad"
	      Ports		      [1, 1]
	      Position		      [120, 37, 165, 73]
	      SourceBlock	      "dspsigops/Zero Pad"
	      SourceType	      "Zero Pad"
	      padSigAt		      "End"
	      zpadAlong		      "Columns"
	      padNumOutRowsSpecMethod "User-specified"
	      numOutRows	      "xPaddedFrameLength"
	      padNumOutColsSpecMethod "User-specified"
	      numOutCols	      "1"
	      trunc_flag	      "None"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [405, 43, 435, 57]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Convolutional\nEncoder"
	      SrcPort		      1
	      Points		      [45, 0]
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Zero Pad"
	      SrcPort		      1
	      DstBlock		      "Convolutional\nEncoder"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Zero Pad"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Interleaver"
	  Ports			  [1, 1]
	  Position		  [580, 80, 740, 130]
	  AncestorBlock		  "Interleaver/Subsystem"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskPromptString	  "Radio Configuration|Bit Rate|Raw Bits per F"
"rame|Frame duration"
	  MaskStyleString	  "edit,edit,edit,edit"
	  MaskTunableValueString  "on,on,on,on"
	  MaskCallbackString	  "|||"
	  MaskEnableString	  "on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on"
	  MaskToolTipString	  "on,on,on,on"
	  MaskVarAliasString	  ",,,"
	  MaskVariables		  "xRC=@1;xBitRate=@2;xFrameLength=@3;xFrameDu"
"ration=@4;"
	  MaskInitialization	  "MS_Interleaver_Initialization"
	  MaskDisplay		  "disp('Turbo Encoder\\n\\n(cdma 2000 MS)')"
	  MaskIconFrame		  on

⌨️ 快捷键说明

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