📄 v_blast.mdl
字号:
}
Block {
BlockType Ground
}
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"
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 Reference
}
Block {
BlockType RelationalOperator
Operator ">="
InputSameDT on
LogicOutDataTypeMode "Logical (see Configuration Parameters: Optimiza"
"tion)"
LogicDataType "uint(8)"
ZeroCross on
SampleTime "-1"
}
Block {
}
Block {
BlockType Selector
IndexMode "One-based"
InputPortWidth "-1"
}
Block {
BlockType "S-Function"
FunctionName "system"
SFunctionModules "''"
PortCounts "[]"
}
Block {
BlockType SubSystem
ShowPortLabels "FromPortIcon"
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
TreatAsAtomicUnit off
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 Terminator
}
Block {
BlockType ToWorkspace
VariableName "simulink_output"
MaxDataPoints "1000"
Decimation "1"
SampleTime "0"
FixptAsFi off
}
}
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 "tp024801"
Location [2, 82, 1253, 736]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Sum
Name "Add"
Ports [4, 1]
Position [555, 14, 590, 81]
Inputs "++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
Ports [4, 1]
Position [555, 119, 590, 186]
Inputs "++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add2"
Ports [4, 1]
Position [555, 224, 590, 291]
Inputs "++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add3"
Ports [4, 1]
Position [555, 334, 590, 401]
Inputs "++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add4"
Ports [4, 1]
Position [550, 419, 585, 486]
Inputs "++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add5"
Ports [4, 1]
Position [550, 524, 585, 591]
Inputs "++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add6"
Ports [4, 1]
Position [550, 629, 585, 696]
Inputs "++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add7"
Ports [4, 1]
Position [550, 739, 585, 806]
Inputs "++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Bernoulli Binary\nGenerator"
Ports [0, 1]
Position [15, 153, 95, 197]
DialogController "commDDGCreate"
DialogControllerArgs "DataTag0"
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
ShowPortLabels "FromPortIcon"
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-6"
frameBased on
sampPerFrame "160"
orient off
}
Block {
BlockType FrameConversion
Name "Frame Conversion"
Position [760, 185, 815, 225]
OutFrame "Sample based"
}
Block {
BlockType FrameConversion
Name "Frame Conversion1"
Position [930, 185, 985, 225]
OutFrame "Frame based"
}
Block {
BlockType FrameConversion
Name "Frame Conversion2"
Position [755, 590, 810, 630]
OutFrame "Sample based"
}
Block {
BlockType FrameConversion
Name "Frame Conversion3"
Position [945, 590, 1000, 630]
OutFrame "Frame based"
}
Block {
BlockType Reference
Name "M-PSK\nModulator\nBaseband"
Ports [1, 1]
Position [115, 149, 190, 201]
SourceBlock "commdigbbndpm2/M-PSK\nModulator\nBaseband"
SourceType "M-PSK Modulator Baseband"
M "16"
InType "Bit"
Enc "Gray"
Ph "pi/16"
}
Block {
BlockType MATLABFcn
Name "MATLAB Fcn"
Ports [1, 1]
Position [1020, 190, 1080, 220]
MATLABFcn "receive"
Output1D off
}
Block {
BlockType MATLABFcn
Name "MATLAB Fcn1"
Ports [1, 1]
Position [1035, 595, 1095, 625]
MATLABFcn "receive"
Output1D off
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [925, 395, 955, 425]
Operator "magnitude^2"
}
Block {
BlockType Math
Name "Math\nFunction1"
Ports [1, 1]
Position [1075, 395, 1105, 425]
Operator "transpose"
}
Block {
BlockType Reference
Name "Matrix\nConcatenate"
Ports [4, 1]
Position [665, 129, 730, 276]
SourceBlock "simulink/Math\nOperations/Matrix\nConcatenation"
SourceType "Matrix Concatenation"
numInports "4"
catMethod "Horizontal"
}
Block {
BlockType Reference
Name "Matrix\nConcatenate1"
Ports [4, 1]
Position [660, 534, 725, 681]
SourceBlock "simulink/Math\nOperations/Matrix\nConcatenation"
SourceType "Matrix Concatenation"
numInports "4"
catMethod "Horizontal"
}
Block {
BlockType Reference
Name "Mean"
Ports [1, 1]
Position [985, 390, 1040, 430]
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 Reference
Name "Mean1"
Ports [1, 1]
Position [1135, 390, 1190, 430]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag2"
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 SubSystem
Name "Permute\nDimensions"
Description "Replaced Block"
Ports [1, 1]
Position [845, 180, 890, 230]
BackgroundColor "yellow"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "Replaced Block"
MaskDescription "This is a newly introduced block which was repl"
"aced with an empty Subsystem."
MaskDisplay "disp('Replaced: PermuteDimensions')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Permute\nDimensions"
Location [480, 93, 1016, 386]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [35, 23, 65, 37]
IconDisplay "Port number"
}
Block {
BlockType Ground
Name "Ground1"
Position [165, 20, 185, 40]
}
Block {
BlockType Terminator
Name "Terminator1"
Position [100, 20, 120, 40]
}
Block {
BlockType Outport
Name "Out1"
Position [250, 23, 280, 37]
IconDisplay "Port number"
}
Line {
SrcBlock "Ground1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Terminator1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Permute\nDimensions1"
Description "Replaced Block"
Ports [1, 1]
Position [860, 585, 905, 635]
BackgroundColor "yellow"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -