📄 wojie1.mdl
字号:
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 [80, 120, 110, 150]
Value "Q"
}
Block {
BlockType Constant
Name "Constant1"
Position [100, 75, 130, 105]
Value "A"
}
Block {
BlockType Gain
Name "Gain"
Position [150, 120, 180, 150]
Gain "K"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [270, 120, 300, 150]
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [390, 111, 435, 144]
InputSameDT off
}
Block {
BlockType RandomNumber
Name "Random\nNumber"
Position [310, 345, 340, 375]
SampleTime "0"
}
Block {
BlockType RandomNumber
Name "Random\nNumber1"
Position [135, 180, 165, 210]
SampleTime "0"
}
Block {
BlockType RandomNumber
Name "Random\nNumber2"
Position [115, 20, 145, 50]
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [540, 114, 570, 146]
Location [211, 316, 535, 555]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [490, 254, 520, 286]
Location [554, 320, 878, 559]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Sin
Name "Sine Wave"
Position [310, 185, 340, 215]
SineType "Time based"
Frequency "100"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave1"
Position [310, 240, 340, 270]
SineType "Time based"
Frequency "12"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave2"
Position [310, 295, 340, 325]
SineType "Time based"
Frequency "13"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [210, 125, 230, 145]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [450, 120, 470, 140]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [215, 35, 235, 55]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [4, 1]
Position [405, 190, 425, 390]
ShowName off
Inputs "|++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType ToFile
Name "To File"
Position [505, 180, 565, 210]
Filename "wojie.mat"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
Ports [1, 1]
Position [340, 120, 370, 150]
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "Trigonometric\nFunction"
DstPort 1
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Scope"
DstPort 1
}
Branch {
Points [0, 65]
DstBlock "To File"
DstPort 1
}
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [20, 0; 0, 50]
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Sine Wave1"
SrcPort 1
Points [20, 0; 0, 35]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Sine Wave2"
SrcPort 1
Points [20, 0; 0, 20]
DstBlock "Sum3"
DstPort 3
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [30, 0; 0, -20]
Branch {
DstBlock "Sum1"
DstPort 2
}
Branch {
DstBlock "Scope2"
DstPort 1
}
}
Line {
SrcBlock "Random\nNumber"
SrcPort 1
Points [20, 0; 0, 10]
DstBlock "Sum3"
DstPort 4
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [90, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Random\nNumber1"
SrcPort 1
Points [50, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Random\nNumber2"
SrcPort 1
Points [30, 0; 0, 10]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [135, 0]
DstBlock "Product"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -