koe_inter_new.mdl

来自「wcdma_simulation_simulink用matlab simulin」· MDL 代码 · 共 495 行

MDL
495
字号
Model {  Name			  "koe_inter_new"  Version		  3.00  SimParamPage		  "Solver"  SampleTimeColors	  off  InvariantConstants	  off  WideVectorLines	  off  ShowLineWidths	  on  ShowPortDataTypes	  off  StartTime		  "0.0"  StopTime		  "10.0"  SolverMode		  "Auto"  Solver		  "ode45"  RelTol		  "1e-3"  AbsTol		  "auto"  Refine		  "1"  MaxStep		  "auto"  InitialStep		  "auto"  FixedStep		  "auto"  MaxOrder		  5  OutputOption		  "RefineOutputTimes"  OutputTimes		  "[]"  LoadExternalInput	  off  ExternalInput		  "[t, u]"  SaveTime		  on  TimeSaveName		  "tout"  SaveState		  off  StateSaveName		  "xout"  SaveOutput		  on  OutputSaveName	  "yout"  LoadInitialState	  off  InitialState		  "xInitial"  SaveFinalState	  off  FinalStateName	  "xFinal"  SaveFormat		  "Matrix"  LimitMaxRows		  off  MaxRows		  "1000"  Decimation		  "1"  AlgebraicLoopMsg	  "warning"  MinStepSizeMsg	  "warning"  UnconnectedInputMsg	  "warning"  UnconnectedOutputMsg	  "warning"  UnconnectedLineMsg	  "warning"  InheritedTsInSrcMsg	  "warning"  IntegerOverflowMsg	  "warning"  UnnecessaryDatatypeConvMsg "none"  Int32ToFloatConvMsg	  "warning"  SignalLabelMismatchMsg  "none"  ConsistencyChecking	  "off"  ZeroCross		  on  SimulationMode	  "normal"  BlockDataTips		  on  BlockParametersDataTip  on  BlockAttributesDataTip  off  BlockPortWidthsDataTip  off  BlockDescriptionStringDataTip	off  BlockMaskParametersDataTip off  ToolBar		  on  StatusBar		  on  BrowserShowLibraryLinks off  BrowserLookUnderMasks	  off  OptimizeBlockIOStorage  on  BufferReuse		  on  BooleanDataType	  off  RTWSystemTargetFile	  "grt.tlc"  RTWInlineParameters	  off  RTWRetainRTWFile	  off  RTWTemplateMakefile	  "grt_default_tmf"  RTWMakeCommand	  "make_rtw"  RTWGenerateCodeOnly	  off  ExtModeMexFile	  "ext_comm"  ExtModeBatchMode	  off  ExtModeTrigType	  "manual"  ExtModeTrigMode	  "oneshot"  ExtModeTrigPort	  "1"  ExtModeTrigElement	  "any"  ExtModeTrigDuration	  1000  ExtModeTrigHoldOff	  0  ExtModeTrigDelay	  0  ExtModeTrigDirection	  "rising"  ExtModeTrigLevel	  0  ExtModeArchiveMode	  "off"  ExtModeAutoIncOneShot	  off  ExtModeIncDirWhenArm	  off  ExtModeAddSuffixToVar	  off  ExtModeWriteAllDataToWs off  ExtModeArmWhenConnect	  off  Created		  "Mon Jun 21 18:30:00 1999"  Creator		  "maarit"  UpdateHistory		  "UpdateHistoryNever"  ModifiedByFormat	  "%<Auto>"  LastModifiedBy	  "maarit"  ModifiedDateFormat	  "%<Auto>"  LastModifiedDate	  "Tue Jun 22 09:00:16 1999"  ModelVersionFormat	  "1.%<AutoIncrement:9>"  ConfigurationManager	  "none"  BlockDefaults {    Orientation		    "right"    ForegroundColor	    "black"    BackgroundColor	    "white"    DropShadow		    off    NamePlacement	    "normal"    FontName		    "Helvetica"    FontSize		    10    FontWeight		    "normal"    FontAngle		    "normal"    ShowName		    on  }  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		    "koe_inter_new"    Location		    [135, 219, 1231, 967]    Open		    on    ModelBrowserVisibility  off    ModelBrowserWidth	    200    ScreenColor		    "white"    PaperOrientation	    "landscape"    PaperPositionMode	    "auto"    PaperType		    "usletter"    PaperUnits		    "inches"    ZoomFactor		    "100"    AutoZoom		    on    ReportName		    "simulink-default.rpt"    Block {      BlockType		      Reference      Name		      "Buffer"      Ports		      [2, 2, 0, 0, 0]      Position		      [450, 32, 540, 103]      SourceBlock	      "utra_lib/Modulation  blocks/Buffer"      SourceType	      ""      nIn		      "2"      nOut		      "2*16"      nSlot		      "16"    }    Block {      BlockType		      Constant      Name		      "Constant11"      Position		      [50, 177, 125, 213]      ShowName		      off      Value		      "1:32"    }    Block {      BlockType		      Constant      Name		      "Constant12"      Position		      [385, 192, 415, 228]      ShowName		      off      Value		      "1"    }    Block {      BlockType		      Constant      Name		      "Constant13"      Position		      [45, 52, 120, 88]      ShowName		      off      Value		      "1:(32*2)"    }    Block {      BlockType		      Display      Name		      "Display"      Ports		      [1, 0, 0, 0, 0]      Position		      [470, 277, 545, 773]      Format		      "short"      Decimation	      "1"      Floating		      off      SampleTime	      "-1"    }    Block {      BlockType		      Display      Name		      "Display1"      Ports		      [1, 0, 0, 0, 0]      Position		      [220, 284, 335, 786]      Format		      "short"      Decimation	      "1"      Floating		      off      SampleTime	      "-1"    }    Block {      BlockType		      Display      Name		      "Display2"      Ports		      [1, 0, 0, 0, 0]      Position		      [715, 231, 790, 759]      Format		      "short"      Decimation	      "1"      Floating		      off      SampleTime	      "-1"    }    Block {      BlockType		      Display      Name		      "Display3"      Ports		      [1, 0, 0, 0, 0]      Position		      [765, 178, 890, 222]      Format		      "short"      Decimation	      "1"      Floating		      off      SampleTime	      "-1"    }    Block {      BlockType		      Display      Name		      "Display4"      Ports		      [1, 0, 0, 0, 0]      Position		      [920, 22, 1020, 718]      Format		      "short"      Decimation	      "1"      Floating		      off      SampleTime	      "-1"    }    Block {      BlockType		      Display      Name		      "Display5"      Ports		      [1, 0, 0, 0, 0]      Position		      [375, 262, 450, 758]      Format		      "short"      Decimation	      "1"      Floating		      off      SampleTime	      "-1"    }    Block {      BlockType		      Display      Name		      "Display6"      Ports		      [1, 0, 0, 0, 0]      Position		      [595, 222, 670, 718]      Format		      "short"      Decimation	      "1"      Floating		      off      SampleTime	      "-1"    }    Block {      BlockType		      Width      Name		      "Width"      Position		      [390, 90, 420, 120]    }    Block {      BlockType		      Reference      Name		      "data source 0101...1"      Ports		      [0, 1, 0, 0, 0]      Position		      [20, 445, 110, 505]      SourceBlock	      "utra_lib/Source blocks/data source 0101..."      SourceType	      "koe"      nFrames		      "1"      N			      "10"    }    Block {      BlockType		      "S-Function"      Name		      "inter_deinterleaving"      Ports		      [2, 2, 0, 0, 0]      Position		      [485, 144, 630, 231]      ForegroundColor	      "blue"      FunctionName	      "s_deinterleaver"      Parameters	      "bits_in_frame,cols,nFrames,Int_mode"      PortCounts	      "[]"      SFunctionModules	      "''"      MaskPromptString	      "Inter frame interleaver mode|Bits in frame|Numb""er of frames |Number of columns (for Block interleaver)"      MaskStyleString	      "edit,edit,edit,edit"      MaskTunableValueString  "on,on,on,on"      MaskCallbackString      "|||"      MaskEnableString	      "on,on,on,on"      MaskVisibilityString    "on,on,on,on"      MaskVariables	      "Int_mode=@1;bits_in_frame=@2;nFrames=@3;cols=@4"";"      MaskDisplay	      "disp('INTER FRAME\\nDEINTERLEAVER\\n\\n\\n1 - B""lock interleaver\\n2 - Multistage interleaver');\ndisp(Int_mode)"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "autoscale"      MaskValueString	      "1|8|4|2"    }    Block {      BlockType		      "S-Function"      Name		      "inter_interleaving"      Ports		      [1, 1, 0, 0, 0]      Position		      [200, 140, 345, 240]      ForegroundColor	      "blue"      FunctionName	      "s_interleaver"      Parameters	      "bits_in_frame,cols,nFrames,Int_mode"      PortCounts	      "[]"      SFunctionModules	      "''"      MaskDescription	      "         INTRA FRAME INTERLEAVER\n\nThis block ""performs the intra frame interleaver if the the Intra_int_flag is set on in t""he upper level in the block parameter box of the subsystem. \n\nBlock interle""aving is called with s-function s_interleaving. The parameters for this funct""ion are inherited from subsystem parameter box and it's initialization. see d""l_start.m"      MaskPromptString	      "Inter frame interleaver mode|Bits in frame|Numb""er of frames |Number of columns (for Block interleaver)"      MaskStyleString	      "edit,edit,edit,edit"      MaskTunableValueString  "on,on,on,on"      MaskCallbackString      "|||"      MaskEnableString	      "on,on,on,on"      MaskVisibilityString    "on,on,on,on"      MaskVariables	      "Int_mode=@1;bits_in_frame=@2;nFrames=@3;cols=@4"";"      MaskInitialization      "N_inter_int = bits_in_frame; %input block size ""for interleaver"      MaskDisplay	      "disp('INTER FRAME\\nINTERLEAVER\\n\\n\\n1 - Blo""ck interleaver\\n2 - Multistage interleaver');\ndisp(Int_mode)"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "autoscale"      MaskValueString	      "1|8|4|2"    }    Block {      BlockType		      "S-Function"      Name		      "intra_deinterleaving"      Ports		      [2, 2, 0, 0, 0]      Position		      [655, 20, 800, 120]      ForegroundColor	      "blue"      FunctionName	      "s_intra_deinterleaver"      Parameters	      "bits_in_frame,Int_mode,nFrames"      PortCounts	      "[]"      SFunctionModules	      "''"      MaskPromptString	      "Intra frame interleaver mode|Bits in frame|Numb""er of frames "      MaskStyleString	      "edit,edit,edit"      MaskTunableValueString  "on,on,on"      MaskCallbackString      "||"      MaskEnableString	      "on,on,on"      MaskVisibilityString    "on,on,on"      MaskVariables	      "Int_mode=@1;bits_in_frame=@2;nFrames=@3;"      MaskDisplay	      "disp('INTRA FRAME\\nDEINTERLEAVER\\n\\n\\n1 - o""ff \\n2 - onr');\ndisp(Int_mode)"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "autoscale"      MaskValueString	      "1|32|2"    }    Block {      BlockType		      "S-Function"      Name		      "intra_interleaving"      Ports		      [1, 1, 0, 0, 0]      Position		      [205, 13, 355, 137]      ForegroundColor	      "blue"      FunctionName	      "s_intra_interleaver"      Parameters	      "bits_in_frame,Int_mode,nFrames,nSlots"      PortCounts	      "[]"      SFunctionModules	      "''"      MaskDescription	      "         INTRA FRAME INTERLEAVER\n\nThis block ""performs the intra frame interleaver if the the Intra_int_flag is set on in t""he upper level in the block parameter box of the subsystem. \n\nBlock interle""aving is called with s-function s_interleaving. The parameters for this funct""ion are inherited from subsystem parameter box and it's initialization. see d""l_start.m"      MaskPromptString	      "Intra frame interleaver mode|Bits in frame|Numb""er of frames |Number of Slots in a frame"      MaskStyleString	      "edit,edit,edit,edit"      MaskTunableValueString  "on,on,on,on"      MaskCallbackString      "|||"      MaskEnableString	      "on,on,on,on"      MaskVisibilityString    "on,on,on,on"      MaskVariables	      "Int_mode=@1;bits_in_frame=@2;nFrames=@3;nSlots=""@4;"      MaskDisplay	      "disp('INTRA FRAME\\nINTERLEAVER\\n\\n\\n1 - off"" \\n2 - onr');\ndisp(Int_mode)"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "autoscale"      MaskValueString	      "1|32|2|16"    }    Line {      SrcBlock		      "inter_interleaving"      SrcPort		      1      Points		      [20, 0]      Branch {	Points			[85, 0]	DstBlock		"Display"	DstPort			1      }      Branch {	Points			[0, -25]	DstBlock		"inter_deinterleaving"	DstPort			1      }    }    Line {      SrcBlock		      "inter_deinterleaving"      SrcPort		      1      Points		      [65, 0]      DstBlock		      "Display2"      DstPort		      1    }    Line {      SrcBlock		      "inter_deinterleaving"      SrcPort		      2      Points		      [115, 0]      DstBlock		      "Display3"      DstPort		      1    }    Line {      SrcBlock		      "intra_deinterleaving"      SrcPort		      1      Points		      [100, 0]      DstBlock		      "Display4"      DstPort		      1    }    Line {      SrcBlock		      "Buffer"      SrcPort		      2      Points		      [95, 0]      DstBlock		      "intra_deinterleaving"      DstPort		      2    }    Line {      SrcBlock		      "intra_interleaving"      SrcPort		      1      Points		      [5, 0]      Branch {	Points			[0, 435]	DstBlock		"Display5"	DstPort			1      }      Branch {	Points			[15, 0]	Branch {	  Points		  [55, 0]	  DstBlock		  "Buffer"	  DstPort		  1	}	Branch {	  Points		  [0, 30]	  DstBlock		  "Width"	  DstPort		  1	}      }    }    Line {      SrcBlock		      "Buffer"      SrcPort		      1      Points		      [35, 0]      Branch {	Points			[60, 0]	DstBlock		"intra_deinterleaving"	DstPort			1      }      Branch {	DstBlock		"Display6"	DstPort			1      }    }    Line {      SrcBlock		      "Constant12"      SrcPort		      1      DstBlock		      "inter_deinterleaving"      DstPort		      2    }    Line {      SrcBlock		      "Width"      SrcPort		      1      Points		      [10, 0]      DstBlock		      "Buffer"      DstPort		      2    }    Line {      SrcBlock		      "Constant11"      SrcPort		      1      Points		      [0, -5; 50, 0]      Branch {	Points			[0, 0]	DstBlock		"inter_interleaving"	DstPort			1      }      Branch {	Points			[0, 345]	DstBlock		"Display1"	DstPort			1      }    }    Line {      SrcBlock		      "Constant13"      SrcPort		      1      Points		      [65, 0]      DstBlock		      "intra_interleaving"      DstPort		      1    }  }}

⌨️ 快捷键说明

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