📄 sysmdl_e.mdl
字号:
Model { Name "sysmdl_e" Version 2.09 SimParamPage WorkspaceI/O SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off PaperOrientation landscape PaperType usletter PaperUnits inches StartTime "0.0" StopTime "10.0" Solver ode45 RelTol "1e-3" AbsTol "1e-6" Refine "1" MaxStep "auto" InitialStep "auto" FixedStep "auto" MaxOrder 5 OutputOption RefineOutputTimes OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput off OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg warning MinStepSizeMsg warning UnconnectedInputMsg warning UnconnectedOutputMsg warning UnconnectedLineMsg warning ConsistencyChecking off ZeroCross on SimulationMode normal RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_vc.tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off ExtModeMexFile "ext_comm" ExtModeBatchMode off BlockDefaults { Orientation right ForegroundColor black BackgroundColor white DropShadow off NamePlacement normal FontName "Helvetica" FontSize 10 FontWeight normal FontAngle normal ShowName on } 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 "sysmdl_e" Location [179, 259, 541, 415] Open on ScreenColor white Block { BlockType Fcn Name "Fcn" Position [30, 102, 115, 138] Orientation left Expr "pow(u[1],3)-3*u[1]" MaskIconFrame on MaskIconOpaque on MaskIconRotate none MaskIconUnits autoscale } Block { BlockType Gain Name "Gain" Position [175, 30, 205, 60] Gain "-1" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [50, 27, 80, 58] Inputs "++" } Block { BlockType Integrator Name "x1\nIntegrator" Ports [1, 1, 0, 0, 0] Position [235, 22, 255, 68] ExternalReset none InitialConditionSource internal InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "x2\nIntegrator" Ports [1, 1, 0, 0, 0] Position [115, 22, 135, 68] ExternalReset none InitialConditionSource internal InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Outport Name "x1 Out" Position [315, 35, 335, 55] Port "1" OutputWhenDisabled held InitialOutput "0" } Block { BlockType Outport Name "x2 Out" Position [310, 110, 330, 130] Port "2" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "x1\nIntegrator" SrcPort 1 Points [25, 0] Branch { Points [0, 0] DstBlock "x1 Out" DstPort 1 } Branch { Points [0, -40; -270, 0; 0, 30] DstBlock "Sum" DstPort 1 } } Line { SrcBlock "Fcn" SrcPort 1 Points [-10, 0; 0, -70] DstBlock "Sum" DstPort 2 } Line { SrcBlock "x2\nIntegrator" SrcPort 1 Points [10, 0] Branch { Points [0, 75] Branch { DstBlock "x2 Out" DstPort 1 } Branch { DstBlock "Fcn" DstPort 1 } } Branch { DstBlock "Gain" DstPort 1 } } Line { SrcBlock "Sum" SrcPort 1 DstBlock "x2\nIntegrator" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "x1\nIntegrator" DstPort 1 } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -