📄 ook.mdl
字号:
FontWeight "normal"
FontAngle "normal"
}
System {
Name "OOK"
Location [119, 85, 907, 556]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Constant
Name "Constant"
Position [550, 220, 580, 250]
Value "0.5"
SampleTime "1/600"
}
Block {
BlockType Reference
Name "Digital\nFilter Design1"
Ports [1, 1]
Position [370, 77, 435, 133]
UserDataPersistent on
UserData "DataTag0"
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType ""
ShowPortLabels on
}
Block {
BlockType Reference
Name "Digital\nFilter Design2"
Ports [1, 1]
Position [370, 167, 435, 223]
UserDataPersistent on
UserData "DataTag1"
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType ""
ShowPortLabels on
}
Block {
BlockType FromWorkspace
Name "From\nWorkspace1"
Position [30, 153, 95, 177]
VariableName "signal"
SampleTime "1/600"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [300, 177, 330, 208]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [300, 87, 330, 118]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [610, 212, 640, 243]
InputSameDT off
LogicOutDataTypeMode "Boolean"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [140, 229, 170, 261]
Location [97, 61, 421, 300]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [620, 134, 650, 166]
Location [73, 260, 397, 499]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope4"
Ports [1]
Position [660, 214, 690, 246]
Location [185, 424, 641, 663]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope5"
Ports [1]
Position [355, 34, 385, 66]
Location [175, 293, 499, 532]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope6"
Ports [1]
Position [360, 269, 390, 301]
Location [149, 499, 473, 738]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData4"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope7"
Ports [1]
Position [545, 74, 575, 106]
Location [123, 260, 447, 499]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData5"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope8"
Ports [1]
Position [525, 279, 555, 311]
Location [123, 260, 447, 499]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData6"
DataFormat "StructureWithTime"
}
Block {
BlockType Sin
Name "Sine Wave"
Ports [0, 1]
Position [235, 70, 265, 100]
SineType "Time based"
Amplitude "2"
Frequency "20*pi*2"
SampleTime "1/600"
}
Block {
BlockType Sin
Name "Sine Wave1"
Ports [0, 1]
Position [230, 205, 260, 235]
SineType "Time based"
Amplitude "2"
Frequency "20*pi*2"
Phase "pi/2"
SampleTime "1/600"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [510, 140, 530, 160]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [5, 0; 0, 10]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Sine Wave1"
SrcPort 1
Points [10, 0; 0, -20]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Digital\nFilter Design1"
DstPort 1
}
Branch {
DstBlock "Scope5"
DstPort 1
}
}
Line {
SrcBlock "Product"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Digital\nFilter Design2"
DstPort 1
}
Branch {
DstBlock "Scope6"
DstPort 1
}
}
Line {
SrcBlock "From\nWorkspace1"
SrcPort 1
Points [0, 0; 45, 0]
Branch {
Points [0, 25; -20, 0]
DstBlock "Scope2"
DstPort 1
}
Branch {
Points [140, 0; 0, -15]
Branch {
DstBlock "Product1"
DstPort 2
}
Branch {
DstBlock "Product"
DstPort 1
}
}
}
Line {
SrcBlock "Digital\nFilter Design2"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, 100]
DstBlock "Scope8"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -