📄 gchadapt.mdl
字号:
Inputs "+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType SubSystem
Name "C0"
Ports [2, 1]
Position [265, 121, 325, 159]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "C0"
Location [18, 421, 1030, 1082]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [315, 38, 345, 52]
Orientation "left"
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [265, 15, 295, 30]
Orientation "down"
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Gain
Name "Gain2"
Position [160, 40, 190, 70]
Orientation "left"
Gain "-g"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [80, 40, 110, 70]
Orientation "left"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [235, 37, 265, 68]
Orientation "left"
NamePlacement "alternate"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
Position [25, 48, 55, 62]
Orientation "left"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [0, 0]
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
Points [0, 0]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Integrator2"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "CT"
Ports [2, 1]
Position [365, 213, 425, 257]
Orientation "left"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "CT"
Location [30, 319, 1170, 1012]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [315, 38, 345, 52]
Orientation "left"
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [265, 15, 295, 30]
Orientation "down"
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Gain
Name "Gain2"
Position [160, 40, 190, 70]
Orientation "left"
Gain "-g"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [80, 40, 110, 70]
Orientation "left"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [235, 37, 265, 68]
Orientation "left"
NamePlacement "alternate"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
Position [25, 48, 55, 62]
Orientation "left"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [0, 0]
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
Points [0, 0]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Integrator2"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Gain
Name "Gain1"
Position [910, 100, 940, 130]
Gain "-1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [1095, 68, 1100, 132]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [1135, 84, 1165, 116]
Location [5, 54, 1285, 803]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-2.5"
YMax "2.5"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [280, 219, 310, 251]
Orientation "left"
Location [6, 54, 1149, 821]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [280, 284, 310, 316]
Orientation "left"
Location [6, 54, 1149, 821]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [280, 349, 310, 381]
Orientation "left"
Location [6, 54, 1149, 821]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Sin
Name "Sine Wave"
Ports [0, 1]
Position [70, 105, 100, 135]
SineType "Time based"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [860, 105, 880, 125]
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "-+|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType ZeroPole
Name "Zero-Pole"
Position [620, 139, 675, 171]
Zeros "[-1]"
Poles "[-2 -3]"
}
Block {
BlockType ZeroPole
Name "Zero-Pole1"
Position [615, 72, 675, 108]
Zeros "[-2.5 -2.4]"
Poles "[-1 -2 -3]"
}
Block {
BlockType SubSystem
Name "d0"
Ports [2, 1]
Position [365, 343, 425, 387]
Orientation "left"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "d0"
Location [101, 558, 1241, 1251]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [315, 38, 345, 52]
Orientation "left"
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [265, 15, 295, 30]
Orientation "down"
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Gain
Name "Gain2"
Position [160, 40, 190, 70]
Orientation "left"
Gain "-g"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [80, 40, 110, 70]
Orientation "left"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [235, 37, 265, 68]
Orientation "left"
NamePlacement "alternate"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
Position [25, 48, 55, 62]
Orientation "left"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [0, 0]
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
Points [0, 0]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Integrator2"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "dT"
Ports [2, 1]
Position [365, 278, 425, 322]
Orientation "left"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "dT"
Location [101, 558, 1241, 1251]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [315, 38, 345, 52]
Orientation "left"
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [265, 15, 295, 30]
Orientation "down"
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Gain
Name "Gain2"
Position [160, 40, 190, 70]
Orientation "left"
Gain "-g"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [80, 40, 110, 70]
Orientation "left"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [235, 37, 265, 68]
Orientation "left"
NamePlacement "alternate"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
Position [25, 48, 55, 62]
Orientation "left"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [0, 0]
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
Points [0, 0]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Integrator2"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "e2"
Ports [4, 1]
Position [605, 478, 625, 562]
Orientation "left"
NamePlacement "alternate"
Inputs "++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType SubSystem
Name "r"
Ports [2, 1]
Position [880, 397, 940, 433]
Orientation "left"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "r"
Location [2, 82, 1270, 775]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [245, 28, 275, 42]
Orientation "left"
Port "1"
IconDisplay "Port number"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -