📄 bpak_vblast1.mdl
字号:
Interpolate on } 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 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" 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 ToWorkspace VariableName "simulink_output" MaxDataPoints "1000" Decimation "1" SampleTime "0" FixptAsFi off } Block { BlockType TriggerPort TriggerType "rising" StatesWhenEnabling "inherit" ShowOutputPort off OutputDataType "auto" SampleTimeType "triggered" SampleTime "1" ZeroCross 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 "bpak_vblast1" Location [2, 82, 997, 715] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType SubSystem Name " space encoder system" Ports [2, 2] Position [445, 17, 555, 88] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name " space encoder system" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [115, 108, 145, 122] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [110, 228, 140, 242] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Reference Name "Matrix\nConcatenation1" Ports [2, 1] Position [545, 19, 620, 101] SourceBlock "simulink/Math\nOperations/Matrix\nConcatena""tion" SourceType "Matrix Concatenation" numInports "2" catMethod "Vertical" } Block { BlockType Reference Name "Matrix\nConcatenation2" Ports [2, 1] Position [565, 149, 640, 231] SourceBlock "simulink/Math\nOperations/Matrix\nConcatena""tion" SourceType "Matrix Concatenation" numInports "2" catMethod "Vertical" } Block { BlockType Reference Name "Multiport\nSelector1" Ports [1, 2] Position [210, 79, 300, 146] SourceBlock "dspindex/Multiport\nSelector" SourceType "Multiport Selector" rowsOrCols "Rows" idxCellArray "{ 1, 2}" idxErrMode "Clip Index" } Block { BlockType Reference Name "Multiport\nSelector2" Ports [1, 2] Position [215, 203, 305, 267] SourceBlock "dspindex/Multiport\nSelector" SourceType "Multiport Selector" rowsOrCols "Rows" idxCellArray "{ 1, 2}" idxErrMode "Clip Index" } Block { BlockType Outport Name "Out1" Position [775, 53, 805, 67] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [775, 178, 805, 192] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 DstBlock "Multiport\nSelector1" DstPort 1 } Line { SrcBlock "Multiport\nSelector1" SrcPort 1 Points [115, 0; 0, -55] DstBlock "Matrix\nConcatenation1" DstPort 1 } Line { SrcBlock "Multiport\nSelector2" SrcPort 1 Points [120, 0; 0, -140] DstBlock "Matrix\nConcatenation1" DstPort 2 } Line { SrcBlock "Multiport\nSelector1" SrcPort 2 Points [245, 0] DstBlock "Matrix\nConcatenation2" DstPort 1 } Line { SrcBlock "Multiport\nSelector2" SrcPort 2 Points [240, 0] DstBlock "Matrix\nConcatenation2" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Multiport\nSelector2" DstPort 1 } Line { SrcBlock "Matrix\nConcatenation1" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "Matrix\nConcatenation2" SrcPort 1 Points [0, -5] DstBlock "Out2" DstPort 1 } } } Block { BlockType Reference Name "AWGN\nChannel1" Ports [1, 1] Position [645, 494, 725, 536] Orientation "left" SourceBlock "commchan2/AWGN\nChannel" SourceType "AWGN Channel" ShowPortLabels on seed "77" noiseMode "Signal to noise ratio (SNR)" EbNodB "10" EsNodB "10" SNRdB "20" bitsPerSym "1" Ps "2" Tsym "1" variance "1" } Block { BlockType Reference Name "AWGN\nChannel2" Ports [1, 1] Position [640, 424, 720, 466] Orientation "left" SourceBlock "commchan2/AWGN\nChannel" SourceType "AWGN Channel" ShowPortLabels on seed "74" noiseMode "Signal to noise ratio (SNR)" EbNodB "10" EsNodB "10" SNRdB "20" bitsPerSym "1" Ps "2" Tsym "1" variance "1" } Block { BlockType Reference Name "BPSK\nDemodulator\nBaseband1" Ports [1, 1] Position [145, 621, 220, 669] Orientation "left" NamePlacement "alternate" SourceBlock "commdigbbndpm2/BPSK\nDemodulator\nBaseband" SourceType "BPSK Demodulator Baseband" ShowPortLabels on Ph "0" numSamp "1" } Block { BlockType Reference Name "BPSK\nDemodulator\nBaseband3" Ports [1, 1] Position [150, 311, 225, 359] Orientation "left" NamePlacement "alternate" SourceBlock "commdigbbndpm2/BPSK\nDemodulator\nBaseband" SourceType "BPSK Demodulator Baseband" ShowPortLabels on Ph "0" numSamp "1" } Block { BlockType Reference Name "Bernoulli Binary\nGenerator" Ports [0, 1] Position [55, 33, 135, 77] FontName "Arial" SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator" SourceType "Bernoulli Binary Generator" ShowPortLabels on P "0.5" seed "61" Ts "1e-6" frameBased on sampPerFrame "4" orient off } Block { BlockType SubSystem Name "Channel1" Ports [2, 4] Position [790, 80, 1000, 210] Orientation "down" NamePlacement "alternate" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Channel1" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [220, 63, 250, 77] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [240, 268, 270, 282] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Reference Name "Multipath Rayleigh\nFading Channel" Ports [1, 1] Position [305, 48, 385, 92] SourceBlock "commchan2/Multipath Rayleigh\nFading Channe""l" SourceType "Multipath Rayleigh Fading Channel" ShowPortLabels on Fd "40" simTs "4e-6/3" delayVec "[0]" gainVecdB "[0]" normGain on Seed "73" } Block { BlockType Reference Name "Multipath Rayleigh\nFading Channel1" Ports [1, 1] Position [325, 253, 405, 297] SourceBlock "commchan2/Multipath Rayleigh\nFading Channe""l" SourceType "Multipath Rayleigh Fading Channel" ShowPortLabels on Fd "40" simTs "4e-6/3" delayVec "[0 ]" gainVecdB "[0]" normGain on Seed "75" } Block { BlockType Reference Name "Multipath Rayleigh\nFading Channel2" Ports [1, 1] Position [320, 333, 400, 377] SourceBlock "commchan2/Multipath Rayleigh\nFading Channe""l" SourceType "Multipath Rayleigh Fading Channel" ShowPortLabels on Fd "40" simTs "4e-6/3" delayVec "[0 ]" gainVecdB "[0 ]" normGain on Seed "76" } Block { BlockType Reference Name "Multipath Rayleigh\nFading Channel4" Ports [1, 1] Position [300, 128, 380, 172] SourceBlock "commchan2/Multipath Rayleigh\nFading Channe""l" SourceType "Multipath Rayleigh Fading Channel" ShowPortLabels on Fd "40" simTs "4e-6/3" delayVec "[0]" gainVecdB "[0]" normGain on Seed "74" } Block { BlockType Outport Name "Out1" Position [550, 63, 580, 77] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [550, 143, 580, 157] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out3" Position [570, 268, 600, 282] Port "3" IconDisplay "Port number" BusOutputAsStruct off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -