three.mdl
来自「一些基于matlab/simulink的模型」· MDL 代码 · 共 852 行 · 第 1/2 页
MDL
852 行
Model { Name "three" Version 4.0 SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off RecordCoverage off CovPath "/" CovSaveName "covdata" CovNameIncrementing off CovHtmlReporting on BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off InitFcn "clear functions" Created "Wed Sep 26 14:58:55 2001" Creator "dan" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%<Auto>" LastModifiedBy "dan" ModifiedDateFormat "%<Auto>" LastModifiedDate "Thu Oct 2 16:12:10 2003" ModelVersionFormat "1.%<AutoIncrement:35>" ConfigurationManager "none" SimParamPage "Solver" LinearizationMsg "none" Profile off AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "normal" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect on ExtModeLogAll on BufferReuse on SimulationMode "normal" Solver "ode45" SolverMode "Auto" StartTime "0.0" StopTime "8.0" MaxOrder 5 MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "auto" RelTol "1e-3" AbsTol "auto" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" LoadExternalInput off ExternalInput "[t, u]" LoadInitialState off InitialState "xInitial" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" Decimation "1" LimitDataPoints on MaxDataPoints "1000" ConsistencyChecking "none" ArrayBoundsChecking "none" AlgebraicLoopMsg "warning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" InheritedTsInSrcMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" CheckForMatrixSingularity "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SfunCompatibilityCheckMsg "none" RTWInlineParameters off BlockReductionOpt off BooleanDataType off ParameterPooling on OptimizeBlockIOStorage on ZeroCross on RTWSystemTargetFile "grt.tlc" RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off RTWRetainRTWFile off TLCProfiler off TLCDebug off TLCCoverage 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 "tp121023" Location [26, 422, 574, 847] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Clock Name "Clock" Position [40, 65, 60, 85] DisplayTime off Decimation "10" } Block { BlockType SubSystem Name "Computer" Ports [4, 4] Position [140, 127, 220, 238] ShowPortLabels on Permissions "ReadWrite" TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off System { Name "Computer" Location [338, 619, 763, 848] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "ref" Position [15, 23, 45, 37] Port "1" PortDimensions "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "h1" Position [15, 58, 45, 72] Port "2" PortDimensions "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "h2" Position [15, 88, 45, 102] Port "3" PortDimensions "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "h3" Position [15, 118, 45, 132] Port "4" PortDimensions "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Demux Name "Demux" Ports [1, 3] Position [290, 41, 295, 79] BackgroundColor "black" ShowName off Outputs "3" BusSelectionMode off } Block { BlockType Ground Name "Ground1" Position [100, 175, 120, 195] } Block { BlockType Ground Name "Ground2" Position [100, 140, 120, 160] } Block { BlockType Mux Name "Mux" Ports [4, 1] Position [75, 47, 110, 133] ShowName off Inputs "4" DisplayOption "none" } Block { BlockType Terminator Name "Terminator1" Position [310, 115, 330, 135] } Block { BlockType Terminator Name "Terminator2" Position [310, 75, 330, 95] } Block { BlockType Reference Name "TrueTime Kernel" Ports [3, 4] Position [150, 62, 265, 138] DropShadow on SourceBlock "truetime/TrueTime Kernel" SourceType "" sfun "three_init" } Block { BlockType Outport Name "u1" Position [360, 23, 390, 37] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "u2" Position [360, 53, 390, 67] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "u3" Position [360, 83, 390, 97] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Schedule" Position [360, 113, 390, 127] Port "4" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "ref" SrcPort 1 Points [5, 0; 0, 30] DstBlock "Mux" DstPort 1 } Line { SrcBlock "h1" SrcPort 1 Points [10, 0] DstBlock "Mux" DstPort 2 } Line { SrcBlock "TrueTime Kernel" SrcPort 4 Points [0, -5] DstBlock "Terminator1" DstPort 1 } Line { SrcBlock "TrueTime Kernel" SrcPort 3 Points [75, 0] DstBlock "Schedule" DstPort 1 } Line { SrcBlock "Ground2" SrcPort 1 Points [5, 0; 0, -50] DstBlock "TrueTime Kernel" DstPort 2 } Line { SrcBlock "Ground1" SrcPort 1 Points [10, 0] DstBlock "TrueTime Kernel" DstPort 3 } Line { SrcBlock "h2" SrcPort 1 Points [10, 0] DstBlock "Mux" DstPort 3 } Line { SrcBlock "h3" SrcPort 1 Points [10, 0] DstBlock "Mux" DstPort 4 } Line { SrcBlock "TrueTime Kernel" SrcPort 1 Points [5, 0] DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 Points [0, -20] DstBlock "u1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 DstBlock "u2" DstPort 1 } Line { SrcBlock "Demux" SrcPort 3 Points [45, 0] DstBlock "u3" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 Points [0, -15] DstBlock "TrueTime Kernel" DstPort 1 } Line { SrcBlock "TrueTime Kernel" SrcPort 2 Points [0, -5] DstBlock "Terminator2" DstPort 1 } } } Block { BlockType Display Name "Display" Ports [1] Position [100, 60, 190, 90] Format "short" Decimation "1" Floating off SampleTime "-1" }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?