📄 bpsk.mdl
字号:
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "Digital\nFilter Design"
Ports [1, 1]
Position [455, 212, 520, 268]
UserDataPersistent on
UserData "DataTag0"
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType ""
ShowPortLabels on
}
Block {
BlockType Reference
Name "Digital\nFilter Design2"
Ports [1, 1]
Position [455, 277, 520, 333]
UserDataPersistent on
UserData "DataTag1"
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType ""
ShowPortLabels on
}
Block {
BlockType FromWorkspace
Name "From\nWorkspace"
Position [160, 268, 225, 292]
VariableName "signal"
SampleTime "1/600"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [390, 222, 420, 253]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [390, 287, 420, 318]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [265, 344, 295, 376]
Location [153, 91, 477, 330]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData4"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [450, 139, 480, 171]
Location [428, 177, 752, 416]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData5"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [675, 354, 705, 386]
Location [419, 54, 743, 293]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope4"
Ports [1]
Position [565, 189, 595, 221]
Location [419, 54, 743, 293]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope5"
Ports [1]
Position [565, 329, 595, 361]
Location [119, 323, 443, 562]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope6"
Ports [1]
Position [770, 269, 800, 301]
Location [299, 401, 626, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope7"
Ports [1]
Position [465, 389, 495, 421]
Location [198, 162, 522, 401]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData6"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope8"
Ports [1]
Position [370, 124, 400, 156]
Location [419, 54, 743, 293]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData7"
DataFormat "StructureWithTime"
}
Block {
BlockType Signum
Name "Sign"
Position [710, 270, 740, 300]
}
Block {
BlockType Sin
Name "Sine Wave2"
Ports [0, 1]
Position [285, 185, 315, 215]
SineType "Time based"
Frequency "2*pi*20"
SampleTime "1/600"
}
Block {
BlockType Sin
Name "Sine Wave3"
Ports [0, 1]
Position [310, 315, 340, 345]
SineType "Time based"
Frequency "2*pi*20"
Phase "pi/2"
SampleTime "1/600"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [625, 275, 645, 295]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Line {
SrcBlock "Sine Wave2"
SrcPort 1
Points [15, 0; 0, 20]
Branch {
Points [40, 0]
DstBlock "Product2"
DstPort 1
}
Branch {
Points [15, 0; 0, -80]
DstBlock "Scope8"
DstPort 1
}
}
Line {
SrcBlock "Sine Wave3"
SrcPort 1
Points [30, 0]
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Digital\nFilter Design"
DstPort 1
}
Branch {
Points [-5, 0]
DstBlock "Scope2"
DstPort 1
}
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Digital\nFilter Design2"
DstPort 1
}
Branch {
Points [0, 100]
DstBlock "Scope7"
DstPort 1
}
}
Line {
SrcBlock "Digital\nFilter Design"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "Scope4"
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 "Scope5"
DstPort 1
}
Branch {
DstBlock "Sum1"
DstPort 2
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -