📄 pengzhe1.mdl
字号:
LogVarNameModifier "rt_"
MatFileLogging on
MultiInstanceERTCode off
SupportNonFinite on
SupportComplex on
PurelyIntegerCode off
SupportContinuousTime on
SupportNonInlinedSFcns on
ExtMode off
ExtModeStaticAlloc off
ExtModeTesting off
ExtModeStaticAllocSize 1000000
ExtModeTransport 0
ExtModeMexFile "ext_comm"
RTWCAPISignals off
RTWCAPIParams off
RTWCAPIStates off
GenerateASAP2 off
}
PropName "Components"
}
}
PropName "Components"
}
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 "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType Clock
DisplayTime off
}
Block {
BlockType Fcn
Expr "sin(u[1])"
SampleTime "-1"
}
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 Outport
Port "1"
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 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"
}
}
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 "pengzhe1"
Location [229, 209, 963, 551]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Clock
Name "Clock"
Position [580, 254, 605, 276]
Orientation "left"
DisplayTime on
Decimation "1"
}
Block {
BlockType Fcn
Name "Fcn"
Position [420, 250, 480, 280]
Orientation "left"
Expr "exp(-3*u)+exp(-5*u)*sin(4*u+pi/3)"
}
Block {
BlockType Gain
Name "Gain"
Position [475, 80, 505, 110]
Gain "2"
}
Block {
BlockType Gain
Name "Gain1"
Position [435, 110, 465, 140]
Gain "4"
}
Block {
BlockType Gain
Name "Gain2"
Position [380, 140, 410, 170]
Gain "6"
}
Block {
BlockType Gain
Name "Gain3"
Position [320, 170, 350, 200]
Gain "5"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [145, 65, 175, 95]
InitialCondition "0.2"
IgnoreLimit off
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [220, 65, 250, 95]
InitialCondition "0.5"
IgnoreLimit off
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [295, 65, 325, 95]
InitialCondition "0.5"
IgnoreLimit off
}
Block {
BlockType Integrator
Name "Integrator3"
Ports [1, 1]
Position [370, 65, 400, 95]
InitialCondition "1"
IgnoreLimit off
}
Block {
BlockType Sum
Name "Sum"
Ports [4, 1]
Position [585, 110, 615, 140]
ShowName off
IconShape "round"
Inputs "|++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [370, 215, 390, 235]
Orientation "left"
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "Out1"
Position [460, 38, 490, 52]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Integrator1"
DstPort 1
}
Branch {
Points [0, 105]
DstBlock "Gain3"
DstPort 1
}
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Integrator2"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Gain2"
DstPort 1
}
}
Line {
SrcBlock "Integrator2"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Integrator3"
DstPort 1
}
Branch {
Points [0, 45]
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Integrator3"
SrcPort 1
Points [25, 0]
Branch {
Points [0, 15]
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, -35]
DstBlock "Out1"
DstPort 1
}
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [69, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [130, 0; 0, -9]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [245, 0]
DstBlock "Sum"
DstPort 4
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [10, 0; 0, 100]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [-35, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [-255, 0; 0, -145]
DstBlock "Integrator"
DstPort 1
}
Annotation {
Name "y(4)"
Position [116, 51]
}
Annotation {
Name "y(3)"
Position [198, 53]
}
Annotation {
Name "y(2)"
Position [265, 52]
}
Annotation {
Name "y(1)"
Position [340, 53]
}
Annotation {
Name "y"
Position [419, 53]
}
Annotation {
Name "pengzhe1.mdl"
Position [150, 279]
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -