📄 eventtriggered.mdl
字号:
Model { Name "eventtriggered" Version 4.00 SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowStorageClass off ExecutionOrder off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on BlockNameDataTip off BlockParametersDataTip on BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off InitFcn "clear functions" Created "Wed Nov 3 20:14:37 1999" Creator "anton" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%<Auto>" LastModifiedBy "anton" ModifiedDateFormat "%<Auto>" LastModifiedDate "Wed Jan 3 15:12:15 2007" ModelVersionFormat "1.%<AutoIncrement:314>" ConfigurationManager "none" SimParamPage "Solver" StartTime "0.0" StopTime "10" SolverMode "Auto" Solver "ode45" RelTol "1e-3" AbsTol "auto" Refine "1" MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "auto" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[0.00199]" LoadExternalInput off ExternalInput "[t, u]" SaveTime off TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput off OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" LimitDataPoints off MaxDataPoints "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" SingleTaskRateTransMsg "none" MultiTaskRateTransMsg "error" IntegerOverflowMsg "warning" CheckForMatrixSingularity "none" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" InvalidFcnCallConnMsg "error" SignalLabelMismatchMsg "none" LinearizationMsg "none" VectorMatrixConversionMsg "none" SfunCompatibilityCheckMsg "none" BlockPriorityViolationMsg "warning" ArrayBoundsChecking "none" ConsistencyChecking "none" ZeroCross on Profile off SimulationMode "normal" RTWSystemTargetFile "grt.tlc" RTWOptions "-aEnforceIntegerDowncast=1 -aExtMode=0 -aFoldNonRol""ledExpr=1 -aForceParamTrailComments=0 -aGenerateComments=1 -aIgnoreCustomStor""ageClasses=0 -aIncHierarchyInIds=0 -aInlineInvariantSignals=0 -aLocalBlockOut""puts=1 -aLogVarNameModifier=\"rt_\" -aRTWVerbose=1 -aRollThreshold=5 -aShowEl""iminatedStatements=1" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off TLCProfiler off TLCDebug off TLCCoverage off AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "oneshot" 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 off ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock off OptimizeBlockIOStorage on BufferReuse on ParameterPooling on BlockReductionOpt off RTWExpressionDepthLimit 5 BooleanDataType 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 "eventtriggered" Location [181, 318, 972, 791] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Abs Name "Abs" Position [400, 75, 430, 105] ShowName off SaturateOnIntegerOverflow on } Block { BlockType Reference Name "Band-Limited\nWhite Noise" Ports [0, 1] Position [230, 75, 260, 105] Orientation "down" SourceBlock "simulink3/Sources/Band-Limited\nWhite Noise" SourceType "Continuous White Noise." Cov "[0.1]" Ts "0.1" seed "[23341]" VectorParams1D on } Block { BlockType Clock Name "Clock" Position [15, 25, 35, 45] DisplayTime off Decimation "10" } Block { BlockType Constant Name "Constant" Position [425, 35, 455, 60] Orientation "down" NamePlacement "alternate" ShowName off Value "0.25" VectorParams1D on } Block { BlockType TransportDelay Name "Delay" Position [245, 230, 275, 260] Orientation "left" DelayTime "0.001" InitialInput "0" BufferSize "1024" PadeOrder "0" } Block { BlockType Demux Name "Demux" Ports [1, 2] Position [715, 211, 720, 249] BackgroundColor "black" ShowName off Outputs "2" BusSelectionMode off } Block { BlockType Display Name "Display" Ports [1] Position [70, 20, 160, 50] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType From Name "From" Position [520, 226, 550, 244] ShowName off CloseFcn "tagdialog Close" GotoTag "snd1" } Block { BlockType From Name "From1" Position [520, 246, 550, 264] ShowName off CloseFcn "tagdialog Close" GotoTag "snd2" } Block { BlockType From Name "From2" Position [60, 131, 90, 149] ShowName off CloseFcn "tagdialog Close" GotoTag "rcv1" } Block { BlockType From Name "From3" Position [425, 306, 455, 324] Orientation "left" ShowName off CloseFcn "tagdialog Close" GotoTag "rcv2" } Block { BlockType Goto Name "Goto" Position [735, 211, 765, 229] ShowName off GotoTag "rcv1" TagVisibility "global" } Block { BlockType Goto Name "Goto1" Position [735, 231, 765, 249] ShowName off GotoTag "rcv2" TagVisibility "global" } Block { BlockType Goto Name "Goto2" Position [560, 131, 590, 149] ShowName off GotoTag "snd1" TagVisibility "global" } Block { BlockType Goto Name "Goto3" Position [120, 291, 150, 309] Orientation "left" ShowName off GotoTag "snd2" TagVisibility "global" } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [290, 125, 320, 155] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [565, 226, 570, 264] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Gain Name "P-controller" Position [255, 285, 295, 315] Orientation "left" Gain "-1" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType RelationalOperator Name "Relational\nOperator" Position [465, 67, 495, 98] ShowName off Operator "<" } Block { BlockType Scope Name "Schedule" Ports [1] Position [735, 254, 765, 286] Floating off Location [817, 398, 1141, 637] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "xonly" List { ListType AxesTitles axes1 "%<SignalLabel>" } List { ListType SelectedSignals axes1 "" } Grid "on" TimeRange "10" YMin "1" YMax "2.5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitDataPoints off MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [235, 130, 255, 150] ShowName off IconShape "round" Inputs "++|" SaturateOnIntegerOverflow on } Block { BlockType Reference Name "TrueTime Network" Ports [1, 2] Position [590, 215, 685, 270] DropShadow on SourceBlock "truetime/TrueTime Network" SourceType "Real-Time Network" nwtype "CSMA/CD (Ethernet)" nwnbr "1" nnodes "2" rate "10000000" minsize "512" lossprob "0" bandwidths "[0.5 0.5]" slotsize "512" schedule "[1 1 2]" memsize "80000" buftype "Common buffer" overflow "Retransmit" } Block { BlockType Reference Name "ttGetMsg1" Ports [1, 1] Position [110, 112, 160, 168] DropShadow on SourceBlock "truetime/ttGetMsg" SourceType "" network "1" receiver "1" trigger off } Block { BlockType SubSystem Name "ttGetMsg2" Ports [1, 2] Position [345, 287, 395, 343] Orientation "left" DropShadow on AncestorBlock "truetime/ttGetMsg" ShowPortLabels on TreatAsAtomicUnit on RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskPromptString "network number|receiver id|trigger output" MaskStyleString "edit,edit,checkbox" MaskTunableValueString "off,off,off" MaskCallbackString "||ttgetmsgmaskchange" MaskEnableString "on,on,on" MaskVisibilityString "on,on,on" MaskToolTipString "on,on,on" MaskVariables "network=@1;receiver=@2;trigger=@3;" MaskSelfModifiable on MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "1|2|on" MaskVariableAliases ",,"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -