📄 dsb.mdl
字号:
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 "Digital\nFilter Design"
Ports [1, 1]
Position [395, 172, 460, 228]
UserDataPersistent on
UserData "DataTag0"
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType ""
ShowPortLabels on
}
Block {
BlockType Reference
Name "Digital\nFilter Design2"
Ports [1, 1]
Position [395, 237, 460, 293]
UserDataPersistent on
UserData "DataTag1"
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType ""
ShowPortLabels on
}
Block {
BlockType FromWorkspace
Name "From\nWorkspace1"
Position [100, 228, 165, 252]
VariableName "signal"
SampleTime "1/600"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [330, 182, 360, 213]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [330, 247, 360, 278]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [205, 304, 235, 336]
Location [153, 91, 477, 330]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData8"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [390, 99, 420, 131]
Location [428, 177, 752, 416]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData5"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope5"
Ports [1]
Position [505, 149, 535, 181]
Location [419, 54, 743, 293]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData9"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope6"
Ports [1]
Position [505, 289, 535, 321]
Location [119, 323, 443, 562]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope7"
Ports [1]
Position [655, 229, 685, 261]
Location [394, 437, 850, 684]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope8"
Ports [1]
Position [405, 349, 435, 381]
Location [198, 162, 522, 401]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData6"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope9"
Ports [1]
Position [285, 84, 315, 116]
Location [419, 54, 743, 293]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData7"
DataFormat "StructureWithTime"
}
Block {
BlockType Sin
Name "Sine Wave2"
Ports [0, 1]
Position [235, 165, 265, 195]
SineType "Time based"
Frequency "2*pi*20"
SampleTime "1/600"
}
Block {
BlockType Sin
Name "Sine Wave3"
Ports [0, 1]
Position [250, 275, 280, 305]
SineType "Time based"
Frequency "2*pi*20"
Phase "pi/2"
SampleTime "1/600"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [565, 235, 585, 255]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Line {
SrcBlock "Sine Wave2"
SrcPort 1
Points [-5, 0; 5, 0]
Branch {
Points [45, 0]
DstBlock "Product2"
DstPort 1
}
Branch {
DstBlock "Scope9"
DstPort 1
}
}
Line {
SrcBlock "Sine Wave3"
SrcPort 1
Points [30, 0]
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Digital\nFilter Design"
DstPort 1
}
Branch {
Points [-5, 0]
DstBlock "Scope3"
DstPort 1
}
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Digital\nFilter Design2"
DstPort 1
}
Branch {
Points [0, 100]
DstBlock "Scope8"
DstPort 1
}
}
Line {
SrcBlock "Digital\nFilter Design"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "Scope5"
DstPort 1
}
Branch {
Points [0, 20; 60, 0]
DstBlock "Sum1"
DstPort 1
}
}
Line {
SrcBlock "Digital\nFilter Design2"
SrcPort 1
Points [0, 5; 25, 0]
Branch {
DstBlock "Scope6"
DstPort 1
}
Branch {
DstBlock "Sum1"
DstPort 2
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Scope7"
DstPort 1
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -