koe_channel_rake_inter_control.mdl
来自「wcdma_simulation_simulink用matlab simulin」· MDL 代码 · 共 1,497 行 · 第 1/3 页
MDL
1,497 行
Model { Name "koe_channel_rake_inter_control" Version 3.00 SimParamPage "Solver" SampleTimeColors on InvariantConstants off WideVectorLines off ShowLineWidths on ShowPortDataTypes off StartTime "0.0" StopTime "10" 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 PreLoadFcn "N=32; C=[1 1 -1 -1];nPilot=8;TFI=2;TPC=4;" Created "Wed May 12 14:25:07 1999" Creator "maarit" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%<Auto>" LastModifiedBy "maarit" ModifiedDateFormat "%<Auto>" LastModifiedDate "Sun Jun 20 16:28:30 1999" ModelVersionFormat "1.%<AutoIncrement:154>" 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_channel_rake_inter_control" Location [71, 76, 1338, 1045] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom off ReportName "simulink-default.rpt" Block { BlockType Reference Name " add control" Ports [0, 1, 0, 0, 0] Position [15, 300, 95, 380] FontName "helvetica" FontSize 12 SourceBlock "utra_lib/Modulation blocks/dl_TX_modulation/ a""dd control" SourceType "" nPilot "nPilot" nPower "TPC" nTFI "TFI" } Block { BlockType Reference Name "Channel estimator" Ports [2, 3, 0, 0, 0] Position [525, 336, 600, 414] ShowName off SourceBlock "utra_lib/Channel models/Channel estimator" SourceType "" threshold "0.05" nSlot "16" } Block { BlockType Reference Name "Delayed ber calculation1" Ports [2, 1, 0, 0, 0] Position [260, 815, 460, 915] Orientation "down" NamePlacement "alternate" SourceBlock "utra_lib/Test functions/Delayed ber calculation" SourceType "" N "16*N" nFrames "1" } Block { BlockType Reference Name "Direct ber calculation1" Ports [2, 1, 0, 0, 0] Position [426, 45, 584, 140] Orientation "up" SourceBlock "utra_lib/Test functions/Direct ber calculation" SourceType "" N "(N+nPilot+TFI+TPC)*length(C)/2" nFrames "1" } Block { BlockType Display Name "Display35" Ports [1, 0, 0, 0, 0] Position [240, 933, 330, 967] Orientation "left" ShowName off Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Display36" Ports [1, 0, 0, 0, 0] Position [1115, 525, 1205, 555] NamePlacement "alternate" ShowName off Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Display37" Ports [1, 0, 0, 0, 0] Position [280, 16, 380, 44] Orientation "left" NamePlacement "alternate" ShowName off Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Display38" Ports [1, 0, 0, 0, 0] Position [1125, 315, 1215, 345] NamePlacement "alternate" ShowName off Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType ToWorkspace Name "To Workspace10" Position [565, 275, 610, 305] ShowName off VariableName "chan1" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace11" Position [525, 460, 575, 490] ShowName off VariableName "delay1" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace12" Position [390, 935, 450, 965] ShowName off VariableName "ber" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace13" Position [570, 210, 630, 240] ShowName off VariableName "chanout" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace14" Position [950, 245, 1010, 275] ShowName off VariableName "r1" Buffer "inf" Decimation "1" SampleTime "1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace15" Position [585, 15, 645, 45] ShowName off VariableName "ber1" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace16" Position [285, 210, 345, 240] Orientation "up" ShowName off VariableName "chanin" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace17" Position [590, 855, 650, 885] Orientation "left" NamePlacement "alternate" ShowName off VariableName "flag" Buffer "inf" Decimation "1" SampleTime "1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace18" Position [635, 455, 685, 485] ShowName off VariableName "delay" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace19" Position [1105, 280, 1165, 310] ShowName off VariableName "l1" Buffer "inf" Decimation "1" SampleTime "1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace20" Position [1145, 560, 1205, 590] ShowName off VariableName "l2" Buffer "inf" Decimation "1" SampleTime "1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace4" Position [15, 50, 75, 80] Orientation "left" NamePlacement "alternate" VariableName "in" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace7" Position [510, 710, 570, 740] Orientation "left" NamePlacement "alternate" ShowName off VariableName "out" Buffer "inf" Decimation "1" SampleTime "1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace8" Position [1145, 460, 1205, 490] ShowName off VariableName "r2" Buffer "inf" Decimation "1" SampleTime "1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace9" Position [655, 275, 700, 305] ShowName off VariableName "chan" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType Reference Name "channel3" Ports [2, 4, 0, 0, 0] Position [340, 287, 475, 453] ShowName off FontName "helvetica" FontWeight "bold" SourceBlock "utra_lib/Channel models/channel2" SourceType "" N "(N+nPilot+TFI+TPC)*length(C)/2" nSlot "16" RM "[0.9 0 0.1]" DM "[0 1 2]" HP "1" snr "0" P "0" nCode "length(C)" } Block { BlockType Mux Name "control_mux" Ports [2, 1, 0, 0, 0] Position [185, 308, 190, 437] FontName "helvetica" FontSize 12 Inputs "2" DisplayOption "bar" } Block { BlockType Reference Name "data source 01 ..10" Ports [0, 1, 0, 0, 0] Position [90, 15, 180, 60] Orientation "down" SourceBlock "utra_lib/Source blocks/data source 01 ..10" SourceType "koe" nFrames "1" N "16*N" } Block { BlockType Reference Name "demodulation" Ports [4, 2, 0, 0, 0] Position [930, 292, 1060, 448] FontName "helvetica" SourceBlock "utra_lib/Modulation blocks/dl_RX_demodulation/""demodulation" SourceType "" nBuff_in "N+TFI+TPC" nBuff_out "N*16" nSlot "16" nControl "TFI+TPC" } Block { BlockType Reference Name "demodulation1" Ports [4, 2, 0, 0, 0] Position [935, 487, 1065, 643] FontName "helvetica" SourceBlock "utra_lib/Modulation blocks/dl_RX_demodulation/""demodulation" SourceType "" nBuff_in "N+TFI+TPC+nPilot" nBuff_out "N*16" nSlot "16" nControl "TFI+TPC+nPilot" } Block { BlockType SubSystem Name "dl_rake" Ports [5, 4, 0, 0, 0] Position [725, 289, 885, 451] FontName "helvetica" FontSize 12 FontWeight "bold" ShowPortLabels on MaskPromptString "sizes|Number of Slots in frame|Number of Pilot ""bits|threshold|nFin|code" MaskStyleString "edit,edit,edit,edit,edit,edit" MaskTunableValueString "on,on,on,on,on,on" MaskCallbackString "|||||" MaskEnableString "on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on" MaskVariables "N_rake=@1;nSlot=@2;nPilot=@3;th=@4;nFin=@5;C=@6"";" MaskDisplay "disp('DOWNLINK\\n \\nRAKE\\n \\nRECEIVER');\npo""rt_label('input',1,'I');\nport_label('input',5,'Q');\nport_label('output',1,'""I');\nport_label('input',2,'channel')\nport_label('input',3,'delay')\nport_la""bel('output',2,'I length');\nport_label('output',4,'Q length');\nport_label('""input',4,'nTaps');\nport_label('output',3,'Q');"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?