Model { Name "busdemo" Version 6.2 MdlSubVersion 0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.48" NumModelReferences 0 NumTestPointedSignals 0 } Description "Demonstration model for vector, matrix, and composi" "te signals\n\nThis model introduces you to the following Simulink concepts: " "\n\n * Distinguishing vector, matrix, and bus/composite signals \n * Understa" "nding signal line formats \n * Displaying and understanding signal dimensions" " \n * Using the Bus Creator and the Bus Selector blocks \n * Viewing matrix s" "ignals on a Simulink Scope \n * Highlighting blocks in the Simulink diagram\n" "\n" 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 "d" 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 12:46:57 1998" Creator "The MathWorks Inc." UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "batserve" ModifiedDateFormat "%" LastModifiedDate "Sat Jan 22 19:08:44 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 "10" AbsTol "auto" FixedStep "auto" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep ".05" 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 off SaveState off SignalLogging off SaveTime off 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 BusCreator Inputs "4" DisplayOption "none" UseBusObject off BusObject "BusObject" NonVirtualBus off } Block { BlockType BusSelector MuxedOutput off } Block { BlockType Clock DisplayTime off } Block { BlockType Constant Value "1" VectorParams1D on OutDataTypeMode "Inherit from 'Constant value'" OutDataType "sfix(16)" ConRadixGroup "Use specified scaling" OutScaling "2^0" SampleTime "inf" } Block { BlockType DiscretePulseGenerator PulseType "Sample based" TimeSource "Use simulation time" Amplitude "1" Period "2" PulseWidth "1" PhaseDelay "0" SampleTime "1" VectorParams1D on } Block { BlockType From IconDisplay "Tag" } 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 Goto IconDisplay "Tag" } 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 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 Product Inputs "2" Multiplication "Element-wise(.*)" InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } 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 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 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" } Block { BlockType Trigonometry Operator "sin" OutputSignalType "auto" 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 "busdemo" Location [138, 148, 701, 581] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType BusCreator Name "Bus\nCreator" Ports [2, 1] Position [235, 201, 240, 239] FontName "Arial" FontSize 12 Inputs "2" DisplayOption "bar" Port { PortNumber 1 Name "main_bus" PropagatedSignals "bus1, bus2" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } } Block { BlockType BusCreator Name "Bus\nCreator2" Ports [3, 1] Position [180, 286, 185, 324] FontName "Arial" FontSize 12 Inputs "3" DisplayOption "bar" Port { PortNumber 1 Name "bus2" PropagatedSignals "Clock, Pulse, Sine" ShowPropagatedSignals "on" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } } Block { BlockType BusSelector Name "Bus\nSelector" Ports [1, 2] Position [410, 64, 415, 126] FontName "Arial" FontSize 12 OutputSignals "bus2.Pulse,bus1.Chirp" Port { PortNumber 1 Name "" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } Port { PortNumber 2 Name "" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } } Block { BlockType Scope Name "Bus Output" Ports [2] Position [485, 64, 530, 126] StartFcn "open_system(gcbh)" FontName "Arial" FontSize 12 Location [626, 54, 992, 480] Open off NumInputPorts "2" List { ListType AxesTitles axes1 "%" axes2 "%" } TimeRange "10" YMin "-3~-5" YMax "3~5" DataFormat "Structure" } Block { BlockType Reference Name "Chirp Signal" Ports [0, 1] Position [30, 84, 50, 106] FontName "Arial" FontSize 12 SourceBlock "simulink/Sources/Chirp Signal" SourceType "chirp" ShowPortLabels on f1 "0.1" T "10" f2 "5" VectorParams1D on Port { PortNumber 1 Name "Chirp" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } } Block { BlockType Clock Name "Clock" Position [30, 230, 50, 250] FontName "Arial" FontSize 12 Decimation "10" Port { PortNumber 1 Name "Clock" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } } Block { BlockType Constant Name "Constant" Position [30, 165, 50, 185] FontName "Arial" FontSize 12 Port { PortNumber 1 Name "Constant" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } } Block { BlockType Goto Name "Goto" Position [95, 80, 135, 110] GotoTag "A" TagVisibility "global" } Block { BlockType SubSystem Name "More Info" Ports [] Position [370, 333, 523, 394] BackgroundColor "lightBlue" DropShadow on ShowName off OpenFcn "busdemoscript" FontName "Arial" FontSize 12 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "disp('Double click here \\nfor a step-by-step\\" "ntutorial on this model.')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "More Info" Location [84, 139, 647, 350] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Annotation { Name "This demonstration shows how signals may be" " grouped and ungrouped while\nretaining their names. In this demonstration, " "5 signals are created and labelled\nappropriately. These signals are then mu" "x'd together to create a bus of signals.\nThis bus of signals is then fed int" "o the Bus Selector block. Inside of the Bus \nSelector block, the Pulse and " "Chirp signals are chosen to be output from the \noriginal signal bus.\n\nIt i" "s possible to place a nest signal buses and then still retrieve the original " "signal\nwith its label." Position [20, 40] HorizontalAlignment "left" VerticalAlignment "top" FontName "Arial" FontSize 12 } Annotation { Name "Bus Block Demonstration" Position [233, 22] FontName "Arial" FontSize 14 FontWeight "bold" } } } Block { BlockType SubSystem Name "More Info1" Ports [] Position [15, 20, 39, 43] 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 [66, 30, 712, 454] 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" "\\nDemonstration model for vector, matrix, and composite signals\\n\\nThis mo" "del introduces you to the following Simulink concepts: \\n\\n * Distinguishi" "ng vector, matrix, and bus/composite signals \\n * Understanding signal line" " formats \\n * Displaying and understanding signal dimensions \\n * Using t" "he Bus Creator and the Bus Selector blocks \\n * Viewing matrix signals on a" " Simulink Scope \\n * Highlighting blocks in the Simulink diagram\\n\\n" HorizontalTextAlignment "Left" LeftAlignmentValue "0.02" SourceBlockDiagram "busdemo" TagMaxNumber "20" } } } Block { BlockType DiscretePulseGenerator Name "Pulse\nGenerator" Ports [0, 1] Position [30, 294, 50, 316] FontName "Arial" FontSize 12 Port { PortNumber 1 Name "Pulse" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } } Block { BlockType Sin Name "Sine Wave" Ports [0, 1] Position [30, 360, 50, 380] FontName "Arial" FontSize 12 SineType "Time based" SampleTime "0" Port { PortNumber 1 Name "Sine" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } } Block { BlockType SubSystem Name "Subsystem" Ports [1, 1] Position [150, 104, 200, 166] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" Port { PortNumber 1 PropagatedSignals "bus1" ShowPropagatedSignals "on" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } System { Name "Subsystem" Location [658, 90, 1002, 277] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [20, 123, 50, 137] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType BusCreator Name "Bus\nCreator1" Ports [2, 1] Position [105, 66, 110, 104] NamePlacement "alternate" Inputs "2" DisplayOption "bar" Port { PortNumber 1 Name "bus1" PropagatedSignals "Chirp, Constant" ShowPropagatedSignals "on" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } } Block { BlockType From Name "From" Position [15, 31, 55, 59] GotoTag "A" } Block { BlockType Outport Name "Out1" Position [235, 78, 265, 92] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "From" SrcPort 1 Points [15, 0; 0, 30] DstBlock "Bus\nCreator1" DstPort 1 } Line { Name "bus1" Labels [0, 0] SrcBlock "Bus\nCreator1" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [20, 0; 0, -35] DstBlock "Bus\nCreator1" DstPort 2 } } } Line { Name "Clock" FontName "Arial" FontSize 12 Labels [1, 0] SrcBlock "Clock" SrcPort 1 Points [95, 0; 0, 55] DstBlock "Bus\nCreator2" DstPort 1 } Line { Name "Pulse" FontName "Arial" FontSize 12 Labels [1, 0] SrcBlock "Pulse\nGenerator" SrcPort 1 DstBlock "Bus\nCreator2" DstPort 2 } Line { Name "Sine" FontName "Arial" FontSize 12 Labels [1, 0] SrcBlock "Sine Wave" SrcPort 1 Points [95, 0; 0, -55] DstBlock "Bus\nCreator2" DstPort 3 } Line { Name "Constant" FontName "Arial" FontSize 12 Labels [1, 0] SrcBlock "Constant" SrcPort 1 Points [80, 0] DstBlock "Subsystem" DstPort 1 } Line { Name "main_bus" Labels [0, 0] SrcBlock "Bus\nCreator" SrcPort 1 Points [80, 0; 0, -125] DstBlock "Bus\nSelector" DstPort 1 } Line { Name "" Labels [0, 0] SrcBlock "Bus\nSelector" SrcPort 1 DstBlock "Bus Output" DstPort 1 } Line { Name "" Labels [0, 0] SrcBlock "Bus\nSelector" SrcPort 2 DstBlock "Bus Output" DstPort 2 } Line { Labels [0, 0] SrcBlock "Subsystem" SrcPort 1 Points [5, 0; 0, 75] DstBlock "Bus\nCreator" DstPort 1 } Line { Name "bus2" Labels [0, 0] SrcBlock "Bus\nCreator2" SrcPort 1 Points [20, 0; 0, -75] DstBlock "Bus\nCreator" DstPort 2 } Line { Name "Chirp" FontName "Arial" FontSize 12 Labels [1, 0] SrcBlock "Chirp Signal" SrcPort 1 DstBlock "Goto" DstPort 1 } Annotation { Name "Bus Signal Demonstration" Position [266, 28] FontName "Arial Black" FontSize 18 } } }