📄 filter2.mdl
字号:
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType FrameConversion
OutFrame "Frame based"
}
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 SignalViewerScope
Floating off
ModelBased off
TickLabels "OneTimeTick"
ZoomMode "on"
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
Disabled off
ScrollMode 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 Rounding
Operator "floor"
SampleTime "-1"
}
Block {
BlockType Scope
Floating off
ModelBased off
TickLabels "OneTimeTick"
ZoomMode "on"
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
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"
}
}
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 "filter2"
Location [2, 82, 1014, 722]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "Raised Cosine\nReceive Filter1"
Ports [1, 1]
Position [530, 93, 610, 137]
SourceBlock "commfilt2/Raised Cosine\nReceive Filter"
SourceType "Raised Cosine Receive Filter"
ShowPortLabels on
filtType "Square root"
N "4"
D "15"
R "0.25"
sampMode "Sample-based"
rateMode "Downsampling"
downFactor "4"
downOffset "0"
checkGain "Normalized"
filterGain "1"
checkCoeff off
variableName "rcRxFilt1"
launchFVT off
}
Block {
BlockType Reference
Name "Raised Cosine\nTransmit Filter2"
Ports [1, 1]
Position [365, 93, 445, 137]
SourceBlock "commfilt2/Raised Cosine\nTransmit Filter"
SourceType "Raised Cosine Transmit Filter"
ShowPortLabels on
filtType "Square root"
D "15"
R "0.25"
sampMode "Sample-based"
N "4"
checkGain "Normalized"
filterGain "1"
checkCoeff off
variableName "rcTxFilt2"
launchFVT off
}
Block {
BlockType Reference
Name "Random Integer\nGenerator"
Ports [0, 1]
Position [195, 93, 275, 137]
FontName "Arial"
FontSize 10
SourceBlock "commrandsrc2/Random Integer\nGenerator"
SourceType "Random Integer Generator"
ShowPortLabels on
mul "8"
seed "37"
Ts "1"
frameBased off
sampPerFrame "1"
orient off
}
Block {
BlockType Scope
Name "Scope6"
Ports [1]
Position [365, 174, 395, 206]
Location [53, 197, 377, 436]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "100"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope8"
Ports [1]
Position [710, 99, 740, 131]
Location [43, 375, 367, 572]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "100"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope9"
Ports [1]
Position [510, 174, 540, 206]
Location [335, 250, 659, 512]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "100"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType SignalViewerScope
Name "Scope"
Ports []
Position [20, 15, 60, 55]
IOType "viewer"
Location [96, 323, 420, 562]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
ShowDataMarkers off
DataFormat "Array"
MaxDataPoints "7500"
RefreshTime 0.035000
Disabled off
}
Block {
BlockType SignalViewerScope
Name "Scope1"
Ports []
Position [20, 15, 60, 55]
IOType "viewer"
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
ShowDataMarkers off
DataFormat "Array"
MaxDataPoints "7500"
RefreshTime 1.500000
Disabled off
}
Block {
BlockType SignalViewerScope
Name "Scope2"
Ports []
Position [20, 15, 60, 55]
IOType "viewer"
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
ShowDataMarkers off
DataFormat "Array"
MaxDataPoints "7500"
RefreshTime 0.035000
Disabled off
}
Block {
BlockType SignalViewerScope
Name "Scope3"
Ports []
Position [20, 15, 60, 55]
IOType "viewer"
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
ShowDataMarkers off
DataFormat "Array"
MaxDataPoints "7500"
RefreshTime 0.035000
Disabled off
}
Block {
BlockType SignalViewerScope
Name "Scope4"
Ports []
Position [20, 15, 60, 55]
IOType "viewer"
Location [484, 477, 808, 716]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
ShowDataMarkers off
TimeRange "20"
DataFormat "Array"
MaxDataPoints "7500"
RefreshTime 1.500000
Disabled off
}
Block {
BlockType SignalViewerScope
Name "Scope5"
Ports []
Position [20, 15, 60, 55]
IOType "viewer"
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
ShowDataMarkers off
DataFormat "Array"
MaxDataPoints "7500"
RefreshTime 0.035000
Disabled off
}
Block {
BlockType SignalViewerScope
Name "Scope7"
Ports []
Position [20, 15, 60, 55]
IOType "viewer"
Location [376, 417, 700, 656]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
ShowDataMarkers off
DataFormat "Array"
MaxDataPoints "7500"
RefreshTime 0.035000
Disabled off
}
Line {
SrcBlock "Raised Cosine\nTransmit Filter2"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Raised Cosine\nReceive Filter1"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Scope9"
DstPort 1
}
}
Line {
SrcBlock "Raised Cosine\nReceive Filter1"
SrcPort 1
DstBlock "Scope8"
DstPort 1
}
Line {
SrcBlock "Random Integer\nGenerator"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Raised Cosine\nTransmit Filter2"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Scope6"
DstPort 1
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -