Model { Name "triggeredsub" Version 6.2 MdlSubVersion 0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.18" NumModelReferences 0 NumTestPointedSignals 0 } Description "Triggered Subsystem Demonstration\n\nThis demonstra" "tion shows the concept of triggered subsystems and what the \ndifferent trigg" "er types are. A triggered subsystem is executed for one time step\nonly each" " time the trigger port transitions from false to true in a certain direction." "\nThe transition of the trigger port may occur when the direction of the tran" "sition\nis rising, falling or both rising and falling.\n\nA rising transition" " occurs when the trigger signal transitions from zero or below\nto a positive" " value. A falling transition occurs when the trigger signal transitions\nfro" "m zero or above to a negaive value.\n\nAfter running the simulation, look clo" "sely at the top plot in the scope. This shows\na sine wave, a waveform and t" "he grounded value of zero. As the waveform\ntransitions through zero, each o" "f the subsystems is triggered appropriately. The\noutput of each subsystem i" "s equal to the current value of the sine wave at the time.\n\nTo help view ex" "actly what is going on, you may want to turn the scope crosshair on.\nYou can" " do this by double clicking on the block that says Scope Crosshair. This wil" "l\nenable a set of crosshairs on the scope so that s you move your mouse you " "can line\ncorresponding values up across the plots." SavedCharacterEncoding "US-ASCII" SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ShowTestPointIcons on ShowViewerIcons on SortedOrder off ExecutionContextIcon off ShowLinearizationAnnotations on RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip off BlockParametersDataTip on BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Mon Jul 27 10:37:45 1998" Creator "The MathWorks Inc." UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "batserve" ModifiedDateFormat "%" LastModifiedDate "Sat Jan 22 19:09:01 2005" ModelVersionFormat "1.%" ConfigurationManager "none" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeBatchMode off ExtModeEnableFloating on ExtModeTrigType "manual" ExtModeTrigMode "oneshot" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigDurationFloating "auto" 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 BufferReuse on StrictBusMsg "None" ProdHWDeviceType "32-bit Generic" ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 1 Version "1.1.0" Array { Type "Handle" Dimension 7 Simulink.SolverCC { $ObjectID 2 Version "1.1.0" StartTime "0.0" StopTime "8" AbsTol "auto" FixedStep "auto" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep ".1" MinStep "auto" RelTol "1e-3" SolverMode "Auto" Solver "VariableStepDiscrete" SolverName "VariableStepDiscrete" ZeroCrossControl "UseLocalSettings" AlgebraicLoopSolver "TrustRegion" SolverResetMethod "Fast" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" RateTranMode "Deterministic" } Simulink.DataIOCC { $ObjectID 3 Version "1.1.0" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints off MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveFormat "Array" SaveOutput on SaveState off SignalLogging on SaveTime on StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsout" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" } Simulink.OptimizationCC { $ObjectID 4 Array { Type "Cell" Dimension 5 Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "InitFltsAndDblsToZero" Cell "OptimizeModelRefInitCode" Cell "NoFixptDivByZeroProtection" PropName "DisabledProps" } Version "1.1.0" BlockReduction off BooleanDataType off ConditionallyExecuteInputs on InlineParams off InlineInvariantSignals on OptimizeBlockIOStorage on BufferReuse on EnforceIntegerDowncast on ExpressionFolding on FoldNonRolledExpr on LocalBlockOutputs on ParameterPooling on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero on NoFixptDivByZeroProtection off EfficientFloat2IntCast off OptimizeModelRefInitCode off LifeSpan "inf" BufferReusableBoundary off } Simulink.DebuggingCC { $ObjectID 5 Version "1.1.0" RTPrefix "error" ConsistencyChecking "none" ArrayBoundsChecking "none" SignalInfNanChecking "none" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" CheckSSInitialOutputMsg on CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "TryResolveAllWithWarning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" SolverPrmCheckMsg "none" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "none" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterPrecisionLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" FcnCallInpInsideContextMsg "Use local settings" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SFcnCompatibilityMsg "none" UniqueDataStoreMsg "none" BusObjectLabelMismatch "none" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" ModelReferenceSimTargetVerbose off UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" } Simulink.HardwareCC { $ObjectID 6 Version "1.1.0" ProdBitPerChar 8 ProdBitPerShort 16 ProdBitPerInt 32 ProdBitPerLong 32 ProdIntDivRoundTo "Undefined" ProdEndianess "Unspecified" ProdWordSize 32 ProdShiftRightIntArith on ProdHWDeviceType "32-bit Generic" TargetBitPerChar 8 TargetBitPerShort 16 TargetBitPerInt 32 TargetBitPerLong 32 TargetShiftRightIntArith on TargetIntDivRoundTo "Undefined" TargetEndianess "Unspecified" TargetWordSize 32 TargetTypeEmulationWarnSuppressLevel 0 TargetPreprocMaxBitsSint 32 TargetPreprocMaxBitsUint 32 TargetHWDeviceType "Specified" TargetUnknown on ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 7 Version "1.1.0" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" ModelReferenceNumInstancesAllowed "Multi" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 8 Array { Type "Cell" Dimension 1 Cell "IncludeHyperlinkInReport" PropName "DisabledProps" } Version "1.1.0" SystemTargetFile "grt.tlc" GenCodeOnly off MakeCommand "make_rtw" TemplateMakefile "grt_default_tmf" Description "Generic Real-Time Target" GenerateReport off SaveLog off RTWVerbose on RetainRTWFile off ProfileTLC off TLCDebug off TLCCoverage off TLCAssert off ProcessScriptMode "Default" ConfigurationMode "Optimized" ConfigAtBuild off IncludeHyperlinkInReport off LaunchReport off TargetLang "C" Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 9 Array { Type "Cell" Dimension 9 Cell "IgnoreCustomStorageClasses" Cell "InsertBlockDesc" Cell "SFDataObjDesc" Cell "SimulinkDataObjDesc" Cell "DefineNamingRule" Cell "SignalNamingRule" Cell "ParamNamingRule" Cell "InlinedPrmAccess" Cell "CustomSymbolStr" PropName "DisabledProps" } Version "1.1.0" ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses on IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off IncDataTypeInIds off PrefixModelToSubsysFcnNames on CustomSymbolStr "$R$N$M" MangleLength 1 DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off SimulinkBlockComments on EnableCustomComments off InlinedPrmAccess "Literals" ReqsInCode off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 10 Array { Type "Cell" Dimension 12 Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "MultiInstanceERTCode" Cell "PurelyIntegerCode" Cell "SupportNonFinite" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" PropName "DisabledProps" } Version "1.1.0" TargetFcnLib "ansi_tfl_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" GenFloatMathFcnCalls "ANSI_C" UtilityFuncGeneration "Auto" GenerateFullHeader on GenerateSampleERTMain off IsPILTarget off ModelReferenceCompliant on IncludeMdlTerminateFcn on CombineOutputUpdateFcns off SuppressErrorStatus off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on 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 Ground } Block { BlockType Inport UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" Interpolate on } Block { BlockType Mux Inputs "4" DisplayOption "none" UseBusObject off BusObject "BusObject" NonVirtualBus off } Block { BlockType Outport Port "1" UseBusObject off 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 Reference } Block { BlockType Scope Floating off 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 "0" } Block { BlockType SignalGenerator WaveForm "sine" TimeSource "Use simulation time" Amplitude "1" Frequency "1" Units "Hertz" VectorParams1D on } Block { BlockType Sin SineType "Time based" TimeSource "Use simulation time" Amplitude "1" Bias "0" Frequency "1" Phase "0" Samples "10" Offset "0" SampleTime "-1" VectorParams1D on } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" PermitHierarchicalResolution "All" SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType TriggerPort TriggerType "rising" StatesWhenEnabling "inherit" ShowOutputPort off OutputDataType "auto" SampleTimeType "triggered" SampleTime "1" ZeroCross 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 "triggeredsub" Location [77, 138, 681, 562] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType SubSystem Name "Either" Ports [1, 1, 0, 1] Position [195, 297, 265, 343] FontName "Arial" FontSize 12 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" Port { PortNumber 1 Name "Either" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } System { Name "Either" Location [282, 339, 472, 461] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In" Position [25, 73, 55, 87] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType TriggerPort Name "Trigger" Ports [] Position [85, 15, 105, 35] TriggerType "either" } Block { BlockType Outport Name "Out" Position [135, 73, 165, 87] IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Line { SrcBlock "In" SrcPort 1 DstBlock "Out" DstPort 1 } } } Block { BlockType SubSystem Name "Falling" Ports [1, 1, 0, 1] Position [195, 208, 265, 252] FontName "Arial" FontSize 12 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" Port { PortNumber 1 Name "Falling" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } System { Name "Falling" Location [282, 339, 472, 461] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In" Position [25, 73, 55, 87] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType TriggerPort Name "Trigger" Ports [] Position [85, 15, 105, 35] TriggerType "falling" } Block { BlockType Outport Name "Out" Position [135, 73, 165, 87] IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Line { SrcBlock "In" SrcPort 1 DstBlock "Out" DstPort 1 } } } Block { BlockType Ground Name "Ground" Position [341, 120, 359, 135] Orientation "up" ShowName off FontName "Arial" FontSize 12 } Block { BlockType SubSystem Name "More Info1" Ports [] Position [15, 15, 39, 38] DropShadow on ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "disp('?')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "More Info1" Location [62, 10, 708, 434] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Reference Name "Model Info" Ports [] Position [15, 19, 610, 408] ShowName off FontName "Arial" SourceBlock "simulink/Model-Wide\nUtilities/Model Info" SourceType "CMBlock" ShowPortLabels "on" InitialBlockCM "none" BlockCM "none" Frame "on" DisplayStringWithTags "Model Description:\n-------------------\n\n" "%" MaskDisplayString "Model Description:\\n-------------------\\n" "\\nTriggered Subsystem Demonstration\\n\\nThis demonstration shows the concep" "t of triggered subsystems and what the \\ndifferent trigger types are. A tri" "ggered subsystem is executed for one time step\\nonly each time the trigger p" "ort transitions from false to true in a certain direction.\\nThe transition o" "f the trigger port may occur when the direction of the transition\\nis rising" ", falling or both rising and falling.\\n\\nA rising transition occurs when th" "e trigger signal transitions from zero or below\\nto a positive value. A fal" "ling transition occurs when the trigger signal transitions\\nfrom zero or abo" "ve to a negaive value.\\n\\nAfter running the simulation, look closely at the" " top plot in the scope. This shows\\na sine wave, a waveform and the grounde" "d value of zero. As the waveform\\ntransitions through zero, each of the sub" "systems is triggered appropriately. The\\noutput of each subsystem is equal " "to the current value of the sine wave at the time.\\n\\nTo help view exactly " "what is going on, you may want to turn the scope crosshair on.\\nYou can do t" "his by double clicking on the block that says Scope Crosshair. This will\\ne" "nable a set of crosshairs on the scope so that s you move your mouse you can " "line\\ncorresponding values up across the plots." HorizontalTextAlignment "Left" LeftAlignmentValue "0.02" SourceBlockDiagram "triggeredsub" TagMaxNumber "20" } } } Block { BlockType Mux Name "Mux1" Ports [3, 1] Position [380, 86, 385, 124] ShowName off FontName "Arial" FontSize 12 Inputs "3" DisplayOption "bar" Port { PortNumber 1 Name "Source & Trigger" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } } Block { BlockType Scope Name "Outputs" Ports [4] Position [425, 195, 470, 250] StartFcn "open_system(gcbh)" FontName "Arial" FontSize 12 Location [709, 29, 1200, 737] Open on NumInputPorts "4" TickLabels "on" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" axes4 "%" } TimeRange "8" YMin "-1.5~-1.5~-1.5~-1.5" YMax "1.5~1.5~1.5~1.5" SaveToWorkspace on SaveName "trigsubdata" DataFormat "Structure" LimitDataPoints off } Block { BlockType SubSystem Name "Rising" Ports [1, 1, 0, 1] Position [195, 118, 260, 162] FontName "Arial" FontSize 12 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" Port { PortNumber 1 Name "Rising" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } System { Name "Rising" Location [284, 341, 468, 454] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In" Position [20, 68, 50, 82] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType TriggerPort Name "Trigger" Ports [] Position [80, 15, 100, 35] } Block { BlockType Outport Name "Out" Position [130, 68, 160, 82] IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Line { SrcBlock "In" SrcPort 1 DstBlock "Out" DstPort 1 } } } Block { BlockType SignalGenerator Name "Signal Generator" Ports [0, 1] Position [45, 80, 75, 110] ForegroundColor "red" ShowName off AttributesFormatString "Waveform: %\\nFreq: % %" FontName "Arial" FontSize 12 WaveForm "square" Amplitude "0.5" } Block { BlockType Sin Name "Sine Wave" Ports [0, 1] Position [45, 305, 75, 335] ForegroundColor "orange" AttributesFormatString "Freq: % rad/sec" FontName "Arial" FontSize 12 SineType "Time based" Frequency "8" SampleTime "0" } Block { BlockType SubSystem Name "SubSystem" Ports [] Position [480, 202, 576, 250] NamePlacement "alternate" ShowName off OpenFcn "if strcmp(get_param(gcb,'sch'),'on'),val='off';" "else,val='on';end;set_param(gcb,'sch',val)" FontName "Arial" FontSize 12 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskType "Scope Crosshair" MaskDescription "Turn on/off the crosshair pointer on the scope " "named Outputs." MaskPromptString "Scope crosshair" MaskStyleString "checkbox" MaskTunableValueString "on" MaskEnableString "on" MaskVisibilityString "on" MaskToolTipString "on" MaskVariables "sch=&1;" MaskInitialization "f=get_param([gcs '/Outputs'],'Figure');\nif str" "cmp(sch,'on'),\n ptr='fullcrosshair';\nelse,\n ptr= 'arrow';\nend\nset(f,'p" "ointer',ptr)\n" MaskDisplay "disp(['Scope\\nCrosshair\\n' sch])" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "off" System { Name "SubSystem" Location [146, 180, 902, 673] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" } } Line { SrcBlock "Signal Generator" SrcPort 1 Points [0, 0; 50, 0] Branch { Points [95, 0] Branch { DstBlock "Rising" DstPort trigger } Branch { DstBlock "Mux1" DstPort 1 } } Branch { Points [0, 95] Branch { Points [0, 87; 100, 0] DstBlock "Either" DstPort trigger } Branch { Points [100, 0] DstBlock "Falling" DstPort trigger } } } Line { SrcBlock "Sine Wave" SrcPort 1 Points [0, 0; 85, 0] Branch { Points [0, -90] Branch { DstBlock "Falling" DstPort 1 } Branch { Points [0, -90] DstBlock "Rising" DstPort 1 } } Branch { DstBlock "Either" DstPort 1 } Branch { Points [0, 45; 165, 0; 0, -260] DstBlock "Mux1" DstPort 2 } } Line { SrcBlock "Ground" SrcPort 1 DstBlock "Mux1" DstPort 3 } Line { Name "Rising" FontName "Arial" FontSize 12 Labels [0, 1] SrcBlock "Rising" SrcPort 1 Points [125, 0; 0, 75] DstBlock "Outputs" DstPort 2 } Line { Name "Falling" FontName "Arial" FontSize 12 Labels [0, 1] SrcBlock "Falling" SrcPort 1 DstBlock "Outputs" DstPort 3 } Line { Name "Either" FontName "Arial" FontSize 12 Labels [0, 0] SrcBlock "Either" SrcPort 1 Points [120, 0; 0, -75] DstBlock "Outputs" DstPort 4 } Line { Name "Source & Trigger" FontName "Arial" FontSize 12 SrcBlock "Mux1" SrcPort 1 Points [15, 0; 0, 95] DstBlock "Outputs" DstPort 1 } Annotation { Name "Triggered Subsystem Demonstration" Position [258, 27] FontName "Arial" FontSize 18 FontWeight "bold" } } }