📄 vblast_2tx_2rx.mdl
字号:
SampleTime "-1" } Block { BlockType FrameConversion OutFrame "Frame based" } Block { BlockType From IconDisplay "Tag" } 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 Goto IconDisplay "Tag" } Block { BlockType Inport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" LatchByDelayingOutsideSignal off LatchByCopyingInsideSignal off 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 MATLABFcn MATLABFcn "sin" OutputDimensions "-1" OutputSignalType "auto" Output1D on SampleTime "-1" } Block { BlockType Outport Port "1" UseBusObject off 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 Reference } Block { BlockType RelationalOperator Operator ">=" InputSameDT on LogicOutDataTypeMode "Logical (see Configuration Parameters: Optimiza""tion)" LogicDataType "uint(8)" ZeroCross on SampleTime "-1" } Block { BlockType "S-Function" FunctionName "system" SFunctionModules "''" PortCounts "[]" } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" PermitHierarchicalResolution "All" TreatAsAtomicUnit off SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" 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" } } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Arial" FontSize 10 FontWeight "normal" FontAngle "normal" } LineDefaults { FontName "Arial" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "VBLAST_2Tx_2Rx" Location [2, 82, 997, 726] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Reference Name "AWGN\nChannel 1" Ports [2, 1] Position [891, 260, 929, 290] Orientation "down" SourceBlock "commchan3/AWGN\nChannel" SourceType "AWGN Channel" ShowPortLabels on SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" seed "19025" noiseMode "Variance from port" EbNodB "10" EsNodB "10" SNRdB "10" bitsPerSym "1" Ps "1" Tsym "1" variance "1" } Block { BlockType Reference Name "AWGN\nChannel 2" Ports [2, 1] Position [971, 405, 1009, 435] Orientation "down" SourceBlock "commchan3/AWGN\nChannel" SourceType "AWGN Channel" ShowPortLabels on SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" seed "7338" noiseMode "Variance from port" EbNodB "10" EsNodB "10" SNRdB "10" bitsPerSym "1" Ps "1" Tsym "1" variance "1" } Block { BlockType Sum Name "Add4" Ports [2, 1] Position [830, 164, 845, 251] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutScaling "2^-10" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Add5" Ports [2, 1] Position [830, 319, 845, 406] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutScaling "2^-10" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Add6" Ports [2, 1] Position [680, 25, 695, 125] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutScaling "2^-10" SaturateOnIntegerOverflow off } Block { BlockType Reference Name "Bernoulli Binary\nGenerator" Ports [0, 1] Position [35, 268, 115, 312] DialogController "commDDGCreate" DialogControllerArgs "DataTag0" SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator" SourceType "Bernoulli Binary Generator" ShowPortLabels on SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" P "0.5" seed "61" Ts "1e-4/1024/2/2" frameBased on sampPerFrame "1024*2*2" orient off outDataType "double" } Block { BlockType Display Name "Display" Ports [1] Position [270, 444, 360, 506] Decimation "1" Lockdown off } Block { BlockType Reference Name "Error Rate\nCalculation" Ports [2, 1] Position [165, 447, 240, 498] SourceBlock "commsink2/Error Rate\nCalculation" SourceType "Error Rate Calculation" N "0" st_delay "0" cp_mode "Entire frame" subframe "[]" PMode "Port" WsName "ErrorVec" RsMode2 off stop off numErr "100" maxBits "1e6" } Block { BlockType From Name "From" Position [740, 526, 780, 554] Orientation "left" NamePlacement "alternate" ShowName off CloseFcn "tagdialog Close" GotoTag "H_11" } Block { BlockType From Name "From1" Position [740, 561, 780, 589] Orientation "left" NamePlacement "alternate" ShowName off CloseFcn "tagdialog Close" GotoTag "H_21" } Block { BlockType From Name "From2" Position [740, 596, 780, 624] Orientation "left" NamePlacement "alternate" ShowName off CloseFcn "tagdialog Close" GotoTag "H_12" } Block { BlockType From Name "From3" Position [740, 631, 780, 659] Orientation "left" NamePlacement "alternate" ShowName off CloseFcn "tagdialog Close" GotoTag "H_22" } Block { BlockType Math Name "Math\nFunction" Ports [1, 1] Position [605, 35, 635, 65] ShowName off Operator "magnitude^2" } Block { BlockType Math Name "Math\nFunction1" Ports [1, 1] Position [605, 85, 635, 115] ShowName off Operator "magnitude^2" } Block { BlockType Concatenate Name "Matrix\nConcatenation" Ports [6, 1] Position [605, 453, 660, 662] Orientation "left" NamePlacement "alternate" ShowName off NumInputs "6" Mode "Horizontal matrix concatenation" } Block { BlockType Concatenate Name "Matrix\nConcatenation1" Ports [2, 1] Position [315, 241, 350, 339] ShowName off Mode "Horizontal matrix concatenation" } Block { BlockType Reference Name "Mean" Ports [1, 1] Position [730, 63, 755, 87] ShowName off DialogController "dspDDGCreate" DialogControllerArgs "DataTag1" SourceBlock "dspstat3/Mean" SourceType "Mean" run off reset_popup "None" additionalParams off allowOverrides on outputMode "Same as accumulator" outputWordLength "32" outputFracLength "30" accumMode "Same as input" accumWordLength "32" accumFracLength "30" roundingMode "Floor" overflowMode off LockScale off } Block { BlockType Product Name "Product" Ports [2, 1] Position [720, 159, 735, 206] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" Ports [2, 1] Position [720, 224, 735, 271] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" Ports [2, 1] Position [720, 294, 735, 341] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product3" Ports [2, 1] Position [720, 359, 735, 406] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Reference Name "QPSK\nDemodulator\nBaseband" Ports [1, 1] Position [275, 535, 350, 585] Orientation "left" SourceBlock "commdigbbndpm3/QPSK\nDemodulator\nBaseband" SourceType "QPSK Demodulator Baseband" ShowPortLabels on SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -