Model { Name "GestureControlledRoboticArm" Version 8.1 MdlSubVersion 0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.224" NumModelReferences 0 NumTestPointedSignals 0 } SavedCharacterEncoding "windows-1252" SaveDefaultBlockParams on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" DataTypeOverrideAppliesTo "AllNumericTypes" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" FPTRunName "Run 1" MaxMDLFileLineLength 120 Object { $PropName "BdWindowsInfo" $ObjectID 1 $ClassName "Simulink.BDWindowsInfo" Object { $PropName "WindowsInfo" $ObjectID 2 $ClassName "Simulink.WindowInfo" IsActive [1] Location [-9.0, -9.0, 1938.0, 1050.0] Object { $PropName "ModelBrowserInfo" $ObjectID 3 $ClassName "Simulink.ModelBrowserInfo" Visible [0] DockPosition "Left" Width [50] Height [50] Filter [9] } Object { $PropName "ExplorerBarInfo" $ObjectID 4 $ClassName "Simulink.ExplorerBarInfo" Visible [1] } Object { $PropName "EditorsInfo" $ObjectID 5 $ClassName "Simulink.EditorInfo" IsActive [1] ViewObjType "SimulinkTopLevel" LoadSaveID "0" Extents [1886.0, 850.0] ZoomFactor [1.0] Offset [0.0, -6.63750097155571] } } } Created "Fri Jun 03 10:13:39 2011" Creator "tchikama" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "Avinash" ModifiedDateFormat "%" LastModifiedDate "Mon Jul 11 18:15:22 2016" RTWModifiedTimeStamp 390161695 ModelVersionFormat "1.%" ConfigurationManager "None" SampleTimeColors off SampleTimeAnnotations off LibraryLinkDisplay "none" WideLines on ShowLineDimensions off ShowPortDataTypes off ShowDesignRanges off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass on ShowTestPointIcons on ShowSignalResolutionIcons on ShowViewerIcons on SortedOrder off ExecutionContextIcon off ShowLinearizationAnnotations on BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off SimulationMode "normal" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off Object { $PropName "DataLoggingOverride" $ObjectID 6 $ClassName "Simulink.SimulationData.ModelLoggingInfo" model_ "GestureControlledRoboticArm" Array { Type "Cell" Dimension 1 Cell "GestureControlledRoboticArm" PropName "logAsSpecifiedByModels_" } Array { Type "Cell" Dimension 1 Cell "" PropName "logAsSpecifiedByModelsSSIDs_" } } RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on CovForceBlockReductionOff on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on CovModelRefEnable "Off" CovExternalEMLEnable off ExtModeBatchMode off ExtModeEnableFloating on ExtModeTrigType "manual" ExtModeTrigMode "normal" 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 on ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on BufferReuse on ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 7 Version "1.13.0" Array { Type "Handle" Dimension 8 Simulink.SolverCC { $ObjectID 8 Version "1.13.0" StartTime "0.0" StopTime "inf" AbsTol "auto" FixedStep "auto" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ZcThreshold "auto" ConsecutiveZCsStepRelTol "10*128*eps" MaxConsecutiveZCs "1000" ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep "auto" MinStep "auto" MaxConsecutiveMinStep "1" RelTol "1e-3" SolverMode "Auto" EnableConcurrentExecution off ConcurrentTasks off Solver "FixedStepDiscrete" SolverName "FixedStepDiscrete" SolverJacobianMethodControl "auto" ShapePreserveControl "DisableAll" ZeroCrossControl "UseLocalSettings" ZeroCrossAlgorithm "Nonadaptive" AlgebraicLoopSolver "TrustRegion" SolverResetMethod "Fast" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" InsertRTBMode "Whenever possible" } Simulink.DataIOCC { $ObjectID 9 Version "1.13.0" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints on MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveCompleteFinalSimState off SaveFormat "Array" SignalLoggingSaveFormat "ModelDataLogs" SaveOutput off SaveState off SignalLogging on DSMLogging on InspectSignalLogs off SaveTime on ReturnWorkspaceOutputs off StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsout" DSMLoggingName "dsmout" OutputOption "RefineOutputTimes" OutputTimes "[]" ReturnWorkspaceOutputsName "out" Refine "1" } Simulink.OptimizationCC { $ObjectID 10 Version "1.13.0" Array { Type "Cell" Dimension 8 Cell "BooleansAsBitfields" Cell "PassReuseOutputArgsAs" Cell "PassReuseOutputArgsThreshold" Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "OptimizeModelRefInitCode" Cell "NoFixptDivByZeroProtection" Cell "UseSpecifiedMinMax" PropName "DisabledProps" } BlockReduction on BooleanDataType on ConditionallyExecuteInputs on InlineParams off UseIntDivNetSlope off UseFloatMulNetSlope off UseSpecifiedMinMax off InlineInvariantSignals off OptimizeBlockIOStorage on BufferReuse on EnhancedBackFolding off StrengthReduction off ExpressionFolding on BooleansAsBitfields off BitfieldContainerType "uint_T" EnableMemcpy on MemcpyThreshold 64 PassReuseOutputArgsAs "Structure reference" ExpressionDepthLimit 2147483647 FoldNonRolledExpr on LocalBlockOutputs on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero off NoFixptDivByZeroProtection off EfficientFloat2IntCast off EfficientMapNaN2IntZero on OptimizeModelRefInitCode off LifeSpan "inf" MaxStackSize "Inherit from target" BufferReusableBoundary on SimCompilerOptimization "On" AccelVerboseBuild off ParallelExecutionInRapidAccelerator on } Simulink.DebuggingCC { $ObjectID 11 Version "1.13.0" RTPrefix "error" ConsistencyChecking "none" ArrayBoundsChecking "none" SignalInfNanChecking "none" SignalRangeChecking "none" ReadBeforeWriteMsg "UseLocalSettings" WriteAfterWriteMsg "UseLocalSettings" WriteAfterReadMsg "UseLocalSettings" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" SaveWithDisabledLinksMsg "warning" SaveWithParameterizedLinksMsg "warning" CheckSSInitialOutputMsg on UnderspecifiedInitializationDetection "Classic" MergeDetectMultiDrivingBlocksExec "none" CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "UseLocalSettings" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" TimeAdjustmentMsg "none" MaxConsecutiveZCsMsg "error" MaskedZcDiagnostic "warning" IgnoredZcDiagnostic "warning" SolverPrmCheckMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "error" MultiTaskCondExecSysMsg "error" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" SigSpecEnsureSampleTimeMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterUnderflowMsg "none" ParameterPrecisionLossMsg "warning" ParameterTunabilityLossMsg "warning" FixptConstUnderflowMsg "none" FixptConstOverflowMsg "none" FixptConstPrecisionLossMsg "none" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" FcnCallInpInsideContextMsg "UseLocalSettings" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SFcnCompatibilityMsg "none" FrameProcessingCompatibilityMsg "warning" UniqueDataStoreMsg "none" BusObjectLabelMismatch "warning" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceMultiInstanceNormalModeStructChecksumCheck "error" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" StateNameClashWarn "warning" SimStateInterfaceChecksumMismatchMsg "warning" SimStateOlderReleaseMsg "error" InitInArrayFormatMsg "warning" StrictBusMsg "ErrorLevel1" BusNameAdapt "WarnAndRepair" NonBusSignalsTreatedAsBus "none" LoggingUnavailableSignals "error" BlockIODiagnostic "none" SFUnusedDataAndEventsDiag "warning" SFUnexpectedBacktrackingDiag "warning" SFInvalidInputDataAccessInChartInitDiag "warning" SFNoUnconditionalDefaultTransitionDiag "warning" SFTransitionOutsideNaturalParentDiag "warning" SFUnconditionalTransitionShadowingDiag "warning" SFUndirectedBroadcastEventsDiag "warning" SFTransitionActionBeforeConditionDiag "warning" } Simulink.HardwareCC { $ObjectID 12 Version "1.13.0" ProdBitPerChar 8 ProdBitPerShort 16 ProdBitPerInt 32 ProdBitPerLong 32 ProdBitPerLongLong 64 ProdBitPerFloat 32 ProdBitPerDouble 64 ProdBitPerPointer 32 ProdLargestAtomicInteger "Char" ProdLargestAtomicFloat "None" ProdIntDivRoundTo "Zero" ProdEndianess "LittleEndian" ProdWordSize 32 ProdShiftRightIntArith on ProdLongLongMode off ProdHWDeviceType "Generic->32-bit x86 compatible" TargetBitPerChar 8 TargetBitPerShort 16 TargetBitPerInt 32 TargetBitPerLong 32 TargetBitPerLongLong 64 TargetBitPerFloat 32 TargetBitPerDouble 64 TargetBitPerPointer 32 TargetLargestAtomicInteger "Char" TargetLargestAtomicFloat "None" TargetShiftRightIntArith on TargetLongLongMode off TargetIntDivRoundTo "Undefined" TargetEndianess "Unspecified" TargetWordSize 32 TargetTypeEmulationWarnSuppressLevel 0 TargetPreprocMaxBitsSint 32 TargetPreprocMaxBitsUint 32 TargetHWDeviceType "Specified" TargetUnknown off ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 13 Version "1.13.0" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" EnableParallelModelReferenceBuilds off ParallelModelReferenceErrorOnInvalidPool on ParallelModelReferenceMATLABWorkerInit "None" ModelReferenceNumInstancesAllowed "Multi" PropagateVarSize "Infer from blocks in model" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off PropagateSignalLabelsOutOfModel off SupportModelReferenceSimTargetCustomCode off } Simulink.SFSimCC { $ObjectID 14 Version "1.13.0" SFSimEnableDebug on SFSimOverflowDetection on SFSimEcho on SimBlas on SimCtrlC on SimExtrinsic on SimIntegrity on SimUseLocalCustomCode off SimParseCustomCode on SimBuildMode "sf_incremental_build" } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 15 Version "1.13.0" Array { Type "Cell" Dimension 7 Cell "IncludeHyperlinkInReport" Cell "GenerateTraceInfo" Cell "GenerateTraceReport" Cell "GenerateTraceReportSl" Cell "GenerateTraceReportSf" Cell "GenerateTraceReportEml" Cell "GenerateSLWebview" PropName "DisabledProps" } SystemTargetFile "grt.tlc" GenCodeOnly off MakeCommand "make_rtw" GenerateMakefile on PackageGeneratedCodeAndArtifacts off 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" ProcessScript "grt_make_rtw_hook" ConfigAtBuild off RTWUseLocalCustomCode off RTWUseSimCustomCode off IncludeHyperlinkInReport off LaunchReport off PortableWordSizes off GenerateErtSFunction off CreateSILPILBlock "None" CodeExecutionProfiling off CodeExecutionProfileVariable "executionProfile" CodeProfilingSaveOptions "SummaryOnly" CodeProfilingInstrumentation off SILDebugging off TargetLang "C" IncludeBusHierarchyInRTWFileBlockHierarchyMap off IncludeERTFirstTime off GenerateTraceInfo off GenerateTraceReport off GenerateTraceReportSl off GenerateTraceReportSf off GenerateTraceReportEml off GenerateCodeInfo off GenerateWebview off GenerateCodeMetricsReport off GenerateCodeReplacementReport off RTWCompilerOptimization "On" CheckMdlBeforeBuild "Off" CustomRebuildMode "OnUpdate" Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 16 Version "1.13.0" Array { Type "Cell" Dimension 21 Cell "IgnoreCustomStorageClasses" Cell "IgnoreTestpoints" Cell "InsertBlockDesc" Cell "InsertPolySpaceComments" Cell "SFDataObjDesc" Cell "MATLABFcnDesc" Cell "SimulinkDataObjDesc" Cell "DefineNamingRule" Cell "SignalNamingRule" Cell "ParamNamingRule" Cell "InlinedPrmAccess" Cell "CustomSymbolStr" Cell "CustomSymbolStrGlobalVar" Cell "CustomSymbolStrType" Cell "CustomSymbolStrField" Cell "CustomSymbolStrFcn" Cell "CustomSymbolStrFcnArg" Cell "CustomSymbolStrBlkIO" Cell "CustomSymbolStrTmpVar" Cell "CustomSymbolStrMacro" Cell "ReqsInCode" PropName "DisabledProps" } ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses on IgnoreTestpoints off IncHierarchyInIds off MaxIdLength 95 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off OperatorAnnotations off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off MATLABFcnDesc off IncDataTypeInIds off MangleLength 1 CustomSymbolStrGlobalVar "$R$N$M" CustomSymbolStrType "$N$R$M_T" CustomSymbolStrField "$N$M" CustomSymbolStrFcn "$R$N$M$F" CustomSymbolStrFcnArg "rt$I$N$M" CustomSymbolStrBlkIO "rtb_$N$M" CustomSymbolStrTmpVar "$N$M" CustomSymbolStrMacro "$R$N$M" DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off InsertPolySpaceComments off SimulinkBlockComments on MATLABSourceComments off EnableCustomComments off InternalIdentifier "Shortened" InlinedPrmAccess "Literals" ReqsInCode off UseSimReservedNames off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 17 Version "1.13.0" Array { Type "Cell" Dimension 16 Cell "GeneratePreprocessorConditionals" Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "GenerateTestInterfaces" Cell "ModelStepFunctionPrototypeControlCompliant" Cell "CPPClassGenCompliant" Cell "PortableWordSizes" Cell "PurelyIntegerCode" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" Cell "GenerateAllocFcn" PropName "DisabledProps" } TargetFcnLib "ansi_tfl_table_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" CodeReplacementLibrary "ANSI_C" UtilityFuncGeneration "Auto" ERTMultiwordTypeDef "System defined" ERTMultiwordLength 256 MultiwordLength 2048 GenerateFullHeader on GenerateSampleERTMain off GenerateTestInterfaces off IsPILTarget off ModelReferenceCompliant on ParMdlRefBuildCompliant on CompOptLevelCompliant on ConcurrentExecutionCompliant on IncludeMdlTerminateFcn on GeneratePreprocessorConditionals "Disable all" CombineOutputUpdateFcns off CombineSignalStateStructs off SuppressErrorStatus off ERTFirstTimeCompliant off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on SupportVariableSizeSignals off EnableShiftOperators on ParenthesesLevel "Nominal" MATLABClassNameForMDSCustomization "Simulink.SoftwareTarget.GRTCustomization" ModelStepFunctionPrototypeControlCompliant off CPPClassGenCompliant off AutosarCompliant off GRTInterface on GenerateAllocFcn off UseMalloc off ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" ExtModeIntrfLevel "Level1" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off RTWCAPIRootIO off GenerateASAP2 off } PropName "Components" } } PropName "Components" } Name "Configuration" ExtraOptions "-aGenerateTraceInfo=0 -aIgnoreTestpoints=0 " CurrentDlgPage "Solver" ConfigPrmDlgPosition [ 400, 210, 1280, 840 ] } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 7 } Object { $PropName "DataTransfer" $ObjectID 18 $ClassName "Simulink.GlobalDataTransfer" DefaultTransitionBetweenSyncTasks "Ensure deterministic transfer (maximum delay)" DefaultTransitionBetweenAsyncTasks "Ensure data integrity only" DefaultTransitionBetweenContTasks "Ensure deterministic transfer (minimum delay)" DefaultExtrapolationMethodBetweenContTasks "None" AutoInsertRateTranBlk [0] } ExplicitPartitioning off BlockDefaults { ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "MS UI Gothic" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on BlockRotation 0 BlockMirror off } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "MS UI Gothic" FontSize 10 FontWeight "normal" FontAngle "normal" UseDisplayTextAsClickCallback off } LineDefaults { FontName "MS UI Gothic" FontSize 9 FontWeight "normal" FontAngle "normal" } MaskDefaults { SelfModifiable "off" IconFrame "on" IconOpaque "on" RunInitForIconRedraw "off" IconRotate "none" PortRotate "default" IconUnits "autoscale" } MaskParameterDefaults { Evaluate "on" Tunable "on" NeverSave "off" Internal "off" ReadOnly "off" Enabled "on" Visible "on" ToolTip "on" } BlockParameterDefaults { Block { BlockType Constant Value "1" VectorParams1D on SamplingMode "Sample based" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Inherit from 'Constant value'" LockScale off SampleTime "inf" FramePeriod "inf" PreserveConstantTs off } Block { BlockType DataTypeConversion OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Inherit via back propagation" LockScale off ConvertRealWorld "Real World Value (RWV)" RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Demux Outputs "4" DisplayOption "none" BusSelectionMode off } Block { BlockType Display Format "short" Decimation "10" Floating off SampleTime "-1" } Block { BlockType Inport Port "1" OutputFunctionCall off OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: auto" LockScale off BusOutputAsStruct off PortDimensions "-1" VarSizeSig "Inherit" SampleTime "-1" SignalType "auto" SamplingMode "auto" LatchByDelayingOutsideSignal off LatchInputForFeedbackSignals off Interpolate on } Block { BlockType M-S-Function FunctionName "matlabfile" DisplayMFileStacktrace on } Block { BlockType Math Operator "exp" OutputSignalType "auto" SampleTime "-1" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Same as first input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on IntermediateResultsDataTypeStr "Inherit: Inherit via internal rule" AlgorithmType "Newton-Raphson" Iterations "3" } Block { BlockType Memory X0 "0" InheritSampleTime off LinearizeMemory off LinearizeAsDelay off StateMustResolveToSignalObject off RTWStateStorageClass "Auto" } Block { BlockType MultiPortSwitch DataPortOrder "One-based contiguous" Inputs "3" DataPortIndices "{1,2,3}" DataPortForDefault "Last data port" DiagnosticForDefault "Error" zeroidx off InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Inherit via internal rule" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" AllowDiffInputSizes off } Block { BlockType Outport Port "1" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: auto" LockScale off BusOutputAsStruct off PortDimensions "-1" VarSizeSig "Inherit" SampleTime "-1" SignalType "auto" SamplingMode "auto" SourceOfInitialOutputValue "Dialog" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType S-Function FunctionName "system" SFunctionModules "''" PortCounts "[]" SFunctionDeploymentMode off } Block { BlockType SubSystem ShowPortLabels "FromPortIcon" Permissions "ReadWrite" PermitHierarchicalResolution "All" TreatAsAtomicUnit off CheckFcnCallInpInsideContextMsg off SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" FunctionInterfaceSpec "void_void" RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" SimViewingDevice off DataTypeOverride "UseLocalSettings" DataTypeOverrideAppliesTo "AllNumericTypes" MinMaxOverflowLogging "UseLocalSettings" SFBlockType "NONE" Variant off GeneratePreprocessorConditionals off } Block { BlockType Sum IconShape "rectangular" Inputs "++" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on AccumDataTypeStr "Inherit: Inherit via internal rule" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Same as first input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Switch Criteria "u2 >= Threshold" Threshold "0" InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Inherit via internal rule" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on ZeroCross on SampleTime "-1" AllowDiffInputSizes off } Block { BlockType Terminator } } System { Name "GestureControlledRoboticArm" Location [-9, -9, 1929, 1041] Open on ModelBrowserVisibility off ModelBrowserWidth 212 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" ReportName "simulink-default.rpt" SIDHighWatermark "121" Block { BlockType Display Name "A" SID "88" Ports [1] Position [875, 286, 1025, 324] ZOrder 186 FontSize 28 Decimation "1" Lockdown off } Block { BlockType Reference Name "Aquiring Data \nFrom Kinect" SID "89" Ports [0, 1] Position [505, 130, 640, 160] ZOrder 178 LibraryVersion "1.376" FontName "Arial" FontSize 14 SourceBlock "nid_lib/NID IMAQ" SourceType "NID IMAQ" imaq_depth off imaq_motion off imaq_image on view_point off imaq_skeleton on imaq_ir off mirror_image off imaq_sample_time "1/30" res_fps "VGA (640x480): 30 FPS" needPsiPose off angle_input off angle "0" angle_read off near_mode off seated_mode off skeleton_smooth "[0.5 0.5 0.5 0.05 0.04]" infer_skeleton on } Block { BlockType Reference Name "Aquiring RGB Camera Data" SID "90" Ports [1, 1] Position [690, 27, 820, 83] ZOrder 179 LibraryVersion "1.376" FontName "Arial" FontSize 14 SourceBlock "nid_lib/NID Image" SourceType "NID Image" imageOutput "RGB" } Block { BlockType Reference Name "Aquiring Skeletal & Image Data" SID "91" Ports [1, 3] Position [690, 117, 880, 183] ZOrder 177 LibraryVersion "1.376" FontName "Arial" FontSize 14 SourceBlock "nid_lib/NID Skeleton" SourceType "NID Skeleton" num_of_skeleton_tracking "1" conv_XYZ_RW on viewer on } Block { BlockType Display Name "B" SID "92" Ports [1] Position [875, 411, 1025, 449] ZOrder 188 FontSize 28 Decimation "1" Lockdown off } Block { BlockType Constant Name "Constan11" SID "93" Position [1380, 280, 1410, 310] ZOrder 189 Value "0" } Block { BlockType Constant Name "Constant" SID "94" Position [1220, 295, 1250, 325] ZOrder 196 } Block { BlockType Constant Name "Constant3" SID "95" Position [1225, 405, 1255, 435] ZOrder 190 Value "5" } Block { BlockType Display Name "D1" SID "96" Ports [1] Position [875, 540, 1025, 580] ZOrder 203 FontSize 28 Decimation "1" Lockdown off } Block { BlockType Display Name "D2" SID "97" Ports [1] Position [875, 650, 1030, 690] ZOrder 206 FontSize 28 Decimation "1" Lockdown off } Block { BlockType DataTypeConversion Name "Data Type Conversion4" SID "98" Position [1485, 458, 1560, 492] ZOrder 199 OutDataTypeStr "uint8" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType SubSystem Name "Elbow Movement" SID "99" Ports [9, 1] Position [765, 569, 850, 711] ZOrder 202 LibraryVersion "1.31" FontName "Arial" ErrorFcn "Stateflow.Translate.translate" PermitHierarchicalResolution "ExplicitOnly" TreatAsAtomicUnit on MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off SFBlockType "MATLAB Function" System { Name "Elbow Movement" Location [227, 345, 838, 789] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" SIDHighWatermark "32" Block { BlockType Inport Name "x1" SID "99::28" Position [20, 101, 40, 119] ZOrder 9 IconDisplay "Port number" } Block { BlockType Inport Name "y1" SID "99::25" Position [20, 136, 40, 154] ZOrder 6 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "z1" SID "99::24" Position [20, 171, 40, 189] ZOrder 5 Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "x2" SID "99::29" Position [20, 206, 40, 224] ZOrder 10 Port "4" IconDisplay "Port number" } Block { BlockType Inport Name "y2" SID "99::27" Position [20, 246, 40, 264] ZOrder 8 Port "5" IconDisplay "Port number" } Block { BlockType Inport Name "z2" SID "99::26" Position [20, 281, 40, 299] ZOrder 7 Port "6" IconDisplay "Port number" } Block { BlockType Inport Name "x3" SID "99::30" Position [20, 316, 40, 334] ZOrder 11 Port "7" IconDisplay "Port number" } Block { BlockType Inport Name "y3" SID "99::31" Position [20, 351, 40, 369] ZOrder 12 Port "8" IconDisplay "Port number" } Block { BlockType Inport Name "z3" SID "99::32" Position [20, 386, 40, 404] ZOrder 13 Port "9" IconDisplay "Port number" } Block { BlockType Demux Name " Demux " SID "99::21" Ports [1, 1] Position [270, 230, 320, 270] ZOrder 2 Outputs "1" } Block { BlockType S-Function Name " SFunction " SID "99::20" Tag "Stateflow S-Function GestureControlledRoboticArm 15" Ports [9, 2] Position [180, 115, 230, 315] ZOrder 1 FunctionName "sf_sfun" PortCounts "[9 2]" EnableBusSupport on Port { PortNumber 2 Name "theta" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Terminator Name " Terminator " SID "99::22" Position [460, 241, 480, 259] ZOrder 3 } Block { BlockType Outport Name "theta" SID "99::19" Position [460, 101, 480, 119] ZOrder -7 IconDisplay "Port number" } Line { SrcBlock "x1" SrcPort 1 DstBlock " SFunction " DstPort 1 } Line { SrcBlock "y1" SrcPort 1 Points [120, 0] DstBlock " SFunction " DstPort 2 } Line { SrcBlock "z1" SrcPort 1 DstBlock " SFunction " DstPort 3 } Line { SrcBlock "x2" SrcPort 1 DstBlock " SFunction " DstPort 4 } Line { SrcBlock "y2" SrcPort 1 DstBlock " SFunction " DstPort 5 } Line { SrcBlock "z2" SrcPort 1 DstBlock " SFunction " DstPort 6 } Line { SrcBlock "x3" SrcPort 1 DstBlock " SFunction " DstPort 7 } Line { SrcBlock "y3" SrcPort 1 DstBlock " SFunction " DstPort 8 } Line { SrcBlock "z3" SrcPort 1 DstBlock " SFunction " DstPort 9 } Line { Name "theta" Labels [0, 0] SrcBlock " SFunction " SrcPort 2 DstBlock "theta" DstPort 1 } Line { SrcBlock " Demux " SrcPort 1 DstBlock " Terminator " DstPort 1 } Line { SrcBlock " SFunction " SrcPort 1 DstBlock " Demux " DstPort 1 } } } Block { BlockType SubSystem Name "LR Shoulder1" SID "100" Ports [1, 1] Position [1090, 314, 1125, 376] ZOrder 197 LibraryVersion "1.31" FontName "Arial" ErrorFcn "Stateflow.Translate.translate" PermitHierarchicalResolution "ExplicitOnly" TreatAsAtomicUnit on MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off SFBlockType "MATLAB Function" System { Name "LR Shoulder1" Location [227, 345, 838, 789] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" SIDHighWatermark "29" Block { BlockType Inport Name "c1" SID "100::24" Position [20, 101, 40, 119] ZOrder 5 IconDisplay "Port number" } Block { BlockType Demux Name " Demux " SID "100::21" Ports [1, 1] Position [270, 230, 320, 270] ZOrder 2 Outputs "1" } Block { BlockType S-Function Name " SFunction " SID "100::20" Tag "Stateflow S-Function GestureControlledRoboticArm 10" Ports [1, 2] Position [180, 120, 230, 180] ZOrder 1 FunctionName "sf_sfun" PortCounts "[1 2]" EnableBusSupport on Port { PortNumber 2 Name "x" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Terminator Name " Terminator " SID "100::22" Position [460, 241, 480, 259] ZOrder 3 } Block { BlockType Outport Name "x" SID "100::19" Position [460, 101, 480, 119] ZOrder -7 IconDisplay "Port number" } Line { SrcBlock "c1" SrcPort 1 DstBlock " SFunction " DstPort 1 } Line { Name "x" Labels [0, 0] SrcBlock " SFunction " SrcPort 2 DstBlock "x" DstPort 1 } Line { SrcBlock " Demux " SrcPort 1 DstBlock " Terminator " DstPort 1 } Line { SrcBlock " SFunction " SrcPort 1 DstBlock " Demux " DstPort 1 } } } Block { BlockType SubSystem Name "LR Shoulder2" SID "101" Ports [1, 1] Position [1090, 444, 1125, 506] ZOrder 198 LibraryVersion "1.31" FontName "Arial" ErrorFcn "Stateflow.Translate.translate" PermitHierarchicalResolution "ExplicitOnly" TreatAsAtomicUnit on MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off SFBlockType "MATLAB Function" System { Name "LR Shoulder2" Location [227, 345, 838, 789] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" SIDHighWatermark "29" Block { BlockType Inport Name "c1" SID "101::24" Position [20, 101, 40, 119] ZOrder 5 IconDisplay "Port number" } Block { BlockType Demux Name " Demux " SID "101::21" Ports [1, 1] Position [270, 230, 320, 270] ZOrder 2 Outputs "1" } Block { BlockType S-Function Name " SFunction " SID "101::20" Tag "Stateflow S-Function GestureControlledRoboticArm 11" Ports [1, 2] Position [180, 120, 230, 180] ZOrder 1 FunctionName "sf_sfun" PortCounts "[1 2]" EnableBusSupport on Port { PortNumber 2 Name "x" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Terminator Name " Terminator " SID "101::22" Position [460, 241, 480, 259] ZOrder 3 } Block { BlockType Outport Name "x" SID "101::19" Position [460, 101, 480, 119] ZOrder -7 IconDisplay "Port number" } Line { SrcBlock " SFunction " SrcPort 1 DstBlock " Demux " DstPort 1 } Line { SrcBlock " Demux " SrcPort 1 DstBlock " Terminator " DstPort 1 } Line { Name "x" Labels [0, 0] SrcBlock " SFunction " SrcPort 2 DstBlock "x" DstPort 1 } Line { SrcBlock "c1" SrcPort 1 DstBlock " SFunction " DstPort 1 } } } Block { BlockType Math Name "Math\nFunction" SID "102" Ports [2, 1] Position [1360, 397, 1390, 428] ZOrder 194 Operator "rem" SampleTime "0.001" } Block { BlockType Memory Name "Memory" SID "103" Position [1505, 340, 1535, 370] ZOrder 192 BlockMirror on } Block { BlockType MultiPortSwitch Name "Multiport\nSwitch" SID "104" Ports [5, 1] Position [1210, 447, 1245, 503] ZOrder 195 Inputs "4" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType SubSystem Name "Palm Movement" SID "105" Ports [9, 1] Position [765, 741, 850, 859] ZOrder 205 LibraryVersion "1.31" FontName "Arial" ErrorFcn "Stateflow.Translate.translate" PermitHierarchicalResolution "ExplicitOnly" TreatAsAtomicUnit on MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off SFBlockType "MATLAB Function" System { Name "Palm Movement" Location [227, 345, 838, 789] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" SIDHighWatermark "32" Block { BlockType Inport Name "x1" SID "105::28" Position [20, 101, 40, 119] ZOrder 9 IconDisplay "Port number" } Block { BlockType Inport Name "y1" SID "105::25" Position [20, 136, 40, 154] ZOrder 6 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "z1" SID "105::24" Position [20, 171, 40, 189] ZOrder 5 Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "x2" SID "105::29" Position [20, 206, 40, 224] ZOrder 10 Port "4" IconDisplay "Port number" } Block { BlockType Inport Name "y2" SID "105::27" Position [20, 246, 40, 264] ZOrder 8 Port "5" IconDisplay "Port number" } Block { BlockType Inport Name "z2" SID "105::26" Position [20, 281, 40, 299] ZOrder 7 Port "6" IconDisplay "Port number" } Block { BlockType Inport Name "x3" SID "105::30" Position [20, 316, 40, 334] ZOrder 11 Port "7" IconDisplay "Port number" } Block { BlockType Inport Name "y3" SID "105::31" Position [20, 351, 40, 369] ZOrder 12 Port "8" IconDisplay "Port number" } Block { BlockType Inport Name "z3" SID "105::32" Position [20, 386, 40, 404] ZOrder 13 Port "9" IconDisplay "Port number" } Block { BlockType Demux Name " Demux " SID "105::21" Ports [1, 1] Position [270, 230, 320, 270] ZOrder 2 Outputs "1" } Block { BlockType S-Function Name " SFunction " SID "105::20" Tag "Stateflow S-Function GestureControlledRoboticArm 16" Ports [9, 2] Position [180, 115, 230, 315] ZOrder 1 FunctionName "sf_sfun" PortCounts "[9 2]" EnableBusSupport on Port { PortNumber 2 Name "theta" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Terminator Name " Terminator " SID "105::22" Position [460, 241, 480, 259] ZOrder 3 } Block { BlockType Outport Name "theta" SID "105::19" Position [460, 101, 480, 119] ZOrder -7 IconDisplay "Port number" } Line { SrcBlock " SFunction " SrcPort 1 DstBlock " Demux " DstPort 1 } Line { SrcBlock " Demux " SrcPort 1 DstBlock " Terminator " DstPort 1 } Line { Name "theta" Labels [0, 0] SrcBlock " SFunction " SrcPort 2 DstBlock "theta" DstPort 1 } Line { SrcBlock "z3" SrcPort 1 DstBlock " SFunction " DstPort 9 } Line { SrcBlock "y3" SrcPort 1 DstBlock " SFunction " DstPort 8 } Line { SrcBlock "x3" SrcPort 1 DstBlock " SFunction " DstPort 7 } Line { SrcBlock "z2" SrcPort 1 DstBlock " SFunction " DstPort 6 } Line { SrcBlock "y2" SrcPort 1 DstBlock " SFunction " DstPort 5 } Line { SrcBlock "x2" SrcPort 1 DstBlock " SFunction " DstPort 4 } Line { SrcBlock "z1" SrcPort 1 DstBlock " SFunction " DstPort 3 } Line { SrcBlock "y1" SrcPort 1 Points [120, 0] DstBlock " SFunction " DstPort 2 } Line { SrcBlock "x1" SrcPort 1 DstBlock " SFunction " DstPort 1 } } } Block { BlockType Reference Name "RGB Camera Kinect" SID "106" Ports [1] Position [1020, 17, 1210, 63] ZOrder 180 LibraryVersion "1.262" UserDataPersistent on UserData "DataTag0" FontSize 14 SourceBlock "visionsinks/Video Viewer" SourceType "Video Viewer" inputType "Obsolete7b" imagePorts "One multidimensional signal" useColorMap off colormapValue "jet(256)" specRange off minInputVal "0" maxInputVal "255" FigPos "[755 629 410 300]" AxisZoom on trueSizedOnce off OpenAtMdlStart on DefaultConfigurationName "vipscopes.VideoViewerScopeCfg" } Block { BlockType SubSystem Name "Right Elbow" SID "107" Ports [1, 3] Position [545, 391, 615, 479] ZOrder 184 LibraryVersion "1.31" FontName "Arial" ErrorFcn "Stateflow.Translate.translate" PermitHierarchicalResolution "ExplicitOnly" TreatAsAtomicUnit on MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off SFBlockType "MATLAB Function" System { Name "Right Elbow" Location [227, 345, 838, 789] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" SIDHighWatermark "22" Block { BlockType Inport Name "u" SID "107::1" Position [20, 101, 40, 119] ZOrder -1 IconDisplay "Port number" } Block { BlockType Demux Name " Demux " SID "107::21" Ports [1, 1] Position [270, 245, 320, 285] ZOrder 2 Outputs "1" } Block { BlockType S-Function Name " SFunction " SID "107::20" Tag "Stateflow S-Function GestureControlledRoboticArm 4" Ports [1, 4] Position [180, 102, 230, 203] ZOrder 1 FunctionName "sf_sfun" PortCounts "[1 4]" EnableBusSupport on Port { PortNumber 2 Name "x" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 3 Name "y" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 4 Name "z" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Terminator Name " Terminator " SID "107::22" Position [460, 256, 480, 274] ZOrder 3 } Block { BlockType Outport Name "x" SID "107::18" Position [460, 101, 480, 119] ZOrder -5 IconDisplay "Port number" } Block { BlockType Outport Name "y" SID "107::5" Position [460, 136, 480, 154] ZOrder -6 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "z" SID "107::19" Position [460, 171, 480, 189] ZOrder -7 Port "3" IconDisplay "Port number" } Line { SrcBlock "u" SrcPort 1 DstBlock " SFunction " DstPort 1 } Line { Name "x" Labels [0, 0] SrcBlock " SFunction " SrcPort 2 DstBlock "x" DstPort 1 } Line { Name "y" Labels [0, 0] SrcBlock " SFunction " SrcPort 3 DstBlock "y" DstPort 1 } Line { Name "z" Labels [0, 0] SrcBlock " SFunction " SrcPort 4 DstBlock "z" DstPort 1 } Line { SrcBlock " Demux " SrcPort 1 DstBlock " Terminator " DstPort 1 } Line { SrcBlock " SFunction " SrcPort 1 DstBlock " Demux " DstPort 1 } } } Block { BlockType SubSystem Name "Right Palm" SID "108" Ports [1, 3] Position [545, 746, 615, 834] ZOrder 204 LibraryVersion "1.31" FontName "Arial" ErrorFcn "Stateflow.Translate.translate" PermitHierarchicalResolution "ExplicitOnly" TreatAsAtomicUnit on MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off SFBlockType "MATLAB Function" System { Name "Right Palm" Location [227, 345, 838, 789] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" SIDHighWatermark "22" Block { BlockType Inport Name "u" SID "108::1" Position [20, 101, 40, 119] ZOrder -1 IconDisplay "Port number" } Block { BlockType Demux Name " Demux " SID "108::21" Ports [1, 1] Position [270, 245, 320, 285] ZOrder 2 Outputs "1" } Block { BlockType S-Function Name " SFunction " SID "108::20" Tag "Stateflow S-Function GestureControlledRoboticArm 14" Ports [1, 4] Position [180, 102, 230, 203] ZOrder 1 FunctionName "sf_sfun" PortCounts "[1 4]" EnableBusSupport on Port { PortNumber 2 Name "x" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 3 Name "y" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 4 Name "z" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Terminator Name " Terminator " SID "108::22" Position [460, 256, 480, 274] ZOrder 3 } Block { BlockType Outport Name "x" SID "108::18" Position [460, 101, 480, 119] ZOrder -5 IconDisplay "Port number" } Block { BlockType Outport Name "y" SID "108::5" Position [460, 136, 480, 154] ZOrder -6 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "z" SID "108::19" Position [460, 171, 480, 189] ZOrder -7 Port "3" IconDisplay "Port number" } Line { SrcBlock " SFunction " SrcPort 1 DstBlock " Demux " DstPort 1 } Line { SrcBlock " Demux " SrcPort 1 DstBlock " Terminator " DstPort 1 } Line { Name "z" Labels [0, 0] SrcBlock " SFunction " SrcPort 4 DstBlock "z" DstPort 1 } Line { Name "y" Labels [0, 0] SrcBlock " SFunction " SrcPort 3 DstBlock "y" DstPort 1 } Line { Name "x" Labels [0, 0] SrcBlock " SFunction " SrcPort 2 DstBlock "x" DstPort 1 } Line { SrcBlock "u" SrcPort 1 DstBlock " SFunction " DstPort 1 } } } Block { BlockType SubSystem Name "Right Shoulder" SID "109" Ports [1, 3] Position [545, 271, 615, 359] ZOrder 181 LibraryVersion "1.31" FontName "Arial" ErrorFcn "Stateflow.Translate.translate" PermitHierarchicalResolution "ExplicitOnly" TreatAsAtomicUnit on MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off SFBlockType "MATLAB Function" System { Name "Right Shoulder" Location [227, 345, 838, 789] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" SIDHighWatermark "22" Block { BlockType Inport Name "u" SID "109::1" Position [20, 101, 40, 119] ZOrder -1 IconDisplay "Port number" } Block { BlockType Demux Name " Demux " SID "109::21" Ports [1, 1] Position [270, 245, 320, 285] ZOrder 2 Outputs "1" } Block { BlockType S-Function Name " SFunction " SID "109::20" Tag "Stateflow S-Function GestureControlledRoboticArm 2" Ports [1, 4] Position [180, 102, 230, 203] ZOrder 1 FunctionName "sf_sfun" PortCounts "[1 4]" EnableBusSupport on Port { PortNumber 2 Name "x" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 3 Name "y" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 4 Name "z" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Terminator Name " Terminator " SID "109::22" Position [460, 256, 480, 274] ZOrder 3 } Block { BlockType Outport Name "x" SID "109::18" Position [460, 101, 480, 119] ZOrder -5 IconDisplay "Port number" } Block { BlockType Outport Name "y" SID "109::5" Position [460, 136, 480, 154] ZOrder -6 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "z" SID "109::19" Position [460, 171, 480, 189] ZOrder -7 Port "3" IconDisplay "Port number" } Line { SrcBlock "u" SrcPort 1 DstBlock " SFunction " DstPort 1 } Line { Name "x" Labels [0, 0] SrcBlock " SFunction " SrcPort 2 DstBlock "x" DstPort 1 } Line { Name "y" Labels [0, 0] SrcBlock " SFunction " SrcPort 3 DstBlock "y" DstPort 1 } Line { Name "z" Labels [0, 0] SrcBlock " SFunction " SrcPort 4 DstBlock "z" DstPort 1 } Line { SrcBlock " Demux " SrcPort 1 DstBlock " Terminator " DstPort 1 } Line { SrcBlock " SFunction " SrcPort 1 DstBlock " Demux " DstPort 1 } } } Block { BlockType SubSystem Name "Right Wrist" SID "110" Ports [1, 3] Position [545, 626, 615, 714] ZOrder 182 LibraryVersion "1.31" FontName "Arial" ErrorFcn "Stateflow.Translate.translate" PermitHierarchicalResolution "ExplicitOnly" TreatAsAtomicUnit on MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off SFBlockType "MATLAB Function" System { Name "Right Wrist" Location [227, 345, 838, 789] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" SIDHighWatermark "22" Block { BlockType Inport Name "u" SID "110::1" Position [20, 101, 40, 119] ZOrder -1 IconDisplay "Port number" } Block { BlockType Demux Name " Demux " SID "110::21" Ports [1, 1] Position [270, 245, 320, 285] ZOrder 2 Outputs "1" } Block { BlockType S-Function Name " SFunction " SID "110::20" Tag "Stateflow S-Function GestureControlledRoboticArm 1" Ports [1, 4] Position [180, 102, 230, 203] ZOrder 1 FunctionName "sf_sfun" PortCounts "[1 4]" EnableBusSupport on Port { PortNumber 2 Name "x" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 3 Name "y" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 4 Name "z" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Terminator Name " Terminator " SID "110::22" Position [460, 256, 480, 274] ZOrder 3 } Block { BlockType Outport Name "x" SID "110::18" Position [460, 101, 480, 119] ZOrder -5 IconDisplay "Port number" } Block { BlockType Outport Name "y" SID "110::5" Position [460, 136, 480, 154] ZOrder -6 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "z" SID "110::19" Position [460, 171, 480, 189] ZOrder -7 Port "3" IconDisplay "Port number" } Line { SrcBlock "u" SrcPort 1 DstBlock " SFunction " DstPort 1 } Line { Name "x" Labels [0, 0] SrcBlock " SFunction " SrcPort 2 DstBlock "x" DstPort 1 } Line { Name "y" Labels [0, 0] SrcBlock " SFunction " SrcPort 3 DstBlock "y" DstPort 1 } Line { Name "z" Labels [0, 0] SrcBlock " SFunction " SrcPort 4 DstBlock "z" DstPort 1 } Line { SrcBlock " Demux " SrcPort 1 DstBlock " Terminator " DstPort 1 } Line { SrcBlock " SFunction " SrcPort 1 DstBlock " Demux " DstPort 1 } } } Block { BlockType Reference Name "Serial Configuration" SID "111" Ports [] Position [1605, 385, 1715, 431] ZOrder 208 Priority "-200000" LibraryVersion "1.84" SourceBlock "instrumentlib/Serial Configuration" SourceType "Serial Configuration" ComPortMenu "" ComPort "COM3" ObjConstructor "serial('COM3');" BaudRate "9600" DataBits "8" Parity "none" StopBits "1" FlowControl "none" Timeout "10" ByteOrder "LittleEndian" } Block { BlockType Reference Name "Serial Send" SID "112" Ports [1] Position [1605, 452, 1715, 498] ZOrder 207 LibraryVersion "1.84" SourceBlock "instrumentlib/Serial Send" SourceType "Serial Send" ComPortMenu "" ComPort "COM3" ObjConstructor "serial('COM3');" Terminator "" EnableBlockingMode on } Block { BlockType SubSystem Name "Shoulder Center" SID "113" Ports [1, 3] Position [545, 511, 615, 599] ZOrder 183 LibraryVersion "1.31" FontName "Arial" ErrorFcn "Stateflow.Translate.translate" PermitHierarchicalResolution "ExplicitOnly" TreatAsAtomicUnit on MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off SFBlockType "MATLAB Function" System { Name "Shoulder Center" Location [227, 345, 838, 789] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" SIDHighWatermark "22" Block { BlockType Inport Name "u" SID "113::1" Position [20, 101, 40, 119] ZOrder -1 IconDisplay "Port number" } Block { BlockType Demux Name " Demux " SID "113::21" Ports [1, 1] Position [270, 245, 320, 285] ZOrder 2 Outputs "1" } Block { BlockType S-Function Name " SFunction " SID "113::20" Tag "Stateflow S-Function GestureControlledRoboticArm 3" Ports [1, 4] Position [180, 102, 230, 203] ZOrder 1 FunctionName "sf_sfun" PortCounts "[1 4]" EnableBusSupport on Port { PortNumber 2 Name "x" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 3 Name "y" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 4 Name "z" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Terminator Name " Terminator " SID "113::22" Position [460, 256, 480, 274] ZOrder 3 } Block { BlockType Outport Name "x" SID "113::18" Position [460, 101, 480, 119] ZOrder -5 IconDisplay "Port number" } Block { BlockType Outport Name "y" SID "113::5" Position [460, 136, 480, 154] ZOrder -6 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "z" SID "113::19" Position [460, 171, 480, 189] ZOrder -7 Port "3" IconDisplay "Port number" } Line { SrcBlock "u" SrcPort 1 DstBlock " SFunction " DstPort 1 } Line { Name "x" Labels [0, 0] SrcBlock " SFunction " SrcPort 2 DstBlock "x" DstPort 1 } Line { Name "y" Labels [0, 0] SrcBlock " SFunction " SrcPort 3 DstBlock "y" DstPort 1 } Line { Name "z" Labels [0, 0] SrcBlock " SFunction " SrcPort 4 DstBlock "z" DstPort 1 } Line { SrcBlock " Demux " SrcPort 1 DstBlock " Terminator " DstPort 1 } Line { SrcBlock " SFunction " SrcPort 1 DstBlock " Demux " DstPort 1 } } } Block { BlockType SubSystem Name "Shoulder Horizontal\n Movement" SID "114" Ports [6, 1] Position [760, 252, 850, 378] ZOrder 185 LibraryVersion "1.31" FontName "Arial" ErrorFcn "Stateflow.Translate.translate" PermitHierarchicalResolution "ExplicitOnly" TreatAsAtomicUnit on MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off SFBlockType "MATLAB Function" System { Name "Shoulder Horizontal\n Movement" Location [227, 345, 838, 789] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" SIDHighWatermark "29" Block { BlockType Inport Name "x1" SID "114::24" Position [20, 101, 40, 119] ZOrder 5 IconDisplay "Port number" } Block { BlockType Inport Name "z1" SID "114::25" Position [20, 136, 40, 154] ZOrder 6 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "x2" SID "114::26" Position [20, 171, 40, 189] ZOrder 7 Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "z2" SID "114::27" Position [20, 206, 40, 224] ZOrder 8 Port "4" IconDisplay "Port number" } Block { BlockType Inport Name "x3" SID "114::28" Position [20, 246, 40, 264] ZOrder 9 Port "5" IconDisplay "Port number" } Block { BlockType Inport Name "z3" SID "114::29" Position [20, 281, 40, 299] ZOrder 10 Port "6" IconDisplay "Port number" } Block { BlockType Demux Name " Demux " SID "114::21" Ports [1, 1] Position [270, 230, 320, 270] ZOrder 2 Outputs "1" } Block { BlockType S-Function Name " SFunction " SID "114::20" Tag "Stateflow S-Function GestureControlledRoboticArm 5" Ports [6, 2] Position [180, 112, 230, 253] ZOrder 1 FunctionName "sf_sfun" PortCounts "[6 2]" EnableBusSupport on Port { PortNumber 2 Name "theta" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Terminator Name " Terminator " SID "114::22" Position [460, 241, 480, 259] ZOrder 3 } Block { BlockType Outport Name "theta" SID "114::19" Position [460, 101, 480, 119] ZOrder -7 IconDisplay "Port number" } Line { SrcBlock "x1" SrcPort 1 DstBlock " SFunction " DstPort 1 } Line { SrcBlock "z1" SrcPort 1 DstBlock " SFunction " DstPort 2 } Line { SrcBlock "x2" SrcPort 1 DstBlock " SFunction " DstPort 3 } Line { SrcBlock "z2" SrcPort 1 DstBlock " SFunction " DstPort 4 } Line { SrcBlock "x3" SrcPort 1 DstBlock " SFunction " DstPort 5 } Line { SrcBlock "z3" SrcPort 1 DstBlock " SFunction " DstPort 6 } Line { Name "theta" Labels [0, 0] SrcBlock " SFunction " SrcPort 2 DstBlock "theta" DstPort 1 } Line { SrcBlock " Demux " SrcPort 1 DstBlock " Terminator " DstPort 1 } Line { SrcBlock " SFunction " SrcPort 1 DstBlock " Demux " DstPort 1 } } } Block { BlockType SubSystem Name "Shoulder Vertical\nMovement" SID "115" Ports [6, 1] Position [765, 409, 850, 531] ZOrder 187 LibraryVersion "1.31" FontName "Arial" ErrorFcn "Stateflow.Translate.translate" PermitHierarchicalResolution "ExplicitOnly" TreatAsAtomicUnit on MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off SFBlockType "MATLAB Function" System { Name "Shoulder Vertical\nMovement" Location [227, 345, 838, 789] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" SIDHighWatermark "29" Block { BlockType Inport Name "z1" SID "115::24" Position [20, 101, 40, 119] ZOrder 5 IconDisplay "Port number" } Block { BlockType Inport Name "y1" SID "115::25" Position [20, 136, 40, 154] ZOrder 6 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "z2" SID "115::26" Position [20, 171, 40, 189] ZOrder 7 Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "y2" SID "115::27" Position [20, 206, 40, 224] ZOrder 8 Port "4" IconDisplay "Port number" } Block { BlockType Inport Name "z3" SID "115::28" Position [20, 246, 40, 264] ZOrder 9 Port "5" IconDisplay "Port number" } Block { BlockType Inport Name "y3" SID "115::29" Position [20, 281, 40, 299] ZOrder 10 Port "6" IconDisplay "Port number" } Block { BlockType Demux Name " Demux " SID "115::21" Ports [1, 1] Position [270, 230, 320, 270] ZOrder 2 Outputs "1" } Block { BlockType S-Function Name " SFunction " SID "115::20" Tag "Stateflow S-Function GestureControlledRoboticArm 7" Ports [6, 2] Position [180, 112, 230, 253] ZOrder 1 FunctionName "sf_sfun" PortCounts "[6 2]" EnableBusSupport on Port { PortNumber 2 Name "theta" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Terminator Name " Terminator " SID "115::22" Position [460, 241, 480, 259] ZOrder 3 } Block { BlockType Outport Name "theta" SID "115::19" Position [460, 101, 480, 119] ZOrder -7 IconDisplay "Port number" } Line { SrcBlock "z1" SrcPort 1 DstBlock " SFunction " DstPort 1 } Line { SrcBlock "y1" SrcPort 1 DstBlock " SFunction " DstPort 2 } Line { SrcBlock "z2" SrcPort 1 DstBlock " SFunction " DstPort 3 } Line { SrcBlock "y2" SrcPort 1 DstBlock " SFunction " DstPort 4 } Line { SrcBlock "z3" SrcPort 1 DstBlock " SFunction " DstPort 5 } Line { SrcBlock "y3" SrcPort 1 DstBlock " SFunction " DstPort 6 } Line { Name "theta" Labels [0, 0] SrcBlock " SFunction " SrcPort 2 DstBlock "theta" DstPort 1 } Line { SrcBlock " Demux " SrcPort 1 DstBlock " Terminator " DstPort 1 } Line { SrcBlock " SFunction " SrcPort 1 DstBlock " Demux " DstPort 1 } } } Block { BlockType M-S-Function Name "Skeleton Viewer" SID "116" Ports [2] Position [995, 88, 1175, 157] ZOrder 176 FontName "Arial" FontSize 14 FunctionName "skeleton_viewer" Object { $PropName "MaskObject" $ObjectID 19 $ClassName "Simulink.Mask" Description " " Display "disp('Skeleton\\nViewer')\n\nport_label('input', 1, 'Tracking')\nport_label('input', 2, 'Skeleton')\n\n" } } Block { BlockType Sum Name "Sum" SID "117" Ports [2, 1] Position [1225, 345, 1245, 365] ZOrder 193 BlockMirror on ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Switch Name "Switch" SID "118" Position [1320, 335, 1370, 375] ZOrder 191 BlockMirror on Threshold "4" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Reference Name "Video Viewer" SID "119" Ports [1] Position [995, 179, 1175, 221] ZOrder 175 LibraryVersion "1.262" UserDataPersistent on UserData "DataTag1" FontSize 14 SourceBlock "visionsinks/Video Viewer" SourceType "Video Viewer" inputType "Obsolete7b" imagePorts "One multidimensional signal" useColorMap off colormapValue "jet(256)" specRange off minInputVal "0" maxInputVal "255" FigPos "[755 629 410 300]" AxisZoom on trueSizedOnce off OpenAtMdlStart on DefaultConfigurationName "vipscopes.VideoViewerScopeCfg" } Block { BlockType SubSystem Name "elbow" SID "120" Ports [1, 1] Position [1085, 544, 1120, 606] ZOrder 201 LibraryVersion "1.31" FontName "Arial" ErrorFcn "Stateflow.Translate.translate" PermitHierarchicalResolution "ExplicitOnly" TreatAsAtomicUnit on MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off SFBlockType "MATLAB Function" System { Name "elbow" Location [227, 345, 838, 789] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" SIDHighWatermark "29" Block { BlockType Inport Name "c1" SID "120::24" Position [20, 101, 40, 119] ZOrder 5 IconDisplay "Port number" } Block { BlockType Demux Name " Demux " SID "120::21" Ports [1, 1] Position [270, 230, 320, 270] ZOrder 2 Outputs "1" } Block { BlockType S-Function Name " SFunction " SID "120::20" Tag "Stateflow S-Function GestureControlledRoboticArm 13" Ports [1, 2] Position [180, 120, 230, 180] ZOrder 1 FunctionName "sf_sfun" PortCounts "[1 2]" EnableBusSupport on Port { PortNumber 2 Name "x" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Terminator Name " Terminator " SID "120::22" Position [460, 241, 480, 259] ZOrder 3 } Block { BlockType Outport Name "x" SID "120::19" Position [460, 101, 480, 119] ZOrder -7 IconDisplay "Port number" } Line { SrcBlock "c1" SrcPort 1 DstBlock " SFunction " DstPort 1 } Line { Name "x" Labels [0, 0] SrcBlock " SFunction " SrcPort 2 DstBlock "x" DstPort 1 } Line { SrcBlock " Demux " SrcPort 1 DstBlock " Terminator " DstPort 1 } Line { SrcBlock " SFunction " SrcPort 1 DstBlock " Demux " DstPort 1 } } } Block { BlockType SubSystem Name "hand 1" SID "121" Ports [1, 1] Position [1085, 654, 1120, 716] ZOrder 200 LibraryVersion "1.31" FontName "Arial" ErrorFcn "Stateflow.Translate.translate" PermitHierarchicalResolution "ExplicitOnly" TreatAsAtomicUnit on MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off SFBlockType "MATLAB Function" System { Name "hand 1" Location [227, 345, 838, 789] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" SIDHighWatermark "29" Block { BlockType Inport Name "c1" SID "121::24" Position [20, 101, 40, 119] ZOrder 5 IconDisplay "Port number" } Block { BlockType Demux Name " Demux " SID "121::21" Ports [1, 1] Position [270, 230, 320, 270] ZOrder 2 Outputs "1" } Block { BlockType S-Function Name " SFunction " SID "121::20" Tag "Stateflow S-Function GestureControlledRoboticArm 12" Ports [1, 2] Position [180, 120, 230, 180] ZOrder 1 FunctionName "sf_sfun" PortCounts "[1 2]" EnableBusSupport on Port { PortNumber 2 Name "x" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Terminator Name " Terminator " SID "121::22" Position [460, 241, 480, 259] ZOrder 3 } Block { BlockType Outport Name "x" SID "121::19" Position [460, 101, 480, 119] ZOrder -7 IconDisplay "Port number" } Line { SrcBlock " SFunction " SrcPort 1 DstBlock " Demux " DstPort 1 } Line { SrcBlock " Demux " SrcPort 1 DstBlock " Terminator " DstPort 1 } Line { Name "x" Labels [0, 0] SrcBlock " SFunction " SrcPort 2 DstBlock "x" DstPort 1 } Line { SrcBlock "c1" SrcPort 1 DstBlock " SFunction " DstPort 1 } } } Line { SrcBlock "Aquiring Data \nFrom Kinect" SrcPort 1 Points [18, 0] Branch { Points [0, -90] DstBlock "Aquiring RGB Camera Data" DstPort 1 } Branch { Points [0, 5] DstBlock "Aquiring Skeletal & Image Data" DstPort 1 } } Line { SrcBlock "Aquiring Skeletal & Image Data" SrcPort 1 Points [8, 0; 0, -25] DstBlock "Skeleton Viewer" DstPort 1 } Line { SrcBlock "Aquiring Skeletal & Image Data" SrcPort 2 Points [56, 0; 0, -10] Branch { Points [0, -124; -446, 0; 0, 299] Branch { DstBlock "Right Shoulder" DstPort 1 } Branch { Points [0, 120] Branch { DstBlock "Right Elbow" DstPort 1 } Branch { Points [0, 120] Branch { Points [0, 115] Branch { Points [0, 120] DstBlock "Right Palm" DstPort 1 } Branch { DstBlock "Right Wrist" DstPort 1 } } Branch { DstBlock "Shoulder Center" DstPort 1 } } } } Branch { DstBlock "Skeleton Viewer" DstPort 2 } } Line { SrcBlock "Aquiring Skeletal & Image Data" SrcPort 3 Points [51, 0; 0, 30] DstBlock "Video Viewer" DstPort 1 } Line { SrcBlock "Aquiring RGB Camera Data" SrcPort 1 Points [56, 0; 0, -15] DstBlock "RGB Camera Kinect" DstPort 1 } Line { SrcBlock "Shoulder Horizontal\n Movement" SrcPort 1 Points [5, 0] Branch { Points [0, 20; 37, 0; 0, 31; 175, 0; 0, -21] DstBlock "LR Shoulder1" DstPort 1 } Branch { DstBlock "A" DstPort 1 } } Line { SrcBlock "Shoulder Vertical\nMovement" SrcPort 1 Points [9, 0; 0, -10] Branch { Points [0, -30] DstBlock "B" DstPort 1 } Branch { Points [33, 0; 0, 31; 126, 0; 0, -16] DstBlock "LR Shoulder2" DstPort 1 } } Line { SrcBlock "Constan11" SrcPort 1 Points [33, 0; 0, 56; -63, 0] DstBlock "Switch" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 Points [43, 0; 0, 45] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Switch" SrcPort 1 Points [-4, 0; 0, 25] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Constant3" SrcPort 1 DstBlock "Math\nFunction" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 Points [-9, 0; 0, 41; 96, 0; 0, 9] DstBlock "Math\nFunction" DstPort 1 } Line { SrcBlock "Math\nFunction" SrcPort 1 Points [48, 0; 0, 33] Branch { Points [119, 0; 0, -93] DstBlock "Memory" DstPort 1 } Branch { Points [0, 90; -255, 0; 0, -83] DstBlock "Multiport\nSwitch" DstPort 1 } } Line { SrcBlock "Memory" SrcPort 1 Points [-5, 0] Branch { Points [0, 15] DstBlock "Switch" DstPort 3 } Branch { DstBlock "Switch" DstPort 2 } } Line { SrcBlock "Palm Movement" SrcPort 1 Points [8, 0; 0, -105] Branch { Points [0, -25] DstBlock "D2" DstPort 1 } Branch { Points [32, 0; 0, 33; 163, 0; 0, -43] DstBlock "hand 1" DstPort 1 } } Line { SrcBlock "Multiport\nSwitch" SrcPort 1 DstBlock "Data Type Conversion4" DstPort 1 } Line { SrcBlock "Data Type Conversion4" SrcPort 1 DstBlock "Serial Send" DstPort 1 } Line { SrcBlock "LR Shoulder1" SrcPort 1 Points [65, 0] DstBlock "Multiport\nSwitch" DstPort 2 } Line { SrcBlock "LR Shoulder2" SrcPort 1 DstBlock "Multiport\nSwitch" DstPort 3 } Line { SrcBlock "elbow" SrcPort 1 Points [70, 0] DstBlock "Multiport\nSwitch" DstPort 4 } Line { SrcBlock "hand 1" SrcPort 1 Points [56, 0; 0, -190] DstBlock "Multiport\nSwitch" DstPort 5 } Line { SrcBlock "Elbow Movement" SrcPort 1 Points [13, 0; 0, -55] Branch { Points [0, -25] DstBlock "D1" DstPort 1 } Branch { Points [21, 0; 0, 45; 161, 0; 0, -55] DstBlock "elbow" DstPort 1 } } Line { SrcBlock "Shoulder Center" SrcPort 1 Points [67, 0; 0, -260] DstBlock "Shoulder Horizontal\n Movement" DstPort 1 } Line { SrcBlock "Shoulder Center" SrcPort 3 Points [103, 0; 0, -165] Branch { DstBlock "Shoulder Vertical\nMovement" DstPort 1 } Branch { Points [0, -135] DstBlock "Shoulder Horizontal\n Movement" DstPort 2 } } Line { SrcBlock "Right Shoulder" SrcPort 1 Points [31, 0] Branch { Points [0, 20] DstBlock "Shoulder Horizontal\n Movement" DstPort 3 } Branch { Points [0, -32; 81, 0; 0, 327] DstBlock "Elbow Movement" DstPort 1 } } Line { SrcBlock "Right Shoulder" SrcPort 3 Points [31, 0] Branch { Points [9, 0; 0, 115] Branch { Points [0, 150] DstBlock "Elbow Movement" DstPort 3 } Branch { DstBlock "Shoulder Vertical\nMovement" DstPort 3 } } Branch { Points [0, -20] DstBlock "Shoulder Horizontal\n Movement" DstPort 4 } } Line { SrcBlock "Right Elbow" SrcPort 1 Points [49, 0] Branch { Points [0, -60] DstBlock "Shoulder Horizontal\n Movement" DstPort 5 } Branch { Points [0, 220; 59, 0] Branch { Points [0, 135] DstBlock "Palm Movement" DstPort 1 } Branch { DstBlock "Elbow Movement" DstPort 4 } } } Line { SrcBlock "Right Elbow" SrcPort 3 Points [121, 0] Branch { Points [0, -100] DstBlock "Shoulder Horizontal\n Movement" DstPort 6 } Branch { Points [0, 35] Branch { Points [0, 155] Branch { Points [0, 125] DstBlock "Palm Movement" DstPort 3 } Branch { DstBlock "Elbow Movement" DstPort 6 } } Branch { DstBlock "Shoulder Vertical\nMovement" DstPort 5 } } } Line { SrcBlock "Shoulder Center" SrcPort 2 Points [31, 0; 0, -115] DstBlock "Shoulder Vertical\nMovement" DstPort 2 } Line { SrcBlock "Right Shoulder" SrcPort 2 Points [13, 0; 0, 165] Branch { Points [0, 115] DstBlock "Elbow Movement" DstPort 2 } Branch { DstBlock "Shoulder Vertical\nMovement" DstPort 4 } } Line { SrcBlock "Right Elbow" SrcPort 2 Points [4, 0; 0, 85] Branch { Points [0, 120; 84, 0] Branch { Points [0, 130] DstBlock "Palm Movement" DstPort 2 } Branch { DstBlock "Elbow Movement" DstPort 5 } } Branch { DstBlock "Shoulder Vertical\nMovement" DstPort 6 } } Line { SrcBlock "Right Wrist" SrcPort 1 Points [63, 0; 0, 30] Branch { Points [0, 120] DstBlock "Palm Movement" DstPort 4 } Branch { DstBlock "Elbow Movement" DstPort 7 } } Line { SrcBlock "Right Wrist" SrcPort 2 Points [29, 0; 0, 15] Branch { Points [0, 115] DstBlock "Palm Movement" DstPort 5 } Branch { DstBlock "Elbow Movement" DstPort 8 } } Line { SrcBlock "Right Wrist" SrcPort 3 Points [10, 0] Branch { Points [0, 110] DstBlock "Palm Movement" DstPort 6 } Branch { DstBlock "Elbow Movement" DstPort 9 } } Line { SrcBlock "Right Palm" SrcPort 1 Points [3, 0; 0, 60] DstBlock "Palm Movement" DstPort 7 } Line { SrcBlock "Right Palm" SrcPort 2 Points [46, 0; 0, 40] DstBlock "Palm Movement" DstPort 8 } Line { SrcBlock "Right Palm" SrcPort 3 Points [2, 0; 0, 20] DstBlock "Palm Movement" DstPort 9 } Annotation { SID "87" Name "Copyright 2012 The MathWorks, Inc." Position [1340, 645] ZOrder -1 FontName "Arial" } } } MatData { NumRecords 2 DataRecord { Tag DataTag0 Data " %)30 . 4 $ 8 ( @ % \" $ ! 0 % 0 #0 $ : 4V-O<&" "5#9F=.86UE %-C;W!E . 4 8 ( ! % \" $ = 0 0 '0 '9" "I<'-C;W!E'1E;G-I;VYS+E-C;W!E0FQO8VL . 2 8 ( #0 % \" 8 ! 0 & & " "-T\" 0 $ ! P X !0#@ !@ @ ) 4 ( 0 \" . ! ( @#@ %)30 " " . @ T 8 ( @ % \" $ ! 0 % 0 !0 $ % 34-/4P . . T 8 " " ( $0 ! $ ! !-0T]3 0 T !&:6QE5W)A<'!E4 ,!R0 X X !@ @ $ 4 ( 0 @ ! ! ( =6YD;V-K9" "60. > $ 8 ( @ % \" $ ! 0 % 0 \"@ $ H 4V-O<&5#9F< $)L;V-K3F%M9" "0!6:7-I8FQE 5F5R6QE " " #@ # & \" 8 !0 @ $ \"0 . , 8 ( " " !@ % \" 0 ) X P !@ @ $ 4 ( 0 , ! " " ! P!/9F8 #@ # & \" 8 !0 @ $ \"0 . , 8 ( " " !@ % \" 0 ) X !0 !@ @ & 4 ( 0 0 ! " " D @ \"8AT &!X0 H'E # '1E;G-I;VYS+E-C;W!E0FQO8VL . 2 8 ( #0 % \" 8 ! 0 & & " "-T\" 0 $ ! P X !(#@ !@ @ ) 4 ( 0 !@. ! ( 8#@ %)30 " " . > T 8 ( @ % \" $ ! 0 % 0 !0 $ % 34-/4P . , T 8 " "( $0 ! $ ! !-0T]3 0 T !&:6QE5W)A<'!E4 ,!R0 X X !@ @ $ 4 ( 0 @ ! ! ( =6YD;V-K9" "60. < $ 8 ( @ % \" $ ! 0 % 0 \"@ $ H 4V-O<&5#9F< $)L;V-K3F%M9" "0!6:7-I8FQE 5F5R$ *!Y0 P') #@ #@ & \" 0 !0 @ ! \" $ $ " " @ !U;F1O8VME9 X P @ !@ @ \" 4 ( 0 $ ! 4 ! J 0 -( !!;&QO=U-C" ";W!E0VAA;F=E