📄 lienard.mdl
字号:
Name "Integrator1"
Ports [1, 1]
Position [290, 94, 315, 126]
InitialCondition "-0.1"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [365, 132, 370, 188]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [405, 135, 445, 185]
Location [109, 58, 434, 297]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "100"
YMin "-4"
YMax "4"
DataFormat "Structure"
LimitDataPoints off
}
Block {
BlockType SubSystem
Name "See Lienard attractor"
Ports []
Position [47, 167, 108, 212]
BackgroundColor "cyan"
DropShadow on
OpenFcn "comet(xout(:,1),xout(:,2))"
TreatAsAtomicUnit off
MaskDisplay "disp('Double\\nClick\\nHere')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "See Lienard attractor"
Location [375, 175, 662, 416]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [1, 1]
Position [70, 78, 115, 122]
DropShadow on
TreatAsAtomicUnit off
System {
Name "Subsystem"
Location [320, 258, 771, 573]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 27, 65, 53]
}
Block {
BlockType Fcn
Name "Fcn"
Position [90, 22, 165, 58]
Expr "u^3"
}
Block {
BlockType Gain
Name "Gain"
Position [120, 87, 155, 123]
}
Block {
BlockType Sin
Name "Sine Wave"
Position [40, 90, 70, 120]
SineType "Time based"
Amplitude "12"
Frequency "4"
Phase "pi/2"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [220, 30, 245, 65]
Inputs "+-"
}
Block {
BlockType Outport
Name "Out1"
Position [280, 36, 320, 64]
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [35, 0; 0, -50]
DstBlock "Sum1"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [1, 1]
Position [240, 193, 285, 237]
Orientation "left"
DropShadow on
TreatAsAtomicUnit off
System {
Name "Subsystem1"
Location [320, 258, 771, 573]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 21, 55, 49]
}
Block {
BlockType Constant
Name "Constant"
Position [80, 79, 110, 111]
}
Block {
BlockType Fcn
Name "Fcn"
Position [75, 19, 145, 51]
Expr "u^2"
}
Block {
BlockType Gain
Name "Gain"
Position [220, 28, 255, 62]
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [175, 26, 200, 59]
Inputs "-+"
}
Block {
BlockType Outport
Name "Out1"
Position [280, 32, 320, 58]
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [40, 0; 0, -45]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [165, 91, 190, 124]
Inputs "-+"
}
Line {
SrcBlock "Subsystem"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 0]
DstBlock "Integrator1"
DstPort 1
}
Branch {
Points [0, 65]
Branch {
DstBlock "Mux"
DstPort 2
}
Branch {
DstBlock "Dot Product"
DstPort 1
}
}
}
Line {
SrcBlock "Dot Product"
SrcPort 1
Points [-20, 0; 0, -70]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, -55; -285, 0; 0, 45]
DstBlock "Subsystem"
DstPort 1
}
Branch {
Points [0, 35]
Branch {
DstBlock "Mux"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Subsystem1"
DstPort 1
}
}
}
Line {
SrcBlock "Subsystem1"
SrcPort 1
Points [-25, 0; 0, -25]
DstBlock "Dot Product"
DstPort 2
}
Annotation {
Name "x''"
Position [204, 101]
}
Annotation {
Name "x'"
Position [266, 100]
}
Annotation {
Name "x"
Position [323, 100]
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -