📄 fm.mdl
字号:
}
Block {
BlockType Reference
Name "Digital\nFilter Design1"
Ports [1, 1]
Position [350, 257, 415, 313]
UserDataPersistent on
UserData "DataTag1"
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType ""
ShowPortLabels on
}
Block {
BlockType Reference
Name "Digital\nFilter Design2"
Ports [1, 1]
Position [770, 212, 835, 268]
UserDataPersistent on
UserData "DataTag2"
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType ""
ShowPortLabels on
}
Block {
BlockType FromWorkspace
Name "From\nWorkspace1"
Position [45, 213, 110, 237]
VariableName "signal"
SampleTime "1/600"
}
Block {
BlockType Gain
Name "Gain"
Position [675, 225, 705, 255]
Gain "200"
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 [485, 158, 520, 192]
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 [490, 288, 525, 322]
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 [280, 267, 310, 298]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [280, 172, 310, 203]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [555, 167, 585, 198]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1/600"
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [555, 272, 585, 303]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1/600"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [460, 374, 490, 406]
Location [300, 275, 624, 514]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope12"
Ports [1]
Position [730, 274, 760, 306]
Location [5, 54, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData8"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope13"
Ports [1]
Position [630, 369, 660, 401]
Location [300, 275, 624, 514]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData9"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope14"
Ports [1]
Position [650, 174, 680, 206]
Location [300, 275, 624, 514]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData10"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [475, 54, 505, 86]
Location [1, 50, 1025, 737]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [880, 224, 910, 256]
Location [283, 221, 741, 497]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope6"
Ports [1]
Position [145, 349, 175, 381]
Location [6, 54, 806, 248]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData6"
DataFormat "StructureWithTime"
}
Block {
BlockType Sin
Name "Sine Wave"
Ports [0, 1]
Position [200, 125, 230, 155]
SineType "Time based"
Amplitude "-1"
Frequency "2*pi*20"
SampleTime "1/600"
}
Block {
BlockType Sin
Name "Sine Wave1"
Ports [0, 1]
Position [200, 310, 230, 340]
SineType "Time based"
Frequency "2*pi*20"
Phase "-pi/2"
SampleTime "1/600"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [625, 230, 645, 250]
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1/600"
}
Line {
SrcBlock "Sine Wave1"
SrcPort 1
Points [15, 0; 0, -35]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [15, 0; 0, 40]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Digital\nFilter Design"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Digital\nFilter Design1"
DstPort 1
}
Line {
SrcBlock "From\nWorkspace1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Scope6"
DstPort 1
}
Branch {
Points [100, 0]
Branch {
Points [0, 50]
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, -30]
DstBlock "Product1"
DstPort 2
}
}
}
Line {
SrcBlock "Digital\nFilter Design"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [40, 0]
Branch {
DstBlock "Integer Delay1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -