📄 msk.mdl
字号:
ShowPortLabels on
}
Block {
BlockType Reference
Name "Digital\nFilter Design1"
Ports [1, 1]
Position [280, 172, 345, 228]
UserDataPersistent on
UserData "DataTag1"
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType ""
ShowPortLabels on
}
Block {
BlockType FromWorkspace
Name "From\nWorkspace"
Position [40, 158, 105, 182]
VariableName "signal"
SampleTime "1/600"
}
Block {
BlockType Gain
Name "Gain"
Position [620, 180, 650, 210]
Gain "600"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1/600"
}
Block {
BlockType Reference
Name "Integer Delay1"
Ports [1, 1]
Position [415, 88, 450, 122]
SourceBlock "simulink/Discrete/Integer Delay"
SourceType "Integer Delay"
vinit "0.0"
samptime "1/600"
NumDelays "1"
}
Block {
BlockType Reference
Name "Integer Delay2"
Ports [1, 1]
Position [420, 218, 455, 252]
SourceBlock "simulink/Discrete/Integer Delay"
SourceType "Integer Delay"
vinit "0.0"
samptime "1/600"
NumDelays "1"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [215, 117, 245, 148]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1/600"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [225, 182, 255, 213]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1/600"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [485, 97, 515, 128]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1/600"
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [485, 202, 515, 233]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1/600"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [405, 294, 435, 326]
Location [246, 346, 645, 601]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData5"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope12"
Ports [1]
Position [675, 224, 705, 256]
Location [365, 439, 761, 681]
Open on
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope13"
Ports [1]
Position [560, 299, 590, 331]
Location [300, 275, 624, 514]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope14"
Ports [1]
Position [610, 104, 640, 136]
Location [300, 275, 624, 514]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [395, 34, 425, 66]
Location [309, 297, 633, 536]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData6"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope4"
Ports [1]
Position [770, 179, 800, 211]
Location [203, 530, 673, 782]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope9"
Ports [1]
Position [285, 264, 315, 296]
Location [256, 273, 580, 512]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData4"
DataFormat "StructureWithTime"
}
Block {
BlockType Signum
Name "Sign"
Position [700, 180, 730, 210]
}
Block {
BlockType Sin
Name "Sine Wave"
Ports [0, 1]
Position [150, 85, 180, 115]
SineType "Time based"
Frequency "2*pi*20"
Phase "pi/2"
SampleTime "1/600"
}
Block {
BlockType Sin
Name "Sine Wave1"
Ports [0, 1]
Position [145, 215, 175, 245]
SineType "Time based"
Frequency "2*pi*20"
SampleTime "1/600"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [555, 160, 575, 180]
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1/600"
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [15, 0]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Sine Wave1"
SrcPort 1
Points [30, 0]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Digital\nFilter Design"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [0, 0]
Branch {
Points [0, 80]
DstBlock "Scope9"
DstPort 1
}
Branch {
DstBlock "Digital\nFilter Design1"
DstPort 1
}
}
Line {
SrcBlock "Digital\nFilter Design"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [40, 0]
Branch {
DstBlock "Integer Delay1"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Product3"
DstPort 1
}
}
Branch {
Points [0, -85]
DstBlock "Scope2"
DstPort 1
}
}
Line {
SrcBlock "Digital\nFilter Design1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -