📄 test2.mdl
字号:
}
Name "Configuration"
SimulationMode "normal"
CurrentDlgPage "Solver"
}
PropName "ConfigurationSets"
}
Simulink.ConfigSet {
$PropName "ActiveConfigurationSet"
$ObjectID 1
}
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType Constant
Value "1"
VectorParams1D on
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
}
Block {
BlockType Derivative
LinearizePole "inf"
}
Block {
BlockType Gain
Gain "1"
Multiplication "Element-wise(K.*u)"
ParameterDataTypeMode "Same as input"
ParameterDataType "sfix(16)"
ParameterScalingMode "Best Precision: Matrix-wise"
ParameterScaling "2^0"
OutDataTypeMode "Same as input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Integrator
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
IgnoreLimit off
ZeroCross on
}
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 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"
}
Block {
BlockType TransportDelay
DelayTime "1"
InitialOutput "0"
BufferSize "1024"
FixedBuffer off
TransDelayFeedthrough off
PadeOrder "0"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "test2"
Location [637, 69, 1201, 370]
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 [35, 115, 65, 145]
Value "70"
}
Block {
BlockType Constant
Name "Constant1"
Position [35, 40, 65, 70]
Value "70"
}
Block {
BlockType Constant
Name "Constant2"
Position [35, 170, 65, 200]
Value "70"
}
Block {
BlockType Derivative
Name "Derivative"
Position [175, 170, 205, 200]
}
Block {
BlockType Gain
Name "Gain2"
Position [120, 40, 150, 70]
Gain "1/140"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [120, 170, 150, 200]
Gain "29.4"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [175, 40, 205, 70]
IgnoreLimit off
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [220, 249, 250, 281]
Floating off
Location [177, 384, 809, 685]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [395, 29, 425, 61]
Floating off
Location [188, 390, 512, 629]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [405, 104, 435, 136]
Floating off
Location [512, 410, 836, 649]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [405, 159, 435, 191]
Floating off
Location [830, 403, 1154, 642]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [85, 45, 105, 65]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [80, 175, 100, 195]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [300, 32, 360, 68]
Numerator "[167]"
Denominator "[1170 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Position [310, 107, 370, 143]
Numerator "[167]"
Denominator "[1170 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn2"
Position [310, 162, 370, 198]
Numerator "[167]"
Denominator "[1170 1]"
}
Block {
BlockType TransportDelay
Name "Transport\nDelay"
Position [140, 240, 170, 270]
DelayTime "70"
BufferSize "2000"
}
Line {
SrcBlock "Transport\nDelay"
SrcPort 1
Points [15, 0; 0, 10]
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
Points [-5, 0; 0, -5; 10, 0]
Branch {
DstBlock "Scope1"
DstPort 1
}
Branch {
Points [5, 0; 0, 35]
DstBlock "Sum"
DstPort 2
}
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [0, 0]
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn1"
SrcPort 1
Points [-5, 0; 0, -5]
DstBlock "Scope2"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [110, 0; 0, -5]
DstBlock "Transfer Fcn1"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn2"
SrcPort 1
Points [-5, 0; 0, -5; 15, 0]
Branch {
DstBlock "Scope3"
DstPort 1
}
Branch {
Points [5, 0; 0, 60; -300, 0]
DstBlock "Sum1"
DstPort 2
}
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [5, 0]
DstBlock "Derivative"
DstPort 1
}
Line {
SrcBlock "Derivative"
SrcPort 1
Points [40, 0; 0, -5]
DstBlock "Transfer Fcn2"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [35, 0; 0, -5]
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -