📄 sub_bands.mdl
字号:
BlockType Constant
Value "1"
VectorParams1D on
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
}
Block {
BlockType DataTypeConversion
OutDataTypeMode "Inherit via back propagation"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
ConvertRealWorld "Real World Value (RWV)"
RndMeth "Zero"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Display
Format "short"
Decimation "10"
Floating off
SampleTime "-1"
}
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 Ground
}
Block {
BlockType Inport
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
Interpolate on
}
Block {
BlockType Lookup
InputValues "[-4:5]"
OutputValues " rand(1,10)-0.5"
LookUpMeth "Interpolation-Extrapolation"
OutDataTypeMode "Same as input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
LUTDesignTableMode "Redesign Table"
LUTDesignDataSource "Block Dialog"
LUTDesignFunctionName "sqrt(x)"
LUTDesignUseExistingBP on
LUTDesignRelError "0.01"
LUTDesignAbsError "1e-6"
}
Block {
BlockType MagnitudeAngleToComplex
Input "Magnitude and angle"
ConstantPart "0"
SampleTime "-1"
}
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 "M-S-Function"
MFile "mlfile"
}
Block {
BlockType Merge
Inputs "2"
InitialOutput "[]"
AllowUnequalInputPortWidths off
InputPortOffsets "[]"
}
Block {
BlockType Mux
Inputs "4"
DisplayOption "none"
BusObject "BusObject"
NonVirtualBus off
}
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 PMComponent
SubClassName "unknown"
}
Block {
BlockType PMIOPort
}
Block {
BlockType Probe
ProbeWidth on
ProbeSampleTime on
ProbeComplexSignal on
ProbeSignalDimensions off
ProbeFramedSignal off
ProbeWidthDataType "double"
ProbeSampleTimeDataType "double"
ProbeComplexityDataType "double"
ProbeDimensionsDataType "double"
ProbeFrameDataType "double"
}
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 Selector
InputType "Vector"
IndexMode "One-based"
ElementSrc "Internal"
Elements "1"
RowSrc "Internal"
Rows "1"
ColumnSrc "Internal"
Columns "1"
InputPortWidth "-1"
IndexIsStartValue off
OutputPortSize "1"
}
Block {
BlockType Sensor
SubClassName "unknown"
PortType "blob"
}
Block {
BlockType "S-Function"
FunctionName "system"
PortCounts "[]"
SFunctionModules "''"
}
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 Terminator
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Courier New"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Courier New"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "sub_bands"
Location [6, 74, 1007, 690]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Display
Name "Double-sided\nBandwidth MHz"
Ports [1]
Position [190, 177, 295, 203]
FontName "Arial"
FontSize 12
Decimation "1"
}
Block {
BlockType SubSystem
Name "Frame time to MHz"
Ports [1, 1]
Position [110, 110, 160, 140]
FontName "Arial"
FontSize 12
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Frame time to MHz"
Location [2, 70, 1022, 720]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Tf"
Position [15, 103, 45, 117]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Product
Name "1ms/Tf"
Ports [2, 1]
Position [330, 22, 375, 138]
Inputs "*/"
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Probe
Name "Probe"
Ports [1, 1]
Position [100, 99, 230, 121]
ProbeWidth off
ProbeComplexSignal off
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [245, 91, 285, 129]
InputPortWidth "2"
}
Block {
BlockType Constant
Name "microsecond"
Position [100, 35, 130, 65]
Value "1e-6"
}
Block {
BlockType Product
Name "s=>us"
Ports [2, 1]
Position [375, 171, 420, 204]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Display
Name "us"
Ports [1]
Position [455, 175, 545, 205]
Format "bank"
Decimation "1"
}
Block {
BlockType Constant
Name "usconv"
Position [260, 180, 290, 210]
Value "1e6"
}
Block {
BlockType Outport
Name "MHz"
Position [445, 73, 475, 87]
IconDisplay "Port number"
}
Line {
SrcBlock "Probe"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "microsecond"
SrcPort 1
DstBlock "1ms/Tf"
DstPort 1
}
Line {
SrcBlock "Tf"
SrcPort 1
DstBlock "Probe"
DstPort 1
}
Line {
SrcBlock "1ms/Tf"
SrcPort 1
DstBlock "MHz"
DstPort 1
}
Line {
SrcBlock "Selector"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "1ms/Tf"
DstPort 2
}
Branch {
Points [0, 70]
DstBlock "s=>us"
DstPort 1
}
}
Line {
SrcBlock "s=>us"
SrcPort 1
DstBlock "us"
DstPort 1
}
Line {
SrcBlock "usconv"
SrcPort 1
DstBlock "s=>us"
DstPort 2
}
}
}
Block {
BlockType Reference
Name "Input Port"
Description "source block"
Ports [1, 0, 0, 0, 0, 0, 1]
Position [110, 15, 155, 75]
FontName "Arial"
FontSize 12
SourceBlock "rfports1/Input Port"
SourceType "Input Port"
ShowPortLabels on
MaxLength "n_sub_bands"
Fc "f_c"
Ts "1/bandwidth"
Zs "Z0"
NoiseFlag off
seed "67987"
GoToTag "ABEBDJADCBUBZMEHZIEUUST"
}
Block {
BlockType Reference
Name "Output Port"
Ports [0, 1, 0, 0, 0, 1]
Position [315, 15, 360, 75]
FontName "Arial"
FontSize 12
SourceBlock "rfports1/Output Port"
SourceType "Output Port"
ShowPortLabels on
Zl "50"
num_Models "1"
GoToTag "ABEBDJADCBUBZMEHZIEUUST"
DisplayData off
PlotFreq "Derived from Input Port parameters"
Freq "1e9:1e8:3e9"
AllPlotType "Composite data"
NoBudgetPlot "Composite data"
NetworkData "S11"
SmithData "S11"
PolarData "S11"
ComplexFormat "Magnitude (decibels)"
DBFormat "Magnitude (decibels)"
DBMFormat "dBm"
NoneFormat "None"
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -