📄 khoudiriaek.mdl
字号:
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Product
Inputs "2"
Multiplication "Element-wise(.*)"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Zero"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Relay
OnSwitchValue "eps"
OffSwitchValue "eps"
OnOutputValue "1"
OffOutputValue "0"
OutputDataTypeScalingMode "All ports same datatype"
OutDataType "sfix(16)"
OutScaling "2^0"
ConRadixGroup "Use specified scaling"
ZeroCross on
SampleTime "-1"
}
Block {
BlockType Scope
ModelBased off
TickLabels "OneTimeTick"
ZoomMode "on"
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "-1"
}
Block {
BlockType Sin
SineType "Time based"
TimeSource "Use simulation time"
Amplitude "1"
Bias "0"
Frequency "1"
Phase "0"
Samples "10"
Offset "0"
SampleTime "-1"
VectorParams1D on
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType TransferFcn
Numerator "[1]"
Denominator "[1 2 1]"
AbsoluteTolerance "auto"
Realization "auto"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "khoudiriaek"
Location [9, 69, 1021, 709]
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 [580, 285, 610, 315]
Value "0"
}
Block {
BlockType Constant
Name "Constant1"
Position [580, 345, 610, 375]
Value "0"
}
Block {
BlockType Constant
Name "Constant2"
Position [720, 370, 750, 400]
Value "0"
}
Block {
BlockType Constant
Name "Constant3"
Position [75, 407, 105, 423]
Value "400"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [420, 430, 450, 460]
Orientation "left"
NamePlacement "alternate"
}
Block {
BlockType Mux
Name "Mux"
Ports [6, 1]
Position [283, 120, 372, 125]
Orientation "up"
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [4, 1]
Position [477, 135, 553, 140]
Orientation "up"
ShowName off
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [6, 1]
Position [655, 163, 660, 347]
ForegroundColor "blue"
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [915, 205, 940, 225]
Floating off
Location [5, 60, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [980, 235, 1005, 255]
Floating off
Location [1, 56, 1025, 737]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [920, 265, 945, 285]
Floating off
Location [5, 60, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [980, 295, 1005, 315]
Floating off
Location [5, 60, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope4"
Ports [1]
Position [920, 325, 945, 345]
Floating off
Location [5, 60, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-0.5"
YMax "1.1"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope5"
Ports [1]
Position [980, 355, 1005, 375]
Floating off
Location [5, 60, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "1"
YMin "313.1"
YMax "313.85"
SaveName "ScopeData5"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope6"
Ports [1]
Position [980, 415, 1005, 435]
Floating off
Location [1, 56, 1025, 737]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData6"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope7"
Ports [1]
Position [925, 385, 950, 405]
Floating off
Location [1, 56, 1025, 737]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData7"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope8"
Ports [1]
Position [315, 60, 345, 90]
Orientation "up"
Floating off
Location [5, 60, 1029, 741]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-225"
YMax "225"
SaveName "ScopeData8"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope9"
Ports [1]
Position [500, 60, 530, 90]
Orientation "up"
Floating off
Location [5, 60, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-275"
YMax "275"
SaveName "ScopeData9"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [2, 8]
Position [790, 190, 840, 450]
BackgroundColor "orange"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem"
Location [2, 82, 1014, 722]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [60, 133, 90, 147]
NamePlacement "alternate"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Cr"
Position [530, 443, 560, 457]
Orientation "left"
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "A1"
Position [325, 65, 355, 95]
Orientation "left"
NamePlacement "alternate"
Gain "A1"
Multiplication "Matrix(K*u) (u vector)"
}
Block {
BlockType Gain
Name "A2"
Position [335, 230, 365, 260]
Orientation "left"
NamePlacement "alternate"
Gain "A2"
Multiplication "Matrix(K*u) (u vector)"
}
Block {
BlockType Gain
Name "A3"
Position [150, 315, 180, 345]
Orientation "up"
Gain "A3"
Multiplication "Matrix(K*u) (u vector)"
}
Block {
BlockType Gain
Name "B"
Position [195, 125, 225, 155]
Gain "B"
Multiplication "Matrix(K*u) (u vector)"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 6]
Position [555, 24, 560, 276]
BackgroundColor "black"
ShowName off
Outputs "6"
}
Block {
BlockType Gain
Name "Gain"
Position [555, 416, 605, 444]
Orientation "left"
NamePlacement "alternate"
ShowName off
Gain "Lm/(Lm+Lr)"
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [320, 135, 350, 165]
ShowName off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [290, 237, 305, 268]
Orientation "left"
NamePlacement "alternate"
ShowName off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [673, 360, 702, 385]
Orientation "down"
NamePlacement "alternate"
ShowName off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [713, 360, 742, 385]
Orientation "down"
NamePlacement "alternate"
ShowName off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [140, 220, 175, 230]
Orientation "up"
ShowName off
RndMeth "Floor"
}
Block {
BlockType Sum
Name "Sum"
Ports [4, 1]
Position [275, 113, 300, 182]
ShowName off
Inputs "++++"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [650, 410, 670, 450]
Orientation "left"
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [475, 421, 500, 459]
Orientation "left"
NamePlacement "alternate"
ShowName off
Inputs "+-"
}
Block {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -