📄 slide_example_linear_t.mdl
字号:
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1]
Position [835, 196, 840, 234]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux3"
Ports [3, 1]
Position [345, 286, 350, 364]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType SubSystem
Name "S"
Ports [2]
Position [230, 195, 270, 255]
TreatAsAtomicUnit off
System {
Name "S"
Location [421, 241, 881, 685]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "xd1"
Position [25, 68, 55, 82]
}
Block {
BlockType Inport
Name "xd3"
Position [25, 238, 55, 252]
Port "2"
}
Block {
BlockType Derivative
Name "Derivative1"
Position [150, 285, 180, 315]
Port {
PortNumber 1
Name "xd4"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Derivative
Name "Derivative2"
Position [145, 100, 175, 130]
Port {
PortNumber 1
Name "xd2"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType From
Name "From1"
Position [100, 15, 140, 45]
BackgroundColor "cyan"
CloseFcn "tagdialog Close"
GotoTag "x1"
}
Block {
BlockType From
Name "From2"
Position [150, 145, 190, 175]
BackgroundColor "green"
CloseFcn "tagdialog Close"
GotoTag "x2"
}
Block {
BlockType From
Name "From3"
Position [100, 195, 140, 225]
BackgroundColor "darkGreen"
NamePlacement "alternate"
CloseFcn "tagdialog Close"
GotoTag "x3"
}
Block {
BlockType From
Name "From4"
Position [140, 340, 180, 370]
BackgroundColor "red"
CloseFcn "tagdialog Close"
GotoTag "x4"
}
Block {
BlockType Gain
Name "Gain1"
Position [260, 230, 290, 260]
Gain "lamda2"
}
Block {
BlockType Gain
Name "Gain2"
Position [230, 60, 260, 90]
Gain "lamda1"
}
Block {
BlockType Goto
Name "Goto"
Position [355, 100, 395, 130]
BackgroundColor "magenta"
GotoTag "s1"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto1"
Position [395, 285, 435, 315]
BackgroundColor "[0.501961, 0.000000, 1.000000]"
GotoTag "s2"
TagVisibility "global"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [180, 65, 200, 85]
ShowName off
IconShape "round"
Inputs "+-|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
Port {
PortNumber 1
Name "e1"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [315, 290, 335, 310]
ShowName off
IconShape "round"
Inputs "++|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [220, 105, 240, 125]
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [295, 105, 315, 125]
ShowName off
IconShape "round"
Inputs "++|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [170, 235, 190, 255]
ShowName off
IconShape "round"
Inputs "+-|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum5"
Ports [2, 1]
Position [235, 290, 255, 310]
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Line {
SrcBlock "xd3"
SrcPort 1
Points [70, 0]
Branch {
DstBlock "Sum4"
DstPort 2
}
Branch {
Points [0, 55]
DstBlock "Derivative1"
DstPort 1
}
}
Line {
SrcBlock "xd1"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "Sum"
DstPort 2
}
Branch {
Points [0, 40]
DstBlock "Derivative2"
DstPort 1
}
}
Line {
SrcBlock "From1"
SrcPort 1
Points [45, 0]
DstBlock "Sum"
DstPort 1
}
Line {
Name "e1"
Labels [0, 0]
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
Name "xd2"
Labels [0, 0]
SrcBlock "Derivative2"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "From2"
SrcPort 1
Points [35, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [40, 0]
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "Goto"
DstPort 1
}
Line {
SrcBlock "From3"
SrcPort 1
Points [35, 0]
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
Name "xd4"
Labels [0, 0]
SrcBlock "Derivative1"
SrcPort 1
DstBlock "Sum5"
DstPort 1
}
Line {
SrcBlock "From4"
SrcPort 1
Points [60, 0]
DstBlock "Sum5"
DstPort 2
}
Line {
SrcBlock "Sum5"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [30, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Goto1"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [870, 189, 900, 221]
Location [305, 121, 853, 590]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-0.75"
YMax "-0.1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [865, 259, 895, 291]
Location [158, 95, 697, 535]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "1.25"
YMax "6.5"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope10"
Ports [1]
Position [230, 124, 260, 156]
Location [5, 60, 1021, 729]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-0.2"
YMax "-1.38778e-017"
SaveName "ScopeData10"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope11"
Ports [1]
Position [210, 169, 240, 201]
Location [5, 60, 1021, 729]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-0.2"
YMax "-1.38778e-017"
SaveName "ScopeData11"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope12"
Ports [1]
Position [545, 479, 575, 511]
Location [5, 60, 1021, 729]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-0.2"
YMax "-1.38778e-017"
SaveName "ScopeData12"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope13"
Ports [1]
Position [770, 14, 800, 46]
Location [1, 56, 1025, 733]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "12"
YMin "1600"
YMax "3200"
SaveName "ScopeData13"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope14"
Ports [1]
Position [625, 14, 655, 46]
Location [5, 60, 1021, 729]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "12"
YMin "1600"
YMax "3200"
SaveName "ScopeData14"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope15"
Ports [1]
Position [835, 104, 865, 136]
Location [243, 420, 846, 631]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "12"
YMin "-1.75e+288"
YMax "1.35243e+272"
SaveName "ScopeData15"
DataFormat "StructureWithTime"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -