koe_spreading.mdl
来自「wcdma_simulation_simulink用matlab simulin」· MDL 代码 · 共 240 行
MDL
240 行
Model { Name "koe_spreading" 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 "Sat Jun 19 14:50:23 1999" Creator "maarit" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%<Auto>" LastModifiedBy "maarit" ModifiedDateFormat "%<Auto>" LastModifiedDate "Tue Jun 22 09:50:49 1999" ModelVersionFormat "1.%<AutoIncrement:4>" 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_spreading" Location [558, 117, 1162, 1099] 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 Display Name "Display" Ports [1, 0, 0, 0, 0] Position [380, 16, 480, 974] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Display1" Ports [1, 0, 0, 0, 0] Position [60, 188, 160, 502] Orientation "left" NamePlacement "alternate" Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType "S-Function" Name "single user detection" Ports [1, 1, 0, 0, 0] Position [195, 293, 300, 397] Orientation "left" NamePlacement "alternate" FunctionName "s_conv_detection" Parameters "N,C,length(C),nSlot,nPilot" PortCounts "[]" SFunctionModules "''" MaskPromptString "Input block size|Spreading code|Number of Pilot"" bits to be removed|Number of slots in frame" MaskStyleString "edit,edit,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskVariables "N=@1;C=@2;nPilot=@3;nSlot=@4;" MaskDisplay "disp('CONVENTIONAL\\nDETECTION')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "N*length(C)|C|3|nSlot" } Block { BlockType Reference Name "source_2" Ports [0, 2, 0, 0, 0] Position [35, 61, 135, 134] ShowName off FontName "helvetica" FontSize 12 SourceBlock "utra_lib/Source blocks/source_2" SourceType "" N "10" } Block { BlockType Reference Name "spreading" Ports [1, 1, 0, 0, 0] Position [195, 61, 295, 99] SourceBlock "utra_lib/Modulation blocks/spreading" SourceType "" N "N" C "C" nSlot "nSlot" } Line { SrcBlock "source_2" SrcPort 1 DstBlock "spreading" DstPort 1 } Line { SrcBlock "spreading" SrcPort 1 Points [30, 0; 0, 175] Branch { Points [0, 240] DstBlock "Display" DstPort 1 } Branch { Points [-15, 0] DstBlock "single user detection" DstPort 1 } } Line { SrcBlock "single user detection" SrcPort 1 DstBlock "Display1" DstPort 1 } }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?