Model { Name "CerebellumIODCNAbstractMass" Version 7.4 MdlSubVersion 0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.846" NumModelReferences 0 NumTestPointedSignals 0 } SavedCharacterEncoding "windows-1252" SaveDefaultBlockParams on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" MaxMDLFileLineLength 120 Created "Wed Feb 16 09:48:55 2011" Creator "Sensopac" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%<Auto>" LastModifiedBy "Sensopac" ModifiedDateFormat "%<Auto>" LastModifiedDate "Tue Jun 11 13:44:47 2013" RTWModifiedTimeStamp 292855922 ModelVersionFormat "1.%<AutoIncrement:846>" ConfigurationManager "None" SampleTimeColors off SampleTimeAnnotations off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off 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 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 1 Version "1.6.0" Array { Type "Handle" Dimension 10 Simulink.SolverCC { $ObjectID 2 Version "1.6.0" StartTime "0.0" StopTime "1." AbsTol "auto" FixedStep "0.002" 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" Solver "ode3" SolverName "ode3" ShapePreserveControl "DisableAll" ZeroCrossControl "UseLocalSettings" ZeroCrossAlgorithm "Nonadaptive" AlgebraicLoopSolver "TrustRegion" SolverResetMethod "Fast" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" InsertRTBMode "Whenever possible" } Simulink.DataIOCC { $ObjectID 3 Version "1.6.0" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints on MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveCompleteFinalSimState off SaveFormat "Array" SaveOutput on SaveState off SignalLogging on InspectSignalLogs off SaveTime on ReturnWorkspaceOutputs off StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsout" OutputOption "RefineOutputTimes" OutputTimes "[]" ReturnWorkspaceOutputsName "out" Refine "1" } Simulink.OptimizationCC { $ObjectID 4 Version "1.6.0" Array { Type "Cell" Dimension 7 Cell "BooleansAsBitfields" Cell "PassReuseOutputArgsAs" Cell "PassReuseOutputArgsThreshold" Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "OptimizeModelRefInitCode" Cell "NoFixptDivByZeroProtection" PropName "DisabledProps" } BlockReduction on BooleanDataType on ConditionallyExecuteInputs on InlineParams off UseIntDivNetSlope off InlineInvariantSignals off OptimizeBlockIOStorage on BufferReuse on EnhancedBackFolding off StrengthReduction off EnforceIntegerDowncast on ExpressionFolding on BooleansAsBitfields off 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" BufferReusableBoundary on SimCompilerOptimization "Off" AccelVerboseBuild off } Simulink.DebuggingCC { $ObjectID 5 Version "1.6.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" 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 "Use local settings" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SFcnCompatibilityMsg "none" UniqueDataStoreMsg "none" BusObjectLabelMismatch "warning" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" StateNameClashWarn "warning" SimStateInterfaceChecksumMismatchMsg "warning" StrictBusMsg "Warning" LoggingUnavailableSignals "error" BlockIODiagnostic "none" } Simulink.HardwareCC { $ObjectID 6 Version "1.6.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 off ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 7 Version "1.6.0" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" ModelReferenceNumInstancesAllowed "Multi" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off } Simulink.SFSimCC { $ObjectID 8 Version "1.6.0" SFSimEnableDebug on SFSimOverflowDetection on SFSimEcho on SimBlas on SimCtrlC on SimExtrinsic on SimIntegrity on SimUseLocalCustomCode off SimBuildMode "sf_incremental_build" } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 9 Version "1.6.0" Array { Type "Cell" Dimension 6 Cell "IncludeHyperlinkInReport" Cell "GenerateTraceInfo" Cell "GenerateTraceReport" Cell "GenerateTraceReportSl" Cell "GenerateTraceReportSf" Cell "GenerateTraceReportEml" PropName "DisabledProps" } SystemTargetFile "grt.tlc" GenCodeOnly off MakeCommand "make_rtw" GenerateMakefile on TemplateMakefile "grt_default_tmf" GenerateReport off SaveLog off RTWVerbose on RetainRTWFile off ProfileTLC off TLCDebug off TLCCoverage off TLCAssert off ProcessScriptMode "Default" ConfigurationMode "Optimized" ConfigAtBuild off RTWUseLocalCustomCode off RTWUseSimCustomCode off IncludeHyperlinkInReport off LaunchReport off TargetLang "C" IncludeBusHierarchyInRTWFileBlockHierarchyMap off IncludeERTFirstTime off GenerateTraceInfo off GenerateTraceReport off GenerateTraceReportSl off GenerateTraceReportSf off GenerateTraceReportEml off GenerateCodeInfo off RTWCompilerOptimization "Off" CheckMdlBeforeBuild "Off" Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 10 Version "1.6.0" Array { Type "Cell" Dimension 19 Cell "IgnoreCustomStorageClasses" Cell "IgnoreTestpoints" Cell "InsertBlockDesc" Cell "SFDataObjDesc" 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 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off IncDataTypeInIds off MangleLength 1 CustomSymbolStrGlobalVar "$R$N$M" CustomSymbolStrType "$N$R$M" 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 SimulinkBlockComments on EnableCustomComments off InlinedPrmAccess "Literals" ReqsInCode off UseSimReservedNames off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 11 Version "1.6.0" Array { Type "Cell" Dimension 17 Cell "GeneratePreprocessorConditionals" Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "GenerateTestInterfaces" Cell "ModelStepFunctionPrototypeControlCompliant" Cell "CPPClassGenCompliant" Cell "MultiInstanceERTCode" Cell "PurelyIntegerCode" Cell "SupportNonFinite" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" Cell "PortableWordSizes" PropName "DisabledProps" } TargetFcnLib "ansi_tfl_table_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" TargetFunctionLibrary "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 IncludeMdlTerminateFcn on GeneratePreprocessorConditionals "Disable all" CombineOutputUpdateFcns 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" PortableWordSizes off ModelStepFunctionPrototypeControlCompliant off CPPClassGenCompliant off AutosarCompliant off UseMalloc off ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" ExtModeIntrfLevel "Level1" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off GenerateASAP2 off } PropName "Components" } } hdlcoderui.hdlcc { $ObjectID 12 Version "1.6.0" Description "HDL Coder custom configuration component" Name "HDL Coder" Array { Type "Cell" Dimension 1 Cell "" PropName "HDLConfigFile" } HDLCActiveTab "0" } DES.SimEventsCC { $ObjectID 13 Version "1.6.0" Name "SimEvents" SimEventsActiveTab "0" propIdentEvents "0" propIdentEventSeed "123456789" propUnconnectedPorts "0" propMaxDesBlkSimulEvents "1000" propMaxDesMdlSimulEvents "100000" propDiagAttribOutput "1" propDiagFcnCallOutput "1" propDiagStatOutput "0" propDiagChangeAttrib "2" propRNGIdenticalSeeds "1" } PropName "Components" } Name "Configuration" CurrentDlgPage "Diagnostics/Sample Time" ConfigPrmDlgPosition " [ 280, 135, 1160, 765 ] " } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 1 } BlockDefaults { ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on BlockRotation 0 BlockMirror off } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" UseDisplayTextAsClickCallback off } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } BlockParameterDefaults { Block { BlockType Constant Value "1" VectorParams1D on SamplingMode "Sample based" OutMin "[]" OutMax "[]" OutDataTypeMode "Inherit from 'Constant value'" OutDataType "fixdt(1,16,0)" ConRadixGroup "Use specified scaling" OutScaling "[]" OutDataTypeStr "Inherit: Inherit from 'Constant value'" LockScale off SampleTime "inf" FramePeriod "inf" } Block { BlockType Demux Outputs "4" DisplayOption "none" BusSelectionMode off } Block { BlockType DigitalClock SampleTime "1" } Block { BlockType Display Format "short" Decimation "10" Floating off SampleTime "-1" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ParamMin "[]" ParamMax "[]" ParameterDataTypeMode "Same as input" ParameterDataType "fixdt(1,16,0)" ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "[]" ParamDataTypeStr "Inherit: Same as input" OutMin "[]" OutMax "[]" OutDataTypeMode "Same as input" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: Same as input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Inport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" VarSizeSig "Inherit" SampleTime "-1" OutMin "[]" OutMax "[]" DataType "auto" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: auto" LockScale off SignalType "auto" SamplingMode "auto" LatchByDelayingOutsideSignal off LatchByCopyingInsideSignal off Interpolate on } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" IgnoreLimit off ZeroCross on ContinuousStateAttributes "''" } Block { BlockType MATLABFcn MATLABFcn "sin" OutputDimensions "-1" OutputSignalType "auto" Output1D on SampleTime "-1" } Block { BlockType Math Operator "exp" OutputSignalType "auto" SampleTime "-1" OutMin "[]" OutMax "[]" OutDataTypeMode "Same as first input" OutDataType "fixdt(1,16,0)" OutScaling "[]" 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 Mux Inputs "4" DisplayOption "none" UseBusObject off BusObject "BusObject" NonVirtualBus off } Block { BlockType Outport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" VarSizeSig "Inherit" SampleTime "-1" OutMin "[]" OutMax "[]" DataType "auto" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: auto" LockScale off SignalType "auto" SamplingMode "auto" SourceOfInitialOutputValue "Dialog" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeMode "Same as first input" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: Same as first input" LockScale off RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType RelationalOperator Operator ">=" InputSameDT on LogicOutDataTypeMode "Logical (see Configuration Parameters: Optimization)" LogicDataType "uint(8)" OutDataTypeStr "Inherit: Logical (see Configuration Parameters: Optimization)" ZeroCross on SampleTime "-1" } Block { BlockType "S-Function" FunctionName "system" SFunctionModules "''" PortCounts "[]" SFunctionDeploymentMode off } Block { BlockType SignalViewerScope 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" Disabled off ScrollMode on } Block { BlockType SubSystem ShowPortLabels "FromPortIcon" Permissions "ReadWrite" PermitHierarchicalResolution "All" TreatAsAtomicUnit off CheckFcnCallInpInsideContextMsg off SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on AccumDataTypeStr "Inherit: Inherit via internal rule" OutMin "[]" OutMax "[]" OutDataTypeMode "Same as first input" OutDataType "fixdt(1,16,0)" OutScaling "[]" 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 "[]" OutDataTypeMode "Inherit via internal rule" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: Inherit via internal rule" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on ZeroCross on SampleTime "-1" AllowDiffInputSizes off } Block { BlockType Terminator } Block { BlockType ToFile Filename "untitled.mat" MatrixName "ans" Decimation "1" SampleTime "-1" } Block { BlockType Trigonometry Operator "sin" OutputSignalType "auto" SampleTime "-1" } Block { BlockType ZeroOrderHold SampleTime "1" } } System { Name "CerebellumIODCNAbstractMass" Location [25, 134, 1444, 885] Open on ModelBrowserVisibility off ModelBrowserWidth 200 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 4629 Block { BlockType SubSystem Name "3 sinusoidal \ntrajectories" SID 184 Ports [0, 3] Position [60, 355, 100, 425] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "3 sinusoidal \ntrajectories" Location [562, 199, 875, 767] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Constant Name "Constant1" SID 185 Position [20, 582, 125, 598] Value "[ 0 0 0 0 ] " OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant2" SID 186 Position [15, 887, 120, 903] Value "[ 0 0 0 0 ] " OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant3" SID 187 Position [20, 282, 125, 298] Value "[ 0 0 0 0 ] " OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Mux Name "Mux" SID 188 Ports [4, 1] Position [160, 87, 165, 198] ShowName off DisplayOption "bar" } Block { BlockType Mux Name "Mux1" SID 189 Ports [4, 1] Position [160, 402, 165, 513] ShowName off DisplayOption "bar" } Block { BlockType Mux Name "Mux2" SID 190 Ports [4, 1] Position [165, 692, 170, 803] ShowName off DisplayOption "bar" } Block { BlockType SubSystem Name "Subsystem" SID 191 Ports [0, 1] Position [25, 100, 65, 160] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem" Location [38, 82, 867, 339] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Constant Name "Constant1" SID 193 Position [285, 30, 315, 60] Value "0.1" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant2" SID 194 Position [125, 40, 155, 70] Value "pi/4" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant3" SID 195 Position [45, 125, 75, 155] Value "2*pi" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType DigitalClock Name "Digital Clock" SID 316 Position [15, 218, 80, 242] SampleTime "0.002" } Block { BlockType Product Name "Product" SID 196 Ports [2, 1] Position [395, 42, 425, 73] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID 197 Ports [2, 1] Position [200, 172, 230, 203] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" SID 198 Ports [2, 1] Position [275, 115, 295, 135] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" SID 199 Ports [1, 1] Position [320, 175, 350, 205] } Block { BlockType Outport Name "q2" SID 200 Position [510, 53, 540, 67] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Sum" SrcPort 1 Points [0, 65] DstBlock "Trigonometric\nFunction" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [100, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 Points [50, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "q2" DstPort 1 } Line { SrcBlock "Trigonometric\nFunction" SrcPort 1 Points [25, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, 40] DstBlock "Product2" DstPort 1 } Line { SrcBlock "Digital Clock" SrcPort 1 Points [50, 0; 0, -35] DstBlock "Product2" DstPort 2 } Line { Labels [1, 0] SrcBlock "Constant1" SrcPort 1 Points [60, 0] DstBlock "Product" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem1" SID 201 Ports [0, 1] Position [25, 180, 65, 240] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem1" Location [535, 178, 1155, 435] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Constant Name "Constant2" SID 203 Position [300, 15, 330, 45] Value "0.1" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant3" SID 204 Position [140, 20, 170, 50] Value "pi/2" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant4" SID 205 Position [80, 115, 110, 145] Value "2*pi" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType DigitalClock Name "Digital Clock" SID 315 Position [60, 198, 125, 222] SampleTime "0.002" } Block { BlockType Product Name "Product" SID 206 Ports [2, 1] Position [410, 22, 440, 53] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID 207 Ports [2, 1] Position [215, 152, 245, 183] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" SID 208 Ports [2, 1] Position [290, 95, 310, 115] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" SID 209 Ports [1, 1] Position [335, 155, 365, 185] } Block { BlockType Outport Name "q3" SID 210 Position [525, 33, 555, 47] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Sum" SrcPort 1 Points [0, 65] DstBlock "Trigonometric\nFunction" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [100, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 Points [50, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "q3" DstPort 1 } Line { SrcBlock "Trigonometric\nFunction" SrcPort 1 Points [25, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "Constant4" SrcPort 1 Points [35, 0; 0, 30] DstBlock "Product2" DstPort 1 } Line { SrcBlock "Digital Clock" SrcPort 1 Points [20, 0; 0, -35] DstBlock "Product2" DstPort 2 } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "Product" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem2" SID 211 Ports [0, 1] Position [30, 320, 70, 380] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem2" Location [378, 229, 1027, 631] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Constant Name "Constant1" SID 213 Position [240, 115, 290, 165] Value "0.1*2*pi" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant3" SID 214 Position [20, 215, 50, 245] Value "2*pi" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType DigitalClock Name "Digital Clock" SID 322 Position [15, 303, 80, 327] SampleTime "0.002" } Block { BlockType Product Name "Product" SID 215 Ports [2, 1] Position [370, 132, 400, 163] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID 216 Ports [2, 1] Position [175, 262, 205, 293] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" SID 217 Ports [1, 1] Position [295, 265, 325, 295] Operator "cos" } Block { BlockType Outport Name "qd1" SID 218 Position [520, 108, 550, 122] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Product" SrcPort 1 Points [95, 0; 0, -35] DstBlock "qd1" DstPort 1 } Line { SrcBlock "Trigonometric\nFunction" SrcPort 1 Points [25, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, 40] DstBlock "Product2" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 DstBlock "Trigonometric\nFunction" DstPort 1 } Line { SrcBlock "Digital Clock" SrcPort 1 Points [25, 0; 0, -30] DstBlock "Product2" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Product" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem3" SID 219 Ports [0, 1] Position [25, 25, 65, 85] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem3" Location [366, 265, 1015, 667] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Constant Name "Constant1" SID 221 Position [245, 125, 275, 155] Value "0.1" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant3" SID 222 Position [75, 220, 105, 250] Value "2*pi" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType DigitalClock Name "Digital Clock" SID 314 Position [15, 303, 80, 327] SampleTime "0.002" } Block { BlockType Product Name "Product" SID 223 Ports [2, 1] Position [370, 132, 400, 163] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID 224 Ports [2, 1] Position [175, 262, 205, 293] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" SID 225 Ports [1, 1] Position [295, 265, 325, 295] } Block { BlockType Outport Name "q1" SID 226 Position [520, 108, 550, 122] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Product" SrcPort 1 Points [95, 0; 0, -35] DstBlock "q1" DstPort 1 } Line { SrcBlock "Trigonometric\nFunction" SrcPort 1 Points [25, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, 35] DstBlock "Product2" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 DstBlock "Trigonometric\nFunction" DstPort 1 } Line { SrcBlock "Digital Clock" SrcPort 1 Points [25, 0; 0, -30] DstBlock "Product2" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Product" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem4" SID 227 Ports [0, 1] Position [30, 415, 70, 475] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem4" Location [107, 82, 936, 339] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Constant Name "Constant1" SID 229 Position [305, 30, 350, 70] Value "0.1*2*pi" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant2" SID 230 Position [125, 40, 155, 70] Value "pi/4" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant3" SID 231 Position [45, 125, 75, 155] Value "2*pi" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType DigitalClock Name "Digital Clock" SID 321 Position [45, 218, 110, 242] SampleTime "0.002" } Block { BlockType Product Name "Product" SID 232 Ports [2, 1] Position [395, 42, 425, 73] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID 233 Ports [2, 1] Position [200, 172, 230, 203] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" SID 234 Ports [2, 1] Position [275, 115, 295, 135] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" SID 235 Ports [1, 1] Position [320, 175, 350, 205] Operator "cos" } Block { BlockType Outport Name "qd2" SID 236 Position [510, 53, 540, 67] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Sum" SrcPort 1 Points [0, 65] DstBlock "Trigonometric\nFunction" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [100, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 Points [50, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "qd2" DstPort 1 } Line { SrcBlock "Trigonometric\nFunction" SrcPort 1 Points [25, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, 40] DstBlock "Product2" DstPort 1 } Line { SrcBlock "Digital Clock" SrcPort 1 Points [20, 0; 0, -35] DstBlock "Product2" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Product" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem5" SID 237 Ports [0, 1] Position [30, 505, 70, 565] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem5" Location [535, 178, 1155, 435] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Constant Name "Constant1" SID 239 Position [315, 15, 360, 55] Value "0.1*2*pi" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant3" SID 240 Position [140, 20, 170, 50] Value "pi/2" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant4" SID 241 Position [60, 105, 90, 135] Value "2*pi" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType DigitalClock Name "Digital Clock" SID 320 Position [15, 198, 80, 222] SampleTime "0.002" } Block { BlockType Product Name "Product" SID 242 Ports [2, 1] Position [410, 22, 440, 53] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID 243 Ports [2, 1] Position [215, 152, 245, 183] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" SID 244 Ports [2, 1] Position [290, 95, 310, 115] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" SID 245 Ports [1, 1] Position [335, 155, 365, 185] Operator "cos" } Block { BlockType Outport Name "qd3" SID 246 Position [525, 33, 555, 47] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Sum" SrcPort 1 Points [0, 65] DstBlock "Trigonometric\nFunction" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [100, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 Points [50, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "qd3" DstPort 1 } Line { SrcBlock "Trigonometric\nFunction" SrcPort 1 Points [25, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, 40] DstBlock "Product2" DstPort 1 } Line { SrcBlock "Digital Clock" SrcPort 1 Points [65, 0; 0, -35] DstBlock "Product2" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 Points [0, -5] DstBlock "Product" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem6" SID 247 Ports [0, 1] Position [35, 610, 75, 670] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem6" Location [276, 429, 925, 831] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Constant Name "Constant1" SID 249 Position [220, 112, 290, 168] Value "-0.1*4*pi^2" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant3" SID 250 Position [20, 215, 50, 245] Value "2*pi" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType DigitalClock Name "Digital Clock" SID 317 Position [15, 308, 80, 332] SampleTime "0.002" } Block { BlockType Product Name "Product" SID 251 Ports [2, 1] Position [370, 132, 400, 163] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID 252 Ports [2, 1] Position [175, 262, 205, 293] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" SID 253 Ports [1, 1] Position [295, 265, 325, 295] } Block { BlockType Outport Name "qdd1" SID 254 Position [520, 108, 550, 122] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Product" SrcPort 1 Points [95, 0; 0, -35] DstBlock "qdd1" DstPort 1 } Line { SrcBlock "Trigonometric\nFunction" SrcPort 1 Points [25, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, 40] DstBlock "Product2" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 DstBlock "Trigonometric\nFunction" DstPort 1 } Line { SrcBlock "Digital Clock" SrcPort 1 Points [25, 0; 0, -35] DstBlock "Product2" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Product" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem7" SID 255 Ports [0, 1] Position [35, 705, 75, 765] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem7" Location [359, 132, 1188, 389] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Constant Name "Constant1" SID 257 Position [280, 22, 350, 78] Value "-0.1*4*pi^2" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant2" SID 258 Position [125, 40, 155, 70] Value "pi/4" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant3" SID 259 Position [45, 125, 75, 155] Value "2*pi" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType DigitalClock Name "Digital Clock" SID 318 Position [55, 218, 120, 242] SampleTime "0.002" } Block { BlockType Product Name "Product" SID 260 Ports [2, 1] Position [395, 42, 425, 73] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID 261 Ports [2, 1] Position [200, 172, 230, 203] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" SID 262 Ports [2, 1] Position [275, 115, 295, 135] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" SID 263 Ports [1, 1] Position [320, 175, 350, 205] } Block { BlockType Outport Name "qdd2" SID 264 Position [510, 53, 540, 67] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Sum" SrcPort 1 Points [0, 65] DstBlock "Trigonometric\nFunction" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [100, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 Points [50, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "qdd2" DstPort 1 } Line { SrcBlock "Trigonometric\nFunction" SrcPort 1 Points [25, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, 40] DstBlock "Product2" DstPort 1 } Line { SrcBlock "Digital Clock" SrcPort 1 Points [10, 0; 0, -35] DstBlock "Product2" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Product" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem8" SID 265 Ports [0, 1] Position [40, 790, 80, 850] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem8" Location [535, 178, 1155, 435] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Constant Name "Constant1" SID 267 Position [300, 12, 370, 68] Value "-0.1*4*pi^2" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant3" SID 268 Position [140, 20, 170, 50] Value "pi/2" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant4" SID 269 Position [60, 105, 90, 135] Value "2*pi" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType DigitalClock Name "Digital Clock" SID 319 Position [60, 198, 125, 222] SampleTime "0.002" } Block { BlockType Product Name "Product" SID 270 Ports [2, 1] Position [410, 22, 440, 53] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID 271 Ports [2, 1] Position [215, 152, 245, 183] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" SID 272 Ports [2, 1] Position [290, 95, 310, 115] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" SID 273 Ports [1, 1] Position [335, 155, 365, 185] } Block { BlockType Outport Name "qdd3" SID 274 Position [525, 33, 555, 47] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Sum" SrcPort 1 Points [0, 65] DstBlock "Trigonometric\nFunction" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [100, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 Points [50, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "qdd3" DstPort 1 } Line { SrcBlock "Trigonometric\nFunction" SrcPort 1 Points [25, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, 40] DstBlock "Product2" DstPort 1 } Line { SrcBlock "Digital Clock" SrcPort 1 Points [20, 0; 0, -35] DstBlock "Product2" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 Points [0, -10] DstBlock "Product" DstPort 1 } } } Block { BlockType Outport Name "q" SID 275 Position [240, 138, 270, 152] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "qd" SID 276 Position [245, 448, 275, 462] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "qdd" SID 277 Position [195, 728, 225, 742] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Mux2" SrcPort 1 Points [0, -15] DstBlock "qdd" DstPort 1 } Line { SrcBlock "Mux1" SrcPort 1 Points [0, -5] DstBlock "qd" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "q" DstPort 1 } Line { SrcBlock "Subsystem3" SrcPort 1 Points [35, 0; 0, 50] DstBlock "Mux" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "Subsystem1" SrcPort 1 Points [35, 0; 0, -55] DstBlock "Mux" DstPort 3 } Line { SrcBlock "Subsystem2" SrcPort 1 Points [35, 0; 0, 70] DstBlock "Mux1" DstPort 1 } Line { SrcBlock "Subsystem4" SrcPort 1 DstBlock "Mux1" DstPort 2 } Line { SrcBlock "Subsystem5" SrcPort 1 Points [35, 0; 0, -65] DstBlock "Mux1" DstPort 3 } Line { SrcBlock "Subsystem6" SrcPort 1 Points [35, 0; 0, 70] DstBlock "Mux2" DstPort 1 } Line { SrcBlock "Subsystem7" SrcPort 1 DstBlock "Mux2" DstPort 2 } Line { SrcBlock "Subsystem8" SrcPort 1 Points [35, 0; 0, -60] DstBlock "Mux2" DstPort 3 } Line { SrcBlock "Constant3" SrcPort 1 Points [5, 0; 0, -110] DstBlock "Mux" DstPort 4 } Line { SrcBlock "Constant1" SrcPort 1 Points [5, 0; 0, -95] DstBlock "Mux1" DstPort 4 } Line { SrcBlock "Constant2" SrcPort 1 Points [10, 0; 0, -110] DstBlock "Mux2" DstPort 4 } } } Block { BlockType Constant Name "Constant" SID 1318 Position [610, 740, 655, 770] OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant1" SID 1319 Position [610, 779, 660, 811] Value "20" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant4" SID 1320 Position [615, 818, 655, 852] Value "10" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Demux Name "Demux" SID 4394 Ports [1, 6] Position [1585, 711, 1590, 889] ShowName off Outputs "6" DisplayOption "bar" } Block { BlockType Demux Name "Demux1" SID 4475 Ports [1, 6] Position [1075, 574, 1080, 686] ShowName off Outputs "6" DisplayOption "bar" } Block { BlockType DigitalClock Name "Digital Clock" SID 4355 Position [460, 198, 525, 222] SampleTime "0.002" } Block { BlockType Display Name "Display" SID 4385 Ports [1] Position [680, 195, 770, 225] Decimation "1" Lockdown off } Block { BlockType Gain Name "Gain1" SID 4511 Position [520, 125, 550, 155] BlockMirror on NamePlacement "alternate" Gain "(1/13)" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "fixdt(1, 16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "fixdt(1, 16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain2" SID 4512 Position [460, 100, 490, 130] BlockMirror on NamePlacement "alternate" Gain "(1/8)" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "fixdt(1, 16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "fixdt(1, 16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain3" SID 4513 Position [590, 150, 620, 180] BlockMirror on NamePlacement "alternate" Gain "(1/6)" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "fixdt(1, 16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "fixdt(1, 16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Reference Name "Granular layer" SID 4389 Ports [0, 1] Position [1160, 1030, 1190, 1060] LibraryVersion "1.762" SourceBlock "simulink/Sources/Counter\nLimited" SourceType "Counter Limited" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" uplimit "499" tsamp "0.002" } Block { BlockType Constant Name "MFactivity" SID 4390 Position [1165, 890, 1210, 920] Value "ones(6,1)" OutDataTypeMode "double" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "double" SampleTime "0.002" } Block { BlockType Mux Name "Mux" SID 4354 Ports [3, 1] Position [605, 236, 610, 274] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux1" SID 4387 Ports [3, 1] Position [1695, 404, 1700, 496] BlockMirror on NamePlacement "alternate" ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux2" SID 2292 Ports [3, 1] Position [275, 236, 280, 314] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux3" SID 4439 Ports [3, 1] Position [1035, 577, 1040, 683] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux4" SID 4473 Ports [3, 1] Position [995, 739, 1000, 841] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux6" SID 4431 Ports [2, 1] Position [1695, 541, 1700, 579] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux7" SID 4433 Ports [2, 1] Position [1710, 611, 1715, 649] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux8" SID 4434 Ports [2, 1] Position [1725, 676, 1730, 714] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux9" SID 4477 Ports [6, 1] Position [1185, 573, 1190, 687] ShowName off Inputs "6" DisplayOption "bar" } Block { BlockType SubSystem Name "RNE " SID 330 Ports [3, 1] Position [215, 358, 335, 422] BackgroundColor "red" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off MaskDescription "This block computes the inverse dynamics by using the\nrecursive Newton Euler algorithm(c" "omputationally speaking more efficient than Lagrange-Euler's method)\nThe gravity vector has to be set (the grav" "ity direction has to be taken into account)" MaskPromptString "Gravity Vector( 0 0 -9.81) |Robot" MaskStyleString "edit,edit" MaskTunableValueString "on,on" MaskCallbackString "|" MaskEnableString "on,on" MaskVisibilityString "on,on" MaskToolTipString "on,on" MaskVariables "grav=@1;RRed=@2;" MaskDisplay "port_label('output',1,'Torques')\nport_label('input',1,'q')\nport_label('input',2,'qd')\nport" "_label('input',3,'qdd')\nfprintf('RNE') " MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "[ 0 0 9.81]|RRedKuKa" System { Name "RNE " Location [265, 341, 775, 553] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "q" SID 331 Position [25, 33, 55, 47] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "qd" SID 332 Position [25, 103, 55, 117] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "qdd" SID 333 Position [25, 163, 55, 177] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Mux Name "Mux" SID 334 Ports [3, 1] Position [215, 51, 220, 169] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType "S-Function" Name "S-Function" SID 335 Ports [1, 1] Position [90, 25, 150, 55] BackgroundColor "yellow" FunctionName "Select" Parameters "RRed" EnableBusSupport off } Block { BlockType "S-Function" Name "S-Function1" SID 336 Ports [1, 1] Position [95, 95, 155, 125] BackgroundColor "yellow" FunctionName "Select" Parameters "RRed" EnableBusSupport off } Block { BlockType "S-Function" Name "S-Function2" SID 337 Ports [1, 1] Position [100, 155, 160, 185] BackgroundColor "yellow" FunctionName "Select" Parameters "RRed" EnableBusSupport off } Block { BlockType MATLABFcn Name "rne" SID 338 Ports [1, 1] Position [255, 96, 430, 124] MATLABFcn "frne(RRed, u(1:RRed.n)', u(RRed.n+1:2*RRed.n)', u(2* RRed.n+1:3*RRed.n)',grav)" OutputDimensions "RRed.n" } Block { BlockType Outport Name "Torque" SID 339 Position [455, 103, 485, 117] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "qdd" SrcPort 1 DstBlock "S-Function2" DstPort 1 } Line { SrcBlock "rne" SrcPort 1 DstBlock "Torque" DstPort 1 } Line { SrcBlock "q" SrcPort 1 DstBlock "S-Function" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "rne" DstPort 1 } Line { SrcBlock "qd" SrcPort 1 DstBlock "S-Function1" DstPort 1 } Line { SrcBlock "S-Function" SrcPort 1 Points [40, 0; 0, 30] DstBlock "Mux" DstPort 1 } Line { SrcBlock "S-Function1" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "S-Function2" SrcPort 1 Points [25, 0; 0, -20] DstBlock "Mux" DstPort 3 } } } Block { BlockType SubSystem Name "RNE 2" SID 4548 Ports [3, 1] Position [215, 463, 335, 527] BackgroundColor "red" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off MaskDescription "This block computes the inverse dynamics by using the\nrecursive Newton Euler algorithm(c" "omputationally speaking more efficient than Lagrange-Euler's method)\nThe gravity vector has to be set (the grav" "ity direction has to be taken into account)" MaskPromptString "Gravity Vector( 0 0 -9.81) |Robot" MaskStyleString "edit,edit" MaskTunableValueString "on,on" MaskCallbackString "|" MaskEnableString "on,on" MaskVisibilityString "on,on" MaskToolTipString "on,on" MaskVariables "grav=@1;RRed=@2;" MaskDisplay "\nport_label('output',1,'Torques')\nport_label('input',1,'q')\nport_label('input',2,'qd')\npo" "rt_label('input',3,'qdd')\nfprintf('RNE') " MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "[ 0 0 9.81]|RRedKuKadet" System { Name "RNE 2" Location [265, 341, 775, 553] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "q" SID 4549 Position [25, 33, 55, 47] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "qd" SID 4550 Position [25, 103, 55, 117] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "qdd" SID 4551 Position [25, 163, 55, 177] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Mux Name "Mux" SID 4552 Ports [3, 1] Position [215, 51, 220, 169] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType "S-Function" Name "S-Function" SID 4553 Ports [1, 1] Position [90, 25, 150, 55] BackgroundColor "yellow" FunctionName "Select" Parameters "RRed" EnableBusSupport off } Block { BlockType "S-Function" Name "S-Function1" SID 4554 Ports [1, 1] Position [95, 95, 155, 125] BackgroundColor "yellow" FunctionName "Select" Parameters "RRed" EnableBusSupport off } Block { BlockType "S-Function" Name "S-Function2" SID 4555 Ports [1, 1] Position [100, 155, 160, 185] BackgroundColor "yellow" FunctionName "Select" Parameters "RRed" EnableBusSupport off } Block { BlockType MATLABFcn Name "rne" SID 4556 Ports [1, 1] Position [255, 96, 430, 124] MATLABFcn "frne(RRed, u(1:RRed.n)', u(RRed.n+1:2*RRed.n)', u(2* RRed.n+1:3*RRed.n)',grav)" OutputDimensions "RRed.n" } Block { BlockType Outport Name "Torque" SID 4557 Position [455, 103, 485, 117] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "qdd" SrcPort 1 DstBlock "S-Function2" DstPort 1 } Line { SrcBlock "rne" SrcPort 1 DstBlock "Torque" DstPort 1 } Line { SrcBlock "q" SrcPort 1 DstBlock "S-Function" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "rne" DstPort 1 } Line { SrcBlock "qd" SrcPort 1 DstBlock "S-Function1" DstPort 1 } Line { SrcBlock "S-Function" SrcPort 1 Points [40, 0; 0, 30] DstBlock "Mux" DstPort 1 } Line { SrcBlock "S-Function1" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "S-Function2" SrcPort 1 Points [25, 0; 0, -20] DstBlock "Mux" DstPort 3 } } } Block { BlockType SubSystem Name "ROBOT RRR" SID 340 Ports [1, 3] Position [420, 354, 585, 426] BackgroundColor "red" DropShadow on MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off MaskDescription "Simulated robot model(Rigid body dynamics)" MaskPromptString "Position initial conditions q|Velocity initial conditions qd|Robot" MaskStyleString "edit,edit,edit" MaskTunableValueString "on,on,on" MaskCallbackString "||" MaskEnableString "on,on,on" MaskVisibilityString "on,on,on" MaskToolTipString "on,on,on" MaskVariables "Ciniciales=@1;Viniciales=@2;RRed=@3;" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "[0.0 0.1*sin(pi/4) 0.1 0 0 0 0]|[2*pi*0.1 2*pi*sin(pi/4)*0.1 0 0 0 0 0]|RRedKuKadet" System { Name "ROBOT RRR" Location [2, 82, 1261, 876] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "torqueX" SID 341 Position [35, 138, 65, 152] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant" SID 342 Position [35, 745, 155, 775] Value "Ciniciales" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant1" SID 343 Position [25, 630, 145, 660] Value "Viniciales" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Integrator Name "Integrator" SID 344 Ports [3, 1] Position [270, 104, 305, 156] ExternalReset "falling" InitialConditionSource "external" Port { PortNumber 1 Name "qd" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Integrator Name "Integrator1" SID 345 Ports [3, 1] Position [360, 115, 390, 155] ExternalReset "falling" InitialConditionSource "external" Port { PortNumber 1 Name "q" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Mux Name "Mux" SID 346 Ports [3, 1] Position [105, 70, 115, 160] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType SubSystem Name "Reset Contidions" SID 3321 Ports [0, 1] Position [65, 334, 130, 396] BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off MaskPromptString "Period" MaskStyleString "edit" MaskTunableValueString "on" MaskEnableString "on" MaskVisibilityString "on" MaskToolTipString "on" MaskVariables "T=@1;" MaskDisplay "port_label ('output',1,'FallingReset')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "1" System { Name "Reset Contidions" Location [27, 390, 267, 520] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Constant Name "Constant2" SID 3318 Position [35, 74, 80, 106] Value "T" OutDataType "fixdt(1, 16)" OutScaling "2^0" } Block { BlockType DigitalClock Name "Digital Clock" SID 3317 Position [25, 28, 90, 52] SampleTime "0.002" } Block { BlockType Math Name "Math\nFunction" SID 3316 Ports [2, 1] Position [130, 32, 160, 63] Operator "mod" OutputSignalType "real" OutDataType "fixdt(1, 16)" OutScaling "2^0" } Block { BlockType Outport Name "Out1" SID 3322 Position [185, 43, 215, 57] IconDisplay "Port number" } Line { SrcBlock "Digital Clock" SrcPort 1 DstBlock "Math\nFunction" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [30, 0] DstBlock "Math\nFunction" DstPort 2 } Line { SrcBlock "Math\nFunction" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType "S-Function" Name "S-Function" SID 347 Ports [1, 1] Position [150, 100, 210, 130] FunctionName "CINDIR" Parameters "RRed" EnableBusSupport off Port { PortNumber 1 Name "qdd" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType "S-Function" Name "S-Function1" SID 348 Ports [1, 1] Position [185, 745, 245, 775] BackgroundColor "yellow" FunctionName "Select" Parameters "RRed" EnableBusSupport off } Block { BlockType "S-Function" Name "S-Function2" SID 349 Ports [1, 1] Position [185, 630, 245, 660] BackgroundColor "yellow" FunctionName "Select" Parameters "RRed" EnableBusSupport off } Block { BlockType Outport Name "joint positions q" SID 350 Position [565, 13, 595, 27] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "joint velocities qd" SID 351 Position [565, 53, 595, 67] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "joint accelerations qdd" SID 352 Position [565, 98, 595, 112] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "torqueX" SrcPort 1 DstBlock "Mux" DstPort 3 } Line { Name "qd" Labels [0, 0] SrcBlock "Integrator" SrcPort 1 Points [15, 0; 0, -10] Branch { DstBlock "Integrator1" DstPort 1 } Branch { Points [0, -60] Branch { Points [0, -25; -285, 0; 0, 80] DstBlock "Mux" DstPort 2 } Branch { DstBlock "joint velocities qd" DstPort 1 } } } Line { SrcBlock "Mux" SrcPort 1 DstBlock "S-Function" DstPort 1 } Line { Name "qdd" Labels [0, 0] SrcBlock "S-Function" SrcPort 1 Points [25, 0] Branch { DstBlock "Integrator" DstPort 1 } Branch { Points [0, -25; 310, 0] DstBlock "joint accelerations qdd" DstPort 1 } } Line { SrcBlock "Constant" SrcPort 1 DstBlock "S-Function1" DstPort 1 } Line { Name "q" Labels [0, 0] SrcBlock "Integrator1" SrcPort 1 Points [0, -115] Branch { Points [-330, 0; 0, 65] DstBlock "Mux" DstPort 1 } Branch { DstBlock "joint positions q" DstPort 1 } } Line { SrcBlock "S-Function1" SrcPort 1 Points [90, 0; 0, -610] DstBlock "Integrator1" DstPort 3 } Line { SrcBlock "S-Function2" SrcPort 1 Points [5, 0] DstBlock "Integrator" DstPort 3 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "S-Function2" DstPort 1 } Line { SrcBlock "Reset Contidions" SrcPort 1 Points [95, 0] Branch { Points [105, 0; 0, -230] DstBlock "Integrator1" DstPort 2 } Branch { Points [0, -235] DstBlock "Integrator" DstPort 2 } } } } Block { BlockType "S-Function" Name "S-Function" SID 4388 Ports [3, 6] Position [1275, 939, 1405, 1036] FunctionName "CerebellumIODCNAbstract" Parameters "ParamFile NumberOfJoints NumberOfStates WeightFile" EnableBusSupport off MaskPromptString "Learning Configuration File|Number Of Joints|Number Of States|Final Weight File" MaskStyleString "edit,edit,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVariables "ParamFile=@1;NumberOfJoints=@2;NumberOfStates=@3;WeightFile=@4;" MaskDisplay "image(imread('EDLUTIcon.jpg'));\nport_label('input',1,'MFAct')\nport_label('input',2,'Error')" "\nport_label('input',3,'State')\nport_label('output',1,'DCNAct')\nport_label('output',2,'PCAct')\nport_label('ou" "tput',3,'MFWeight')\nport_label('output',4,'PCWeight')\nport_label('output',5,'IOWeight')\nport_label('output',6" ",'KPWeight')\nfprintf('Cerebellum')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "'Parameters.txt'|6|500|'./Register/WeightsNF.dat'" } Block { BlockType SubSystem Name "Subsystem" SID 1232 Ports [7, 7] Position [710, 565, 935, 865] BackgroundColor "orange" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem" Location [161, 93, 1299, 853] Open on ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "Desired Positions" SID 1246 Position [20, 208, 50, 222] IconDisplay "Port number" } Block { BlockType Inport Name "Desired Velocities" SID 1250 Position [25, 248, 55, 262] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "qreal" SID 1254 Position [30, 110, 45, 140] NamePlacement "alternate" Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "qdreal" SID 1255 Position [30, 165, 45, 195] NamePlacement "alternate" Port "4" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name " Max Torque Value Poisson1" SID 1307 Position [365, 53, 395, 67] Port "5" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name " Max Torque Value Poisson2" SID 1309 Position [365, 153, 395, 167] Port "6" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name " Max Torque Value Poisson3" SID 1311 Position [365, 253, 395, 267] Port "7" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Demux Name "Demux" SID 1256 Ports [1, 3] Position [290, 183, 295, 237] BackgroundColor "black" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Demux Name "Demux2" SID 4423 Ports [1, 3] Position [675, 338, 680, 392] BackgroundColor "black" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType SubSystem Name "ErrorModel" SID 1258 Ports [4, 1] Position [160, 175, 255, 240] BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "ErrorModel" Location [81, 194, 1125, 954] Open on ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "qreal" SID 1259 Position [625, 38, 655, 52] BlockMirror on IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "qdreal" SID 1260 Position [695, 133, 725, 147] BlockMirror on Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "qdes" SID 1261 Position [25, 188, 55, 202] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "qddes" SID 1262 Position [25, 278, 55, 292] Port "4" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Demux Name "Demux" SID 3403 Ports [1, 3] Position [215, 186, 220, 224] ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Demux Name "Demux1" SID 3407 Ports [1, 3] Position [210, 276, 215, 314] ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType SubSystem Name "Gain error" SID 1264 Ports [2, 2] Position [590, 214, 660, 281] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off MaskPromptString "Error Position Gain Value 1|Error Position Gain Value 2|Error Position Gain Value3|Erro" "r Velocity Gain Value1|Error Velocity Gain Value2|Error Velocity Gain Value3" MaskStyleString "edit,edit,edit,edit,edit,edit" MaskTunableValueString "on,on,on,on,on,on" MaskCallbackString "|||||" MaskEnableString "on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on" MaskToolTipString "on,on,on,on,on,on" MaskVariables "KP1=@1;KP2=@2;KP3=@3;KV1=@4;KV2=@5;KV3=@6;" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "2|10|6|0.2|10*0.1|0.6" System { Name "Gain error" Location [2, 78, 1438, 850] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "ep" SID 1265 Position [25, 33, 55, 47] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "ev" SID 1266 Position [30, 78, 60, 92] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "Gain" SID 1267 Position [90, 25, 120, 55] Gain "[KP1 0 0;0 KP2 0;0 0 KP3]" Multiplication "Matrix(K*u)" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain1" SID 1268 Position [95, 70, 125, 100] Gain "[KV1 0 0;0 KV2 0; 0 0 KV3]" Multiplication "Matrix(K*u)" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "e1" SID 1269 Position [145, 33, 175, 47] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "e2" SID 1270 Position [150, 78, 180, 92] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "ep" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "ev" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "e1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 DstBlock "e2" DstPort 1 } } } Block { BlockType MATLABFcn Name "MATLAB Fcn" SID 3328 Ports [1, 1] Position [815, 225, 875, 255] MATLABFcn "rad2deg" } Block { BlockType Sum Name "Sum4" SID 1280 Ports [2, 1] Position [425, 185, 445, 205] ShowName off IconShape "round" Inputs "-+|" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum5" SID 1281 Ports [2, 1] Position [520, 275, 540, 295] ShowName off IconShape "round" Inputs "-+|" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum6" SID 1282 Ports [2, 1] Position [765, 230, 785, 250] ShowName off IconShape "round" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Terminator Name "Terminator" SID 3409 Position [260, 210, 280, 230] } Block { BlockType Terminator Name "Terminator1" SID 3410 Position [260, 240, 280, 260] } Block { BlockType Terminator Name "Terminator2" SID 3411 Position [255, 295, 275, 315] } Block { BlockType Terminator Name "Terminator3" SID 3412 Position [255, 330, 275, 350] } Block { BlockType ToFile Name "ToFileErrorPos" SID 4487 Position [835, 80, 895, 110] Filename "ErrorPositionAllLearning6kg.mat" } Block { BlockType Outport Name "error" SID 1306 Position [965, 233, 995, 247] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Sum4" SrcPort 1 Points [40, 0] Branch { Points [85, 0] DstBlock "Gain error" DstPort 1 } Branch { Points [0, -100] DstBlock "ToFileErrorPos" DstPort 1 } } Line { SrcBlock "Sum5" SrcPort 1 Points [30, 0] DstBlock "Gain error" DstPort 2 } Line { SrcBlock "Gain error" SrcPort 1 Points [5, 0; 0, -15] DstBlock "Sum6" DstPort 1 } Line { SrcBlock "Gain error" SrcPort 2 Points [5, 0; 0, 15; 105, 0] DstBlock "Sum6" DstPort 2 } Line { SrcBlock "qdreal" SrcPort 1 Points [-160, 0] DstBlock "Sum5" DstPort 1 } Line { SrcBlock "qddes" SrcPort 1 Points [135, 0] DstBlock "Demux1" DstPort 1 } Line { SrcBlock "Sum6" SrcPort 1 DstBlock "MATLAB Fcn" DstPort 1 } Line { SrcBlock "qreal" SrcPort 1 Points [-185, 0] DstBlock "Sum4" DstPort 1 } Line { SrcBlock "qdes" SrcPort 1 Points [140, 0] DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Sum4" DstPort 2 } Line { SrcBlock "Demux1" SrcPort 1 DstBlock "Sum5" DstPort 2 } Line { SrcBlock "Demux" SrcPort 2 Points [20, 0] DstBlock "Terminator" DstPort 1 } Line { SrcBlock "Demux" SrcPort 3 Points [10, 0; 0, 35] DstBlock "Terminator1" DstPort 1 } Line { SrcBlock "Demux1" SrcPort 2 Points [20, 0] DstBlock "Terminator2" DstPort 1 } Line { SrcBlock "Demux1" SrcPort 3 Points [10, 0; 0, 35] DstBlock "Terminator3" DstPort 1 } Line { SrcBlock "MATLAB Fcn" SrcPort 1 DstBlock "error" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem IO" SID 708 Ports [6, 4] Position [450, 27, 645, 343] BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem IO" Location [2, 82, 1413, 850] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name " Max Torque Value Poisson1" SID 709 Position [110, 113, 140, 127] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "Error poisson1" SID 710 Position [120, 318, 150, 332] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name " Max Torque Value Poisson2" SID 713 Position [120, 523, 150, 537] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "Error Poisson2" SID 714 Position [110, 728, 140, 742] Port "4" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name " Max Torque Value Poisson3" SID 717 Position [120, 933, 150, 947] Port "5" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "Error Poisson3" SID 718 Position [120, 1138, 150, 1152] Port "6" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType SubSystem Name "IO Subsystem " SID 721 Ports [6, 51] Position [195, 18, 410, 1242] BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "IO Subsystem " Location [81, 63, 1162, 840] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name " Max Torque Value Poisson1" SID 722 Position [670, 238, 700, 252] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "Error Poisson1" SID 723 Position [670, 278, 700, 292] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name " Max Torque Value Poisson2" SID 726 Position [635, 528, 665, 542] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "Error Poisson2" SID 727 Position [635, 563, 665, 577] Port "4" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name " Max Torque Value Poisson3" SID 730 Position [560, 948, 590, 962] Port "5" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "Error Poisson3" SID 731 Position [560, 988, 590, 1002] Port "6" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType SubSystem Name "Poisson1 IO" SID 740 Ports [2, 3] Position [740, 225, 875, 305] BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off MaskPromptString "A Interval value [a b] to generate the Poisson distribution|B Interval value [a b] to genera" "te the Poisson distribution|Time Step|Firingrate" MaskStyleString "edit,edit,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVariables "a=@1;b=@2;timestep=@3;firingrate=@4;" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "0.001|1|0.002|50" System { Name "Poisson1 IO" Location [145, 224, 1183, 1018] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name " Max Torque Value " SID 741 Position [35, 448, 65, 462] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "error" SID 742 Position [35, 483, 65, 497] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Demux Name "Demux2" SID 745 Ports [1, 2] Position [225, 185, 230, 280] BackgroundColor "black" ShowName off Outputs "2" DisplayOption "bar" } Block { BlockType SubSystem Name "IO-FIRE" SID 746 Ports [1, 1] Position [380, 170, 545, 210] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "IO-FIRE" Location [335, 381, 1272, 782] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "Random[a b] & I" SID 747 Position [110, 133, 140, 147] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant" SID 1144 Position [110, 60, 140, 90] OutDataTypeMode "boolean" OutDataType "fixdt(1, 16)" OutScaling "2^0" OutDataTypeStr "boolean" } Block { BlockType Constant Name "Constant1" SID 1145 Position [120, 175, 150, 205] Value "0" OutDataTypeMode "boolean" OutDataType "fixdt(1, 16)" OutScaling "2^0" OutDataTypeStr "boolean" } Block { BlockType Switch Name "Switch3" SID 754 Position [210, 125, 240, 155] Criteria "u2 > Threshold" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Outport Name "Time Firing" SID 756 Position [305, 133, 335, 147] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Switch3" SrcPort 1 DstBlock "Time Firing" DstPort 1 } Line { SrcBlock "Random[a b] & I" SrcPort 1 DstBlock "Switch3" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 Points [15, 0; 0, -40] DstBlock "Switch3" DstPort 3 } Line { SrcBlock "Constant" SrcPort 1 Points [30, 0; 0, 55] DstBlock "Switch3" DstPort 1 } } } Block { BlockType SubSystem Name "IO-FIRE2" SID 1146 Ports [1, 1] Position [380, 275, 545, 315] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "IO-FIRE2" Location [335, 381, 1272, 782] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "Random[a b] & I" SID 1147 Position [110, 133, 140, 147] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant" SID 1148 Position [110, 60, 140, 90] OutDataTypeMode "boolean" OutDataType "fixdt(1, 16)" OutScaling "2^0" OutDataTypeStr "boolean" } Block { BlockType Constant Name "Constant1" SID 1149 Position [120, 175, 150, 205] Value "0" OutDataTypeMode "boolean" OutDataType "fixdt(1, 16)" OutScaling "2^0" OutDataTypeStr "boolean" } Block { BlockType Switch Name "Switch3" SID 1150 Position [210, 125, 240, 155] Criteria "u2 > Threshold" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Outport Name "Time Firing" SID 1151 Position [305, 133, 335, 147] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Switch3" SrcPort 1 DstBlock "Time Firing" DstPort 1 } Line { SrcBlock "Random[a b] & I" SrcPort 1 DstBlock "Switch3" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 Points [15, 0; 0, -40] DstBlock "Switch3" DstPort 3 } Line { SrcBlock "Constant" SrcPort 1 Points [30, 0; 0, 55] DstBlock "Switch3" DstPort 1 } } } Block { BlockType Product Name "Product" SID 768 Ports [3, 1] Position [165, 219, 195, 251] Inputs "3" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType RelationalOperator Name "Relational\nOperator" SID 769 Ports [2, 1] Position [330, 172, 360, 203] Operator "<" InputSameDT off LogicOutDataTypeMode "boolean" LogicDataType "sint(32)" OutDataTypeStr "boolean" } Block { BlockType RelationalOperator Name "Relational\nOperator1" SID 770 Ports [2, 1] Position [320, 277, 350, 308] Operator "<" InputSameDT off LogicOutDataTypeMode "boolean" LogicDataType "sint(32)" OutDataTypeStr "boolean" } Block { BlockType SubSystem Name "Subsystem" SID 771 Ports [2, 1] Position [125, 436, 230, 509] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem" Location [294, 189, 1023, 652] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "Par max" SID 772 Position [30, 13, 60, 27] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "error" SID 773 Position [30, 48, 60, 62] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Mux Name "Mux2" SID 4357 Ports [2, 1] Position [170, 15, 175, 70] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType "S-Function" Name "S-Function" SID 4356 Ports [1, 1] Position [200, 26, 310, 64] FunctionName "errormanagementmod" EnableBusSupport off } Block { BlockType Outport Name "I" SID 778 Position [365, 38, 395, 52] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Par max" SrcPort 1 Points [90, 0] DstBlock "Mux2" DstPort 1 } Line { SrcBlock "error" SrcPort 1 DstBlock "Mux2" DstPort 2 } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "I" DstPort 1 } Line { SrcBlock "Mux2" SrcPort 1 DstBlock "S-Function" DstPort 1 } } } Block { BlockType Constant Name "a" SID 780 Position [55, 189, 110, 221] Value "firingrate" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "b" SID 781 Position [55, 249, 110, 281] Value "timestep" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType SubSystem Name "interval[a b]" SID 782 Ports [0, 1] Position [40, 35, 80, 95] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "interval[a b]" Location [57, 308, 272, 451] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Mux Name "Mux5" SID 783 Ports [2, 1] Position [130, 27, 135, 118] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Constant Name "a" SID 784 Position [25, 34, 80, 66] Value "a" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "b" SID 785 Position [30, 79, 85, 111] Value "b" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "I" SID 786 Position [160, 68, 190, 82] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "a" SrcPort 1 DstBlock "Mux5" DstPort 1 } Line { SrcBlock "b" SrcPort 1 DstBlock "Mux5" DstPort 2 } Line { SrcBlock "Mux5" SrcPort 1 DstBlock "I" DstPort 1 } } } Block { BlockType MATLABFcn Name "random" SID 787 Ports [1, 1] Position [120, 50, 180, 80] MATLABFcn "u(1) + (u(2)-u(1)).*rand(1)" } Block { BlockType Outport Name "Time firing" SID 789 Position [575, 183, 605, 197] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "I" SID 790 Position [285, 463, 315, 477] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time firing1" SID 792 Position [575, 288, 605, 302] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "interval[a b]" SrcPort 1 DstBlock "random" DstPort 1 } Line { SrcBlock " Max Torque Value " SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "error" SrcPort 1 DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "Subsystem" SrcPort 1 Points [0, -5; 25, 0] Branch { DstBlock "I" DstPort 1 } Branch { Points [0, -165; -130, 0; 0, -70] DstBlock "Product" DstPort 2 } } Line { SrcBlock "Demux2" SrcPort 1 Points [80, 0] DstBlock "Relational\nOperator" DstPort 2 } Line { SrcBlock "Demux2" SrcPort 2 Points [20, 0; 0, 45] DstBlock "Relational\nOperator1" DstPort 2 } Line { SrcBlock "a" SrcPort 1 Points [35, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "Relational\nOperator" SrcPort 1 DstBlock "IO-FIRE" DstPort 1 } Line { SrcBlock "IO-FIRE" SrcPort 1 DstBlock "Time firing" DstPort 1 } Line { SrcBlock "Relational\nOperator1" SrcPort 1 DstBlock "IO-FIRE2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Demux2" DstPort 1 } Line { SrcBlock "b" SrcPort 1 Points [30, 0; 0, -20] DstBlock "Product" DstPort 3 } Line { SrcBlock "random" SrcPort 1 Points [10, 0; 0, 45; 70, 0] Branch { Points [50, 0] DstBlock "Relational\nOperator" DstPort 1 } Branch { Points [0, 175] DstBlock "Relational\nOperator1" DstPort 1 } } Line { SrcBlock "IO-FIRE2" SrcPort 1 DstBlock "Time firing1" DstPort 1 } } } Block { BlockType SubSystem Name "Poisson1 IO1" SID 4558 Ports [2, 3] Position [720, 510, 855, 590] BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off MaskPromptString "A Interval value [a b] to generate the Poisson distribution|B Interval value [a b] to genera" "te the Poisson distribution|Time Step|Firingrate" MaskStyleString "edit,edit,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVariables "a=@1;b=@2;timestep=@3;firingrate=@4;" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "0.001|1|0.002|50" System { Name "Poisson1 IO1" Location [145, 224, 1183, 1018] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name " Max Torque Value " SID 4559 Position [35, 448, 65, 462] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "error" SID 4560 Position [35, 483, 65, 497] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Demux Name "Demux2" SID 4561 Ports [1, 2] Position [225, 185, 230, 280] BackgroundColor "black" ShowName off Outputs "2" DisplayOption "bar" } Block { BlockType SubSystem Name "IO-FIRE" SID 4562 Ports [1, 1] Position [380, 170, 545, 210] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "IO-FIRE" Location [335, 381, 1272, 782] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "Random[a b] & I" SID 4563 Position [110, 133, 140, 147] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant" SID 4564 Position [110, 60, 140, 90] OutDataTypeMode "boolean" OutDataType "fixdt(1, 16)" OutScaling "2^0" OutDataTypeStr "boolean" } Block { BlockType Constant Name "Constant1" SID 4565 Position [120, 175, 150, 205] Value "0" OutDataTypeMode "boolean" OutDataType "fixdt(1, 16)" OutScaling "2^0" OutDataTypeStr "boolean" } Block { BlockType Switch Name "Switch3" SID 4566 Position [210, 125, 240, 155] Criteria "u2 > Threshold" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Outport Name "Time Firing" SID 4567 Position [305, 133, 335, 147] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Switch3" SrcPort 1 DstBlock "Time Firing" DstPort 1 } Line { SrcBlock "Random[a b] & I" SrcPort 1 DstBlock "Switch3" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 Points [15, 0; 0, -40] DstBlock "Switch3" DstPort 3 } Line { SrcBlock "Constant" SrcPort 1 Points [30, 0; 0, 55] DstBlock "Switch3" DstPort 1 } } } Block { BlockType SubSystem Name "IO-FIRE2" SID 4568 Ports [1, 1] Position [380, 275, 545, 315] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "IO-FIRE2" Location [335, 381, 1272, 782] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "Random[a b] & I" SID 4569 Position [110, 133, 140, 147] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant" SID 4570 Position [110, 60, 140, 90] OutDataTypeMode "boolean" OutDataType "fixdt(1, 16)" OutScaling "2^0" OutDataTypeStr "boolean" } Block { BlockType Constant Name "Constant1" SID 4571 Position [120, 175, 150, 205] Value "0" OutDataTypeMode "boolean" OutDataType "fixdt(1, 16)" OutScaling "2^0" OutDataTypeStr "boolean" } Block { BlockType Switch Name "Switch3" SID 4572 Position [210, 125, 240, 155] Criteria "u2 > Threshold" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Outport Name "Time Firing" SID 4573 Position [305, 133, 335, 147] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Switch3" SrcPort 1 DstBlock "Time Firing" DstPort 1 } Line { SrcBlock "Random[a b] & I" SrcPort 1 DstBlock "Switch3" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 Points [15, 0; 0, -40] DstBlock "Switch3" DstPort 3 } Line { SrcBlock "Constant" SrcPort 1 Points [30, 0; 0, 55] DstBlock "Switch3" DstPort 1 } } } Block { BlockType Product Name "Product" SID 4574 Ports [3, 1] Position [165, 219, 195, 251] Inputs "3" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType RelationalOperator Name "Relational\nOperator" SID 4575 Ports [2, 1] Position [330, 172, 360, 203] Operator "<" InputSameDT off LogicOutDataTypeMode "boolean" LogicDataType "sint(32)" OutDataTypeStr "boolean" } Block { BlockType RelationalOperator Name "Relational\nOperator1" SID 4576 Ports [2, 1] Position [320, 277, 350, 308] Operator "<" InputSameDT off LogicOutDataTypeMode "boolean" LogicDataType "sint(32)" OutDataTypeStr "boolean" } Block { BlockType SubSystem Name "Subsystem" SID 4577 Ports [2, 1] Position [125, 436, 230, 509] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem" Location [294, 189, 1023, 652] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "Par max" SID 4578 Position [30, 13, 60, 27] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "error" SID 4579 Position [30, 48, 60, 62] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Mux Name "Mux2" SID 4580 Ports [2, 1] Position [170, 15, 175, 70] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType "S-Function" Name "S-Function" SID 4581 Ports [1, 1] Position [200, 26, 310, 64] FunctionName "errormanagementmod" EnableBusSupport off } Block { BlockType Outport Name "I" SID 4582 Position [365, 38, 395, 52] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Par max" SrcPort 1 Points [90, 0] DstBlock "Mux2" DstPort 1 } Line { SrcBlock "error" SrcPort 1 DstBlock "Mux2" DstPort 2 } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "I" DstPort 1 } Line { SrcBlock "Mux2" SrcPort 1 DstBlock "S-Function" DstPort 1 } } } Block { BlockType Constant Name "a" SID 4583 Position [55, 189, 110, 221] Value "firingrate" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "b" SID 4584 Position [55, 249, 110, 281] Value "timestep" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType SubSystem Name "interval[a b]" SID 4585 Ports [0, 1] Position [40, 35, 80, 95] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "interval[a b]" Location [57, 308, 272, 451] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Mux Name "Mux5" SID 4586 Ports [2, 1] Position [130, 27, 135, 118] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Constant Name "a" SID 4587 Position [25, 34, 80, 66] Value "a" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "b" SID 4588 Position [30, 79, 85, 111] Value "b" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "I" SID 4589 Position [160, 68, 190, 82] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "a" SrcPort 1 DstBlock "Mux5" DstPort 1 } Line { SrcBlock "b" SrcPort 1 DstBlock "Mux5" DstPort 2 } Line { SrcBlock "Mux5" SrcPort 1 DstBlock "I" DstPort 1 } } } Block { BlockType MATLABFcn Name "random" SID 4590 Ports [1, 1] Position [120, 50, 180, 80] MATLABFcn "u(1) + (u(2)-u(1)).*rand(1)" } Block { BlockType Outport Name "Time firing" SID 4591 Position [575, 183, 605, 197] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "I" SID 4592 Position [285, 463, 315, 477] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time firing1" SID 4593 Position [575, 288, 605, 302] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "interval[a b]" SrcPort 1 DstBlock "random" DstPort 1 } Line { SrcBlock " Max Torque Value " SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "error" SrcPort 1 DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "Subsystem" SrcPort 1 Points [0, -5; 25, 0] Branch { DstBlock "I" DstPort 1 } Branch { Points [0, -165; -130, 0; 0, -70] DstBlock "Product" DstPort 2 } } Line { SrcBlock "Demux2" SrcPort 1 Points [80, 0] DstBlock "Relational\nOperator" DstPort 2 } Line { SrcBlock "Demux2" SrcPort 2 Points [20, 0; 0, 45] DstBlock "Relational\nOperator1" DstPort 2 } Line { SrcBlock "a" SrcPort 1 Points [35, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "Relational\nOperator" SrcPort 1 DstBlock "IO-FIRE" DstPort 1 } Line { SrcBlock "IO-FIRE" SrcPort 1 DstBlock "Time firing" DstPort 1 } Line { SrcBlock "Relational\nOperator1" SrcPort 1 DstBlock "IO-FIRE2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Demux2" DstPort 1 } Line { SrcBlock "b" SrcPort 1 Points [30, 0; 0, -20] DstBlock "Product" DstPort 3 } Line { SrcBlock "random" SrcPort 1 Points [10, 0; 0, 45; 70, 0] Branch { Points [50, 0] DstBlock "Relational\nOperator" DstPort 1 } Branch { Points [0, 175] DstBlock "Relational\nOperator1" DstPort 1 } } Line { SrcBlock "IO-FIRE2" SrcPort 1 DstBlock "Time firing1" DstPort 1 } } } Block { BlockType SubSystem Name "Poisson1 IO2" SID 4594 Ports [2, 3] Position [685, 935, 820, 1015] BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off MaskPromptString "A Interval value [a b] to generate the Poisson distribution|B Interval value [a b] to genera" "te the Poisson distribution|Time Step|Firingrate" MaskStyleString "edit,edit,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVariables "a=@1;b=@2;timestep=@3;firingrate=@4;" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "0.001|1|0.002|50" System { Name "Poisson1 IO2" Location [145, 224, 1183, 1018] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name " Max Torque Value " SID 4595 Position [35, 448, 65, 462] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "error" SID 4596 Position [35, 483, 65, 497] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Demux Name "Demux2" SID 4597 Ports [1, 2] Position [225, 185, 230, 280] BackgroundColor "black" ShowName off Outputs "2" DisplayOption "bar" } Block { BlockType SubSystem Name "IO-FIRE" SID 4598 Ports [1, 1] Position [380, 170, 545, 210] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "IO-FIRE" Location [335, 381, 1272, 782] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "Random[a b] & I" SID 4599 Position [110, 133, 140, 147] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant" SID 4600 Position [110, 60, 140, 90] OutDataTypeMode "boolean" OutDataType "fixdt(1, 16)" OutScaling "2^0" OutDataTypeStr "boolean" } Block { BlockType Constant Name "Constant1" SID 4601 Position [120, 175, 150, 205] Value "0" OutDataTypeMode "boolean" OutDataType "fixdt(1, 16)" OutScaling "2^0" OutDataTypeStr "boolean" } Block { BlockType Switch Name "Switch3" SID 4602 Position [210, 125, 240, 155] Criteria "u2 > Threshold" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Outport Name "Time Firing" SID 4603 Position [305, 133, 335, 147] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Switch3" SrcPort 1 DstBlock "Time Firing" DstPort 1 } Line { SrcBlock "Random[a b] & I" SrcPort 1 DstBlock "Switch3" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 Points [15, 0; 0, -40] DstBlock "Switch3" DstPort 3 } Line { SrcBlock "Constant" SrcPort 1 Points [30, 0; 0, 55] DstBlock "Switch3" DstPort 1 } } } Block { BlockType SubSystem Name "IO-FIRE2" SID 4604 Ports [1, 1] Position [380, 275, 545, 315] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "IO-FIRE2" Location [335, 381, 1272, 782] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "Random[a b] & I" SID 4605 Position [110, 133, 140, 147] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant" SID 4606 Position [110, 60, 140, 90] OutDataTypeMode "boolean" OutDataType "fixdt(1, 16)" OutScaling "2^0" OutDataTypeStr "boolean" } Block { BlockType Constant Name "Constant1" SID 4607 Position [120, 175, 150, 205] Value "0" OutDataTypeMode "boolean" OutDataType "fixdt(1, 16)" OutScaling "2^0" OutDataTypeStr "boolean" } Block { BlockType Switch Name "Switch3" SID 4608 Position [210, 125, 240, 155] Criteria "u2 > Threshold" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Outport Name "Time Firing" SID 4609 Position [305, 133, 335, 147] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Switch3" SrcPort 1 DstBlock "Time Firing" DstPort 1 } Line { SrcBlock "Random[a b] & I" SrcPort 1 DstBlock "Switch3" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 Points [15, 0; 0, -40] DstBlock "Switch3" DstPort 3 } Line { SrcBlock "Constant" SrcPort 1 Points [30, 0; 0, 55] DstBlock "Switch3" DstPort 1 } } } Block { BlockType Product Name "Product" SID 4610 Ports [3, 1] Position [165, 219, 195, 251] Inputs "3" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType RelationalOperator Name "Relational\nOperator" SID 4611 Ports [2, 1] Position [330, 172, 360, 203] Operator "<" InputSameDT off LogicOutDataTypeMode "boolean" LogicDataType "sint(32)" OutDataTypeStr "boolean" } Block { BlockType RelationalOperator Name "Relational\nOperator1" SID 4612 Ports [2, 1] Position [320, 277, 350, 308] Operator "<" InputSameDT off LogicOutDataTypeMode "boolean" LogicDataType "sint(32)" OutDataTypeStr "boolean" } Block { BlockType SubSystem Name "Subsystem" SID 4613 Ports [2, 1] Position [125, 436, 230, 509] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem" Location [294, 189, 1023, 652] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "Par max" SID 4614 Position [30, 13, 60, 27] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "error" SID 4615 Position [30, 48, 60, 62] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Mux Name "Mux2" SID 4616 Ports [2, 1] Position [170, 15, 175, 70] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType "S-Function" Name "S-Function" SID 4617 Ports [1, 1] Position [200, 26, 310, 64] FunctionName "errormanagementmod" EnableBusSupport off } Block { BlockType Outport Name "I" SID 4618 Position [365, 38, 395, 52] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Par max" SrcPort 1 Points [90, 0] DstBlock "Mux2" DstPort 1 } Line { SrcBlock "error" SrcPort 1 DstBlock "Mux2" DstPort 2 } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "I" DstPort 1 } Line { SrcBlock "Mux2" SrcPort 1 DstBlock "S-Function" DstPort 1 } } } Block { BlockType Constant Name "a" SID 4619 Position [55, 189, 110, 221] Value "firingrate" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "b" SID 4620 Position [55, 249, 110, 281] Value "timestep" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType SubSystem Name "interval[a b]" SID 4621 Ports [0, 1] Position [40, 35, 80, 95] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "interval[a b]" Location [57, 308, 272, 451] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Mux Name "Mux5" SID 4622 Ports [2, 1] Position [130, 27, 135, 118] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Constant Name "a" SID 4623 Position [25, 34, 80, 66] Value "a" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "b" SID 4624 Position [30, 79, 85, 111] Value "b" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "I" SID 4625 Position [160, 68, 190, 82] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "a" SrcPort 1 DstBlock "Mux5" DstPort 1 } Line { SrcBlock "b" SrcPort 1 DstBlock "Mux5" DstPort 2 } Line { SrcBlock "Mux5" SrcPort 1 DstBlock "I" DstPort 1 } } } Block { BlockType MATLABFcn Name "random" SID 4626 Ports [1, 1] Position [120, 50, 180, 80] MATLABFcn "u(1) + (u(2)-u(1)).*rand(1)" } Block { BlockType Outport Name "Time firing" SID 4627 Position [575, 183, 605, 197] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "I" SID 4628 Position [285, 463, 315, 477] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time firing1" SID 4629 Position [575, 288, 605, 302] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "interval[a b]" SrcPort 1 DstBlock "random" DstPort 1 } Line { SrcBlock " Max Torque Value " SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "error" SrcPort 1 DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "Subsystem" SrcPort 1 Points [0, -5; 25, 0] Branch { DstBlock "I" DstPort 1 } Branch { Points [0, -165; -130, 0; 0, -70] DstBlock "Product" DstPort 2 } } Line { SrcBlock "Demux2" SrcPort 1 Points [80, 0] DstBlock "Relational\nOperator" DstPort 2 } Line { SrcBlock "Demux2" SrcPort 2 Points [20, 0; 0, 45] DstBlock "Relational\nOperator1" DstPort 2 } Line { SrcBlock "a" SrcPort 1 Points [35, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "Relational\nOperator" SrcPort 1 DstBlock "IO-FIRE" DstPort 1 } Line { SrcBlock "IO-FIRE" SrcPort 1 DstBlock "Time firing" DstPort 1 } Line { SrcBlock "Relational\nOperator1" SrcPort 1 DstBlock "IO-FIRE2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Demux2" DstPort 1 } Line { SrcBlock "b" SrcPort 1 Points [30, 0; 0, -20] DstBlock "Product" DstPort 3 } Line { SrcBlock "random" SrcPort 1 Points [10, 0; 0, 45; 70, 0] Branch { Points [50, 0] DstBlock "Relational\nOperator" DstPort 1 } Branch { Points [0, 175] DstBlock "Relational\nOperator1" DstPort 1 } } Line { SrcBlock "IO-FIRE2" SrcPort 1 DstBlock "Time firing1" DstPort 1 } } } Block { BlockType SubSystem Name "bloque1 IO" SID 900 Ports [1, 8] Position [985, 80, 1120, 355] BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "bloque1 IO" Location [278, 219, 1273, 859] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "Time Firing Poisson" SID 902 Position [35, 708, 65, 722] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO0" SID 913 Position [175, 548, 205, 562] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO1" SID 914 Position [175, 593, 205, 607] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO2" SID 915 Position [175, 638, 205, 652] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO3" SID 916 Position [175, 683, 205, 697] Port "4" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO4" SID 917 Position [175, 728, 205, 742] Port "5" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO5" SID 918 Position [175, 773, 205, 787] Port "6" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO6" SID 919 Position [175, 818, 205, 832] Port "7" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO7" SID 920 Position [175, 863, 205, 877] Port "8" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Time Firing Poisson" SrcPort 1 Points [15, 0] Branch { Points [0, -25] Branch { Points [0, -45] Branch { Points [0, -45] Branch { Points [0, -45] DstBlock "TimefiringIO0" DstPort 1 } Branch { DstBlock "TimefiringIO1" DstPort 1 } } Branch { DstBlock "TimefiringIO2" DstPort 1 } } Branch { DstBlock "TimefiringIO3" DstPort 1 } } Branch { Points [0, 20] Branch { DstBlock "TimefiringIO4" DstPort 1 } Branch { Points [0, 45] Branch { DstBlock "TimefiringIO5" DstPort 1 } Branch { Points [0, 40] Branch { Points [0, 5] DstBlock "TimefiringIO6" DstPort 1 } Branch { Points [0, 50] DstBlock "TimefiringIO7" DstPort 1 } } } } } } } Block { BlockType SubSystem Name "bloque1 IO1" SID 921 Ports [1, 8] Position [985, 412, 1125, 693] BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "bloque1 IO1" Location [2, 82, 997, 722] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "Time Firing Poisson" SID 923 Position [45, 698, 75, 712] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO0" SID 934 Position [235, 538, 265, 552] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO1" SID 935 Position [235, 583, 265, 597] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO2" SID 936 Position [235, 628, 265, 642] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO3" SID 937 Position [230, 673, 260, 687] Port "4" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO4" SID 938 Position [230, 718, 260, 732] Port "5" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO5" SID 939 Position [235, 763, 265, 777] Port "6" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO6" SID 940 Position [235, 808, 265, 822] Port "7" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO7" SID 941 Position [240, 853, 270, 867] Port "8" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Time Firing Poisson" SrcPort 1 Points [70, 0; 0, -5] Branch { Points [0, -20] Branch { Points [0, -45] Branch { DstBlock "TimefiringIO2" DstPort 1 } Branch { Points [0, -45] Branch { Points [0, -45] DstBlock "TimefiringIO0" DstPort 1 } Branch { DstBlock "TimefiringIO1" DstPort 1 } } } Branch { DstBlock "TimefiringIO3" DstPort 1 } } Branch { Points [0, 25] Branch { DstBlock "TimefiringIO4" DstPort 1 } Branch { Points [0, 45] Branch { DstBlock "TimefiringIO5" DstPort 1 } Branch { Points [0, 45] Branch { Points [0, 45] DstBlock "TimefiringIO7" DstPort 1 } Branch { DstBlock "TimefiringIO6" DstPort 1 } } } } } } } Block { BlockType SubSystem Name "bloque1 IO2" SID 942 Ports [1, 8] Position [985, 714, 1130, 991] BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "bloque1 IO2" Location [2, 82, 997, 722] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "Time Firing Poisson" SID 944 Position [55, 663, 85, 677] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO0" SID 955 Position [255, 503, 285, 517] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO1" SID 956 Position [250, 548, 280, 562] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO2" SID 957 Position [245, 593, 275, 607] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO3" SID 958 Position [245, 638, 275, 652] Port "4" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO4" SID 959 Position [245, 683, 275, 697] Port "5" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO5" SID 960 Position [240, 728, 270, 742] Port "6" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO6" SID 961 Position [240, 773, 270, 787] Port "7" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO7" SID 962 Position [240, 818, 270, 832] Port "8" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Time Firing Poisson" SrcPort 1 Points [65, 0] Branch { Points [0, -20] Branch { Points [0, -50] Branch { Points [0, -45] Branch { Points [0, -45] DstBlock "TimefiringIO0" DstPort 1 } Branch { DstBlock "TimefiringIO1" DstPort 1 } } Branch { DstBlock "TimefiringIO2" DstPort 1 } } Branch { Points [0, -5] DstBlock "TimefiringIO3" DstPort 1 } } Branch { Points [0, 20] Branch { DstBlock "TimefiringIO4" DstPort 1 } Branch { Points [0, 40] Branch { Points [0, 5] DstBlock "TimefiringIO5" DstPort 1 } Branch { Points [0, 45] Branch { Points [0, 5] DstBlock "TimefiringIO6" DstPort 1 } Branch { Points [0, 50] DstBlock "TimefiringIO7" DstPort 1 } } } } } } } Block { BlockType SubSystem Name "bloque1 IO3" SID 963 Ports [1, 8] Position [990, 1015, 1130, 1300] BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "bloque1 IO3" Location [2, 82, 997, 722] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "Time Firing Poisson" SID 965 Position [30, 678, 60, 692] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO0" SID 976 Position [225, 518, 255, 532] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO1" SID 977 Position [230, 563, 260, 577] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO2" SID 978 Position [235, 608, 265, 622] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO3" SID 979 Position [235, 653, 265, 667] Port "4" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO4" SID 980 Position [235, 698, 265, 712] Port "5" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO5" SID 981 Position [240, 743, 270, 757] Port "6" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO6" SID 982 Position [245, 788, 275, 802] Port "7" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO7" SID 983 Position [245, 833, 275, 847] Port "8" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Time Firing Poisson" SrcPort 1 Points [40, 0] Branch { Points [0, -25] Branch { Points [0, -40] Branch { Points [0, -55] Branch { Points [0, -40] DstBlock "TimefiringIO0" DstPort 1 } Branch { Points [0, 5] DstBlock "TimefiringIO1" DstPort 1 } } Branch { Points [0, -5] DstBlock "TimefiringIO2" DstPort 1 } } Branch { DstBlock "TimefiringIO3" DstPort 1 } } Branch { Points [0, 20] Branch { DstBlock "TimefiringIO4" DstPort 1 } Branch { Points [0, 45] Branch { DstBlock "TimefiringIO5" DstPort 1 } Branch { Points [0, 45] Branch { DstBlock "TimefiringIO6" DstPort 1 } Branch { Points [0, 45] DstBlock "TimefiringIO7" DstPort 1 } } } } } } } Block { BlockType SubSystem Name "bloque1 IO4" SID 984 Ports [1, 8] Position [985, 1319, 1130, 1641] BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "bloque1 IO4" Location [432, 100, 1427, 740] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "Time Firing Poisson" SID 986 Position [30, 678, 60, 692] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO0" SID 997 Position [225, 518, 255, 532] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO1" SID 998 Position [230, 563, 260, 577] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO2" SID 999 Position [235, 608, 265, 622] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO3" SID 1000 Position [235, 653, 265, 667] Port "4" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO4" SID 1001 Position [235, 698, 265, 712] Port "5" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO5" SID 1002 Position [240, 743, 270, 757] Port "6" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO6" SID 1003 Position [245, 788, 275, 802] Port "7" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO7" SID 1004 Position [245, 833, 275, 847] Port "8" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Time Firing Poisson" SrcPort 1 Points [60, 0] Branch { Points [0, -30] Branch { Points [0, -40] Branch { Points [0, -45] Branch { Points [0, -45] DstBlock "TimefiringIO0" DstPort 1 } Branch { DstBlock "TimefiringIO1" DstPort 1 } } Branch { DstBlock "TimefiringIO2" DstPort 1 } } Branch { Points [0, 5] DstBlock "TimefiringIO3" DstPort 1 } } Branch { Points [0, 20] Branch { DstBlock "TimefiringIO4" DstPort 1 } Branch { Points [0, 45] Branch { DstBlock "TimefiringIO5" DstPort 1 } Branch { Points [0, 45] Branch { DstBlock "TimefiringIO6" DstPort 1 } Branch { Points [0, 45] DstBlock "TimefiringIO7" DstPort 1 } } } } } } } Block { BlockType SubSystem Name "bloque1 IO5" SID 1005 Ports [1, 8] Position [985, 1672, 1130, 2023] BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "bloque1 IO5" Location [2, 82, 997, 722] Open off ModelBrowserVisibility off ModelBrowserWidth 200 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" Block { BlockType Inport Name "Time Firing Poisson" SID 1007 Position [30, 678, 60, 692] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO0" SID 1018 Position [225, 518, 255, 532] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO1" SID 1019 Position [230, 563, 260, 577] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO2" SID 1020 Position [235, 608, 265, 622] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO3" SID 1021 Position [235, 653, 265, 667] Port "4" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO4" SID 1022 Position [235, 698, 265, 712] Port "5" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO5" SID 1023 Position [240, 743, 270, 757] Port "6" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO6" SID 1024 Position [245, 788, 275, 802] Port "7" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "TimefiringIO7" SID 1025 Position [245, 833, 275, 847] Port "8" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Time Firing Poisson" SrcPort 1 Points [65, 0] Branch { Points [0, -25] Branch { Points [0, -40] Branch { Points [0, -50] Branch { Points [0, -45] DstBlock "TimefiringIO0" DstPort 1 } Branch { DstBlock "TimefiringIO1" DstPort 1 } } Branch { Points [0, -5] DstBlock "TimefiringIO2" DstPort 1 } } Branch { DstBlock "TimefiringIO3" DstPort 1 } } Branch { Points [0, 15] Branch { Points [0, 5] DstBlock "TimefiringIO4" DstPort 1 } Branch { Points [0, 50] Branch { DstBlock "TimefiringIO5" DstPort 1 } Branch { Points [0, 40] Branch { Points [0, 5] DstBlock "TimefiringIO6" DstPort 1 } Branch { Points [0, 50] DstBlock "TimefiringIO7" DstPort 1 } } } } } } } Block { BlockType Outport Name "Iout Poisson1" SID 1026 Position [905, 258, 935, 272] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Iout Poisson2" SID 1027 Position [875, 543, 905, 557] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Iout Poisson3" SID 1028 Position [845, 968, 875, 982] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO0" SID 1037 Position [1220, 88, 1250, 102] Port "4" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO1" SID 1038 Position [1220, 123, 1250, 137] Port "5" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO2" SID 1039 Position [1220, 158, 1250, 172] Port "6" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO3" SID 1040 Position [1220, 193, 1250, 207] Port "7" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO4" SID 1041 Position [1220, 228, 1250, 242] Port "8" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO5" SID 1042 Position [1220, 263, 1250, 277] Port "9" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO6" SID 1043 Position [1220, 298, 1250, 312] Port "10" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO7" SID 1044 Position [1220, 333, 1250, 347] Port "11" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO8" SID 1053 Position [1260, 423, 1290, 437] Port "12" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO9" SID 1054 Position [1260, 458, 1290, 472] Port "13" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO10" SID 1055 Position [1260, 493, 1290, 507] Port "14" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO11" SID 1056 Position [1260, 528, 1290, 542] Port "15" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO12" SID 1057 Position [1260, 568, 1290, 582] Port "16" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO13" SID 1058 Position [1260, 598, 1290, 612] Port "17" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO14" SID 1059 Position [1260, 633, 1290, 647] Port "18" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO15" SID 1060 Position [1265, 668, 1295, 682] Port "19" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO16" SID 1069 Position [1265, 723, 1295, 737] Port "20" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO17" SID 1070 Position [1265, 758, 1295, 772] Port "21" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO18" SID 1071 Position [1265, 793, 1295, 807] Port "22" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO19" SID 1072 Position [1265, 828, 1295, 842] Port "23" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO20" SID 1073 Position [1265, 863, 1295, 877] Port "24" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO21" SID 1074 Position [1270, 898, 1300, 912] Port "25" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO22" SID 1075 Position [1270, 933, 1300, 947] Port "26" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO23" SID 1076 Position [1270, 968, 1300, 982] Port "27" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO24" SID 1085 Position [1290, 1028, 1320, 1042] Port "28" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO25" SID 1086 Position [1290, 1063, 1320, 1077] Port "29" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO26" SID 1087 Position [1290, 1098, 1320, 1112] Port "30" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO27" SID 1088 Position [1290, 1133, 1320, 1147] Port "31" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO28" SID 1089 Position [1290, 1168, 1320, 1182] Port "32" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO29" SID 1090 Position [1290, 1203, 1320, 1217] Port "33" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO30" SID 1091 Position [1290, 1238, 1320, 1252] Port "34" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO31" SID 1092 Position [1295, 1273, 1325, 1287] Port "35" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO32" SID 1101 Position [1275, 1333, 1305, 1347] Port "36" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO33" SID 1102 Position [1275, 1373, 1305, 1387] Port "37" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO34" SID 1103 Position [1280, 1413, 1310, 1427] Port "38" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO35" SID 1104 Position [1275, 1453, 1305, 1467] Port "39" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO36" SID 1105 Position [1275, 1493, 1305, 1507] Port "40" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO37" SID 1106 Position [1280, 1533, 1310, 1547] Port "41" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO38" SID 1107 Position [1280, 1573, 1310, 1587] Port "42" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO39" SID 1108 Position [1275, 1613, 1305, 1627] Port "43" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO40" SID 1117 Position [1275, 1683, 1305, 1697] Port "44" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO41" SID 1118 Position [1275, 1728, 1305, 1742] Port "45" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO42" SID 1119 Position [1275, 1773, 1305, 1787] Port "46" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO43" SID 1120 Position [1275, 1818, 1305, 1832] Port "47" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO44" SID 1121 Position [1275, 1863, 1305, 1877] Port "48" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO45" SID 1122 Position [1280, 1908, 1310, 1922] Port "49" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO46" SID 1123 Position [1285, 1953, 1315, 1967] Port "50" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Time Firing IO47" SID 1124 Position [1285, 1998, 1315, 2012] Port "51" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Poisson1 IO" SrcPort 1 Points [90, 0] DstBlock "bloque1 IO" DstPort 1 } Line { SrcBlock "Poisson1 IO" SrcPort 3 Points [85, 0; 0, 265] DstBlock "bloque1 IO1" DstPort 1 } Line { SrcBlock " Max Torque Value Poisson1" SrcPort 1 DstBlock "Poisson1 IO" DstPort 1 } Line { SrcBlock "Error Poisson1" SrcPort 1 DstBlock "Poisson1 IO" DstPort 2 } Line { SrcBlock "Poisson1 IO" SrcPort 2 DstBlock "Iout Poisson1" DstPort 1 } Line { SrcBlock " Max Torque Value Poisson2" SrcPort 1 Points [35, 0] DstBlock "Poisson1 IO1" DstPort 1 } Line { SrcBlock "Error Poisson2" SrcPort 1 DstBlock "Poisson1 IO1" DstPort 2 } Line { SrcBlock "Poisson1 IO1" SrcPort 3 Points [70, 0; 0, 585] DstBlock "bloque1 IO3" DstPort 1 } Line { SrcBlock "bloque1 IO1" SrcPort 1 DstBlock "Time Firing IO8" DstPort 1 } Line { SrcBlock "bloque1 IO1" SrcPort 2 DstBlock "Time Firing IO9" DstPort 1 } Line { SrcBlock "bloque1 IO1" SrcPort 3 DstBlock "Time Firing IO10" DstPort 1 } Line { SrcBlock "bloque1 IO1" SrcPort 4 DstBlock "Time Firing IO11" DstPort 1 } Line { SrcBlock "bloque1 IO1" SrcPort 5 Points [115, 0] DstBlock "Time Firing IO12" DstPort 1 } Line { SrcBlock "bloque1 IO1" SrcPort 6 DstBlock "Time Firing IO13" DstPort 1 } Line { SrcBlock "bloque1 IO1" SrcPort 7 DstBlock "Time Firing IO14" DstPort 1 } Line { SrcBlock "bloque1 IO1" SrcPort 8 DstBlock "Time Firing IO15" DstPort 1 } Line { SrcBlock "bloque1 IO2" SrcPort 1 DstBlock "Time Firing IO16" DstPort 1 } Line { SrcBlock "bloque1 IO2" SrcPort 2 DstBlock "Time Firing IO17" DstPort 1 } Line { SrcBlock "bloque1 IO2" SrcPort 3 DstBlock "Time Firing IO18" DstPort 1 } Line { SrcBlock "bloque1 IO2" SrcPort 4 DstBlock "Time Firing IO19" DstPort 1 } Line { SrcBlock "bloque1 IO2" SrcPort 5 DstBlock "Time Firing IO20" DstPort 1 } Line { SrcBlock "bloque1 IO2" SrcPort 6 DstBlock "Time Firing IO21" DstPort 1 } Line { SrcBlock "bloque1 IO2" SrcPort 7 DstBlock "Time Firing IO22" DstPort 1 } Line { SrcBlock "bloque1 IO2" SrcPort 8 DstBlock "Time Firing IO23" DstPort 1 } Line { SrcBlock "bloque1 IO3" SrcPort 2 DstBlock "Time Firing IO25" DstPort 1 } Line { SrcBlock "bloque1 IO3" SrcPort 3 DstBlock "Time Firing IO26" DstPort 1 } Line { SrcBlock "bloque1 IO3" SrcPort 4 DstBlock "Time Firing IO27" DstPort 1 } Line { SrcBlock "bloque1 IO3" SrcPort 5 DstBlock "Time Firing IO28" DstPort 1 } Line { SrcBlock "bloque1 IO3" SrcPort 6 DstBlock "Time Firing IO29" DstPort 1 } Line { SrcBlock "bloque1 IO3" SrcPort 7 DstBlock "Time Firing IO30" DstPort 1 } Line { SrcBlock "bloque1 IO3" SrcPort 8 DstBlock "Time Firing IO31" DstPort 1 } Line { SrcBlock "bloque1 IO3" SrcPort 1 DstBlock "Time Firing IO24" DstPort 1 } Line { SrcBlock " Max Torque Value Poisson3" SrcPort 1 DstBlock "Poisson1 IO2" DstPort 1 } Line { SrcBlock "Error Poisson3" SrcPort 1 DstBlock "Poisson1 IO2" DstPort 2 } Line { SrcBlock "Poisson1 IO2" SrcPort 2 DstBlock "Iout Poisson3" DstPort 1 } Line { SrcBlock "Poisson1 IO2" SrcPort 1 Points [70, 0; 0, 530] DstBlock "bloque1 IO4" DstPort 1 } Line { SrcBlock "Poisson1 IO2" SrcPort 3 Points [25, 0; 0, 850] DstBlock "bloque1 IO5" DstPort 1 } Line { SrcBlock "bloque1 IO5" SrcPort 1 DstBlock "Time Firing IO40" DstPort 1 } Line { SrcBlock "bloque1 IO5" SrcPort 2 DstBlock "Time Firing IO41" DstPort 1 } Line { SrcBlock "bloque1 IO5" SrcPort 3 DstBlock "Time Firing IO42" DstPort 1 } Line { SrcBlock "bloque1 IO5" SrcPort 4 DstBlock "Time Firing IO43" DstPort 1 } Line { SrcBlock "bloque1 IO5" SrcPort 5 DstBlock "Time Firing IO44" DstPort 1 } Line { SrcBlock "bloque1 IO5" SrcPort 6 DstBlock "Time Firing IO45" DstPort 1 } Line { SrcBlock "bloque1 IO5" SrcPort 7 DstBlock "Time Firing IO46" DstPort 1 } Line { SrcBlock "bloque1 IO5" SrcPort 8 DstBlock "Time Firing IO47" DstPort 1 } Line { SrcBlock "Poisson1 IO1" SrcPort 2 DstBlock "Iout Poisson2" DstPort 1 } Line { SrcBlock "Poisson1 IO1" SrcPort 1 Points [80, 0; 0, 330] DstBlock "bloque1 IO2" DstPort 1 } Line { SrcBlock "bloque1 IO" SrcPort 1 DstBlock "Time Firing IO0" DstPort 1 } Line { SrcBlock "bloque1 IO" SrcPort 2 DstBlock "Time Firing IO1" DstPort 1 } Line { SrcBlock "bloque1 IO" SrcPort 3 DstBlock "Time Firing IO2" DstPort 1 } Line { SrcBlock "bloque1 IO" SrcPort 4 DstBlock "Time Firing IO3" DstPort 1 } Line { SrcBlock "bloque1 IO" SrcPort 5 DstBlock "Time Firing IO4" DstPort 1 } Line { SrcBlock "bloque1 IO" SrcPort 6 DstBlock "Time Firing IO5" DstPort 1 } Line { SrcBlock "bloque1 IO" SrcPort 7 DstBlock "Time Firing IO6" DstPort 1 } Line { SrcBlock "bloque1 IO" SrcPort 8 DstBlock "Time Firing IO7" DstPort 1 } Line { SrcBlock "bloque1 IO4" SrcPort 1 DstBlock "Time Firing IO32" DstPort 1 } Line { SrcBlock "bloque1 IO4" SrcPort 2 DstBlock "Time Firing IO33" DstPort 1 } Line { SrcBlock "bloque1 IO4" SrcPort 3 DstBlock "Time Firing IO34" DstPort 1 } Line { SrcBlock "bloque1 IO4" SrcPort 4 DstBlock "Time Firing IO35" DstPort 1 } Line { SrcBlock "bloque1 IO4" SrcPort 5 DstBlock "Time Firing IO36" DstPort 1 } Line { SrcBlock "bloque1 IO4" SrcPort 6 DstBlock "Time Firing IO37" DstPort 1 } Line { SrcBlock "bloque1 IO4" SrcPort 7 DstBlock "Time Firing IO38" DstPort 1 } Line { SrcBlock "bloque1 IO4" SrcPort 8 DstBlock "Time Firing IO39" DstPort 1 } } } Block { BlockType Mux Name "Mux10" SID 1126 Ports [48, 1] Position [510, 186, 520, 1134] ShowName off Inputs "48" DisplayOption "bar" } Block { BlockType ZeroOrderHold Name "Zero-Order\nHold" SID 3292 Position [635, 645, 670, 675] SampleTime "0.002" } Block { BlockType Outport Name "Time firing 48 IO" SID 1140 Position [765, 653, 795, 667] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Iout Poisson1" SID 1141 Position [455, 88, 485, 102] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Iout Poisson2" SID 1142 Position [460, 123, 490, 137] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Iout Poisson3" SID 1143 Position [460, 163, 490, 177] Port "4" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock " Max Torque Value Poisson1" SrcPort 1 DstBlock "IO Subsystem " DstPort 1 } Line { SrcBlock "Error poisson1" SrcPort 1 DstBlock "IO Subsystem " DstPort 2 } Line { SrcBlock " Max Torque Value Poisson2" SrcPort 1 DstBlock "IO Subsystem " DstPort 3 } Line { SrcBlock "Error Poisson2" SrcPort 1 DstBlock "IO Subsystem " DstPort 4 } Line { SrcBlock "IO Subsystem " SrcPort 1 Points [25, 0] DstBlock "Iout Poisson1" DstPort 1 } Line { SrcBlock "IO Subsystem " SrcPort 2 Points [30, 0] DstBlock "Iout Poisson2" DstPort 1 } Line { SrcBlock "IO Subsystem " SrcPort 3 DstBlock "Iout Poisson3" DstPort 1 } Line { SrcBlock " Max Torque Value Poisson3" SrcPort 1 DstBlock "IO Subsystem " DstPort 5 } Line { SrcBlock "Error Poisson3" SrcPort 1 DstBlock "IO Subsystem " DstPort 6 } Line { SrcBlock "IO Subsystem " SrcPort 51 DstBlock "Mux10" DstPort 48 } Line { SrcBlock "IO Subsystem " SrcPort 4 DstBlock "Mux10" DstPort 1 } Line { SrcBlock "IO Subsystem " SrcPort 5 DstBlock "Mux10" DstPort 2 } Line { SrcBlock "IO Subsystem " SrcPort 6 DstBlock "Mux10" DstPort 3 } Line { SrcBlock "IO Subsystem " SrcPort 7 DstBlock "Mux10" DstPort 4 } Line { SrcBlock "IO Subsystem " SrcPort 8 DstBlock "Mux10" DstPort 5 } Line { SrcBlock "IO Subsystem " SrcPort 9 DstBlock "Mux10" DstPort 6 } Line { SrcBlock "IO Subsystem " SrcPort 10 DstBlock "Mux10" DstPort 7 } Line { SrcBlock "IO Subsystem " SrcPort 11 DstBlock "Mux10" DstPort 8 } Line { SrcBlock "IO Subsystem " SrcPort 12 DstBlock "Mux10" DstPort 9 } Line { SrcBlock "IO Subsystem " SrcPort 13 DstBlock "Mux10" DstPort 10 } Line { SrcBlock "IO Subsystem " SrcPort 14 DstBlock "Mux10" DstPort 11 } Line { SrcBlock "IO Subsystem " SrcPort 15 DstBlock "Mux10" DstPort 12 } Line { SrcBlock "IO Subsystem " SrcPort 16 DstBlock "Mux10" DstPort 13 } Line { SrcBlock "IO Subsystem " SrcPort 17 DstBlock "Mux10" DstPort 14 } Line { SrcBlock "IO Subsystem " SrcPort 18 DstBlock "Mux10" DstPort 15 } Line { SrcBlock "IO Subsystem " SrcPort 19 DstBlock "Mux10" DstPort 16 } Line { SrcBlock "IO Subsystem " SrcPort 20 DstBlock "Mux10" DstPort 17 } Line { SrcBlock "IO Subsystem " SrcPort 21 DstBlock "Mux10" DstPort 18 } Line { SrcBlock "IO Subsystem " SrcPort 22 DstBlock "Mux10" DstPort 19 } Line { SrcBlock "IO Subsystem " SrcPort 23 DstBlock "Mux10" DstPort 20 } Line { SrcBlock "IO Subsystem " SrcPort 24 DstBlock "Mux10" DstPort 21 } Line { SrcBlock "IO Subsystem " SrcPort 50 DstBlock "Mux10" DstPort 47 } Line { SrcBlock "IO Subsystem " SrcPort 49 DstBlock "Mux10" DstPort 46 } Line { SrcBlock "IO Subsystem " SrcPort 48 DstBlock "Mux10" DstPort 45 } Line { SrcBlock "IO Subsystem " SrcPort 47 DstBlock "Mux10" DstPort 44 } Line { SrcBlock "IO Subsystem " SrcPort 46 DstBlock "Mux10" DstPort 43 } Line { SrcBlock "IO Subsystem " SrcPort 45 DstBlock "Mux10" DstPort 42 } Line { SrcBlock "IO Subsystem " SrcPort 44 DstBlock "Mux10" DstPort 41 } Line { SrcBlock "IO Subsystem " SrcPort 43 DstBlock "Mux10" DstPort 40 } Line { SrcBlock "IO Subsystem " SrcPort 42 DstBlock "Mux10" DstPort 39 } Line { SrcBlock "IO Subsystem " SrcPort 41 DstBlock "Mux10" DstPort 38 } Line { SrcBlock "IO Subsystem " SrcPort 40 DstBlock "Mux10" DstPort 37 } Line { SrcBlock "IO Subsystem " SrcPort 39 DstBlock "Mux10" DstPort 36 } Line { SrcBlock "IO Subsystem " SrcPort 38 DstBlock "Mux10" DstPort 35 } Line { SrcBlock "IO Subsystem " SrcPort 37 DstBlock "Mux10" DstPort 34 } Line { SrcBlock "IO Subsystem " SrcPort 36 DstBlock "Mux10" DstPort 33 } Line { SrcBlock "IO Subsystem " SrcPort 35 DstBlock "Mux10" DstPort 32 } Line { SrcBlock "IO Subsystem " SrcPort 34 DstBlock "Mux10" DstPort 31 } Line { SrcBlock "IO Subsystem " SrcPort 32 DstBlock "Mux10" DstPort 29 } Line { SrcBlock "IO Subsystem " SrcPort 33 DstBlock "Mux10" DstPort 30 } Line { SrcBlock "IO Subsystem " SrcPort 31 DstBlock "Mux10" DstPort 28 } Line { SrcBlock "IO Subsystem " SrcPort 30 DstBlock "Mux10" DstPort 27 } Line { SrcBlock "IO Subsystem " SrcPort 29 DstBlock "Mux10" DstPort 26 } Line { SrcBlock "IO Subsystem " SrcPort 28 DstBlock "Mux10" DstPort 25 } Line { SrcBlock "IO Subsystem " SrcPort 27 DstBlock "Mux10" DstPort 24 } Line { SrcBlock "IO Subsystem " SrcPort 26 DstBlock "Mux10" DstPort 23 } Line { SrcBlock "IO Subsystem " SrcPort 25 DstBlock "Mux10" DstPort 22 } Line { SrcBlock "Mux10" SrcPort 1 DstBlock "Zero-Order\nHold" DstPort 1 } Line { SrcBlock "Zero-Order\nHold" SrcPort 1 DstBlock "Time firing 48 IO" DstPort 1 } } } Block { BlockType Outport Name "IOcurrent" SID 1238 Position [675, 133, 705, 147] IconDisplay "Port number" } Block { BlockType Outport Name "IOcurrent1" SID 1243 Position [675, 213, 705, 227] Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "IOcurrent2" SID 1248 Position [675, 293, 705, 307] Port "3" IconDisplay "Port number" } Block { BlockType Outport Name "IOTiming" SID 1234 Position [675, 58, 705, 72] Port "4" IconDisplay "Port number" } Block { BlockType Outport Name "ErrorCurrent" SID 4420 Position [755, 323, 785, 337] Port "5" IconDisplay "Port number" } Block { BlockType Outport Name "ErrorCurrent1" SID 4424 Position [760, 358, 790, 372] Port "6" IconDisplay "Port number" } Block { BlockType Outport Name "ErrorCurrent2" SID 4425 Position [765, 388, 795, 402] Port "7" IconDisplay "Port number" } Line { SrcBlock "Desired Positions" SrcPort 1 DstBlock "ErrorModel" DstPort 3 } Line { SrcBlock "Desired Velocities" SrcPort 1 Points [10, 0; 0, -25] DstBlock "ErrorModel" DstPort 4 } Line { SrcBlock " Max Torque Value Poisson1" SrcPort 1 DstBlock "Subsystem IO" DstPort 1 } Line { SrcBlock "Subsystem IO" SrcPort 1 DstBlock "IOTiming" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 Points [70, 0; 0, -80] DstBlock "Subsystem IO" DstPort 2 } Line { SrcBlock "Subsystem IO" SrcPort 2 Points [0, -5] DstBlock "IOcurrent" DstPort 1 } Line { SrcBlock " Max Torque Value Poisson2" SrcPort 1 DstBlock "Subsystem IO" DstPort 3 } Line { SrcBlock "Demux" SrcPort 2 DstBlock "Subsystem IO" DstPort 4 } Line { SrcBlock "Subsystem IO" SrcPort 3 Points [0, -5] DstBlock "IOcurrent1" DstPort 1 } Line { SrcBlock " Max Torque Value Poisson3" SrcPort 1 DstBlock "Subsystem IO" DstPort 5 } Line { SrcBlock "Demux" SrcPort 3 Points [0, 80] DstBlock "Subsystem IO" DstPort 6 } Line { SrcBlock "Subsystem IO" SrcPort 4 Points [0, -5] DstBlock "IOcurrent2" DstPort 1 } Line { SrcBlock "ErrorModel" SrcPort 1 Points [5, 0] Branch { DstBlock "Demux" DstPort 1 } Branch { Points [0, 155] DstBlock "Demux2" DstPort 1 } } Line { SrcBlock "qreal" SrcPort 1 Points [90, 0; 0, 60] DstBlock "ErrorModel" DstPort 1 } Line { SrcBlock "qdreal" SrcPort 1 Points [70, 0; 0, 20] DstBlock "ErrorModel" DstPort 2 } Line { SrcBlock "Demux2" SrcPort 1 Points [55, 0] DstBlock "ErrorCurrent" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 2 DstBlock "ErrorCurrent1" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 3 Points [20, 0; 0, 10] DstBlock "ErrorCurrent2" DstPort 1 } } } Block { BlockType Sum Name "Sum" SID 2293 Ports [2, 1] Position [380, 380, 400, 400] ShowName off IconShape "round" Inputs "++|" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum2" SID 4468 Ports [2, 1] Position [1755, 805, 1775, 825] ShowName off IconShape "round" Inputs "+-|" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum3" SID 4418 Ports [2, 1] Position [380, 485, 400, 505] ShowName off IconShape "round" Inputs "-+|" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum4" SID 4469 Ports [2, 1] Position [1755, 860, 1775, 880] ShowName off IconShape "round" Inputs "+-|" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum5" SID 4470 Ports [2, 1] Position [1755, 910, 1775, 930] ShowName off IconShape "round" Inputs "+-|" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Terminator Name "Terminator1" SID 4547 Position [1045, 700, 1065, 720] } Block { BlockType Terminator Name "Terminator2" SID 4474 Position [1045, 780, 1065, 800] } Block { BlockType Terminator Name "Terminator4" SID 2299 Position [610, 405, 630, 425] } Block { BlockType ToFile Name "ToFileIO" SID 4501 Position [1290, 575, 1350, 605] Filename "IOActivityAllLearning6kg.mat" } Block { BlockType ToFile Name "ToFileIODCN" SID 4526 Position [1670, 1145, 1730, 1175] Filename "IODCNWeightAllLearning6kg.mat" } Block { BlockType ToFile Name "ToFileKP" SID 4546 Position [1670, 1200, 1730, 1230] Filename "KPWeightAllLearning6kg.mat" } Block { BlockType ToFile Name "ToFileMFDCN" SID 4483 Position [1670, 1025, 1730, 1055] Filename "MFDCNWeightAllLearning6kg.mat" } Block { BlockType ToFile Name "ToFilePC" SID 4482 Position [1670, 975, 1730, 1005] NamePlacement "alternate" Filename "PCActivityAllLearning6kg.mat" } Block { BlockType ToFile Name "ToFilePCDCN" SID 4484 Position [1670, 1080, 1730, 1110] Filename "PCDCNWeightAllLearning6kg.mat" } Block { BlockType ToFile Name "ToFileTorque" SID 4486 Position [680, 240, 740, 270] Filename "CorrectiveTorqueAllLearning6kg.mat" } Block { BlockType ToFile Name "ToFileTorqueInd" SID 4485 Position [1610, 399, 1685, 431] Filename "CorrectiveTorque1AllLearning6kg.mat" } Block { BlockType ZeroOrderHold Name "Zero-Order\nHold" SID 4406 Position [1160, 975, 1185, 1005] SampleTime "0.002" } Block { BlockType SignalViewerScope Name "Scope1" SID 4350 Ports [] Position [20, 15, 60, 55] IOType "viewer" Location [188, 365, 512, 604] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } ShowDataMarkers off ShowLegends off DataFormat "Array" MaxDataPoints "7500" RefreshTime 0.035000 } Line { SrcBlock "3 sinusoidal \ntrajectories" SrcPort 1 Points [60, 0] Branch { Points [35, 0] DstBlock "RNE " DstPort 1 } Branch { Labels [0, 0] Points [0, 110] Branch { Points [0, 120] DstBlock "Subsystem" DstPort 1 } Branch { DstBlock "RNE 2" DstPort 1 } } } Line { SrcBlock "3 sinusoidal \ntrajectories" SrcPort 2 Points [40, 0] Branch { DstBlock "RNE " DstPort 2 } Branch { Labels [0, 0] Points [0, 105] Branch { Points [0, 140] DstBlock "Subsystem" DstPort 2 } Branch { DstBlock "RNE 2" DstPort 2 } } } Line { SrcBlock "3 sinusoidal \ntrajectories" SrcPort 3 Points [85, 0] Branch { Points [10, 0] DstBlock "RNE " DstPort 3 } Branch { Points [0, 100] DstBlock "RNE 2" DstPort 3 } } Line { SrcBlock "RNE " SrcPort 1 Points [10, 0] Branch { Points [0, 50; 40, 0] DstBlock "Sum3" DstPort 1 } Branch { Points [15, 0] Branch { DstBlock "Sum" DstPort 2 } Branch { Points [0, -135] DstBlock "Mux" DstPort 2 } } } Line { SrcBlock "ROBOT RRR" SrcPort 1 Points [100, 0; 0, 310] DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "ROBOT RRR" SrcPort 2 Points [65, 0; 0, 325] DstBlock "Subsystem" DstPort 4 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Subsystem" DstPort 5 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Subsystem" DstPort 6 } Line { SrcBlock "Constant4" SrcPort 1 DstBlock "Subsystem" DstPort 7 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "ROBOT RRR" DstPort 1 } Line { SrcBlock "ROBOT RRR" SrcPort 3 DstBlock "Terminator4" DstPort 1 } Line { SrcBlock "Mux2" SrcPort 1 Points [0, 5; 70, 0] Branch { Points [0, -35] DstBlock "Mux" DstPort 1 } Branch { Points [35, 0] DstBlock "Sum" DstPort 1 } } Line { SrcBlock "Mux" SrcPort 1 DstBlock "ToFileTorque" DstPort 1 } Line { SrcBlock "Mux1" SrcPort 1 Points [-95, 0] DstBlock "ToFileTorqueInd" DstPort 1 } Line { SrcBlock "Granular layer" SrcPort 1 Points [0, -25] DstBlock "S-Function" DstPort 3 } Line { Labels [0, 0] SrcBlock "MFactivity" SrcPort 1 Points [0, 55] DstBlock "S-Function" DstPort 1 } Line { SrcBlock "S-Function" SrcPort 1 Points [0, -10; 90, 0; 0, -140] DstBlock "Demux" DstPort 1 } Line { SrcBlock "S-Function" SrcPort 2 Points [0, 25] DstBlock "ToFilePC" DstPort 1 } Line { SrcBlock "S-Function" SrcPort 3 Points [35, 0; 0, 60] DstBlock "ToFileMFDCN" DstPort 1 } Line { SrcBlock "S-Function" SrcPort 4 Points [25, 0; 0, 100] DstBlock "ToFilePCDCN" DstPort 1 } Line { SrcBlock "RNE 2" SrcPort 1 DstBlock "Sum3" DstPort 2 } Line { SrcBlock "Sum3" SrcPort 1 Points [0, -230] DstBlock "Mux" DstPort 3 } Line { SrcBlock "Zero-Order\nHold" SrcPort 1 DstBlock "S-Function" DstPort 2 } Line { SrcBlock "Mux6" SrcPort 1 Points [155, 0; 0, -140] DstBlock "Mux1" DstPort 1 } Line { SrcBlock "Mux7" SrcPort 1 Points [95, 0; 0, -180] DstBlock "Mux1" DstPort 2 } Line { SrcBlock "Mux8" SrcPort 1 Points [45, 0; 0, -215] DstBlock "Mux1" DstPort 3 } Line { SrcBlock "Demux" SrcPort 1 Points [15, 0] Branch { Points [0, 25; 140, 0; 0, 40] DstBlock "Sum2" DstPort 1 } Branch { Points [0, -175] DstBlock "Mux6" DstPort 1 } } Line { SrcBlock "Demux" SrcPort 3 Points [40, 0] Branch { Points [60, 0; 0, 60] DstBlock "Sum4" DstPort 1 } Branch { Points [0, -165] DstBlock "Mux7" DstPort 1 } } Line { SrcBlock "Demux" SrcPort 5 Points [75, 0] Branch { Points [0, 50] DstBlock "Sum5" DstPort 1 } Branch { Points [0, -160] DstBlock "Mux8" DstPort 1 } } Line { SrcBlock "Demux" SrcPort 6 Points [55, 0] Branch { Points [0, 45] DstBlock "Sum5" DstPort 2 } Branch { Points [30, 0; 0, -170] DstBlock "Mux8" DstPort 2 } } Line { SrcBlock "Demux" SrcPort 4 Points [60, 0] Branch { Points [0, 55] DstBlock "Sum4" DstPort 2 } Branch { Points [0, -175] DstBlock "Mux7" DstPort 2 } } Line { SrcBlock "Demux" SrcPort 2 Points [30, 0] Branch { Points [115, 0] DstBlock "Sum2" DstPort 2 } Branch { Points [0, -185] DstBlock "Mux6" DstPort 2 } } Line { SrcBlock "Sum2" SrcPort 1 Points [95, 0; 0, -650] DstBlock "Gain3" DstPort 1 } Line { SrcBlock "Sum4" SrcPort 1 Points [100, 0; 0, -730] DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Sum5" SrcPort 1 Points [105, 0; 0, -805] DstBlock "Gain2" DstPort 1 } Line { SrcBlock "Mux4" SrcPort 1 DstBlock "Terminator2" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 5 DstBlock "Mux4" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 6 Points [0, -5] DstBlock "Mux4" DstPort 2 } Line { SrcBlock "Subsystem" SrcPort 7 Points [40, 0] DstBlock "Mux4" DstPort 3 } Line { SrcBlock "Mux3" SrcPort 1 DstBlock "Demux1" DstPort 1 } Line { SrcBlock "Mux9" SrcPort 1 Points [15, 0] Branch { Points [0, -40] DstBlock "ToFileIO" DstPort 1 } Branch { Points [35, 0; 0, 110; -125, 0; 0, 250] DstBlock "Zero-Order\nHold" DstPort 1 } } Line { SrcBlock "Demux1" SrcPort 2 Points [40, 0; 0, -20] DstBlock "Mux9" DstPort 1 } Line { SrcBlock "Demux1" SrcPort 1 Points [0, 10; 80, 0; 0, 10] DstBlock "Mux9" DstPort 2 } Line { SrcBlock "Demux1" SrcPort 3 Points [40, 0; 0, 20] DstBlock "Mux9" DstPort 4 } Line { SrcBlock "Demux1" SrcPort 4 Points [0, -10; 80, 0; 0, -10] DstBlock "Mux9" DstPort 3 } Line { SrcBlock "Demux1" SrcPort 5 Points [40, 0; 0, 20] DstBlock "Mux9" DstPort 6 } Line { SrcBlock "Demux1" SrcPort 6 Points [0, -10; 80, 0; 0, -10] DstBlock "Mux9" DstPort 5 } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Mux3" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 2 Points [0, -5] DstBlock "Mux3" DstPort 2 } Line { SrcBlock "Subsystem" SrcPort 3 Points [80, 0] DstBlock "Mux3" DstPort 3 } Line { SrcBlock "Digital Clock" SrcPort 1 DstBlock "Display" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-215, 0; 0, 185] DstBlock "Mux2" DstPort 3 } Line { SrcBlock "Gain1" SrcPort 1 Points [-265, 0; 0, 135] DstBlock "Mux2" DstPort 2 } Line { SrcBlock "Gain3" SrcPort 1 Points [-325, 0] DstBlock "Mux2" DstPort 1 } Line { SrcBlock "S-Function" SrcPort 5 Points [20, 0; 0, 150] DstBlock "ToFileIODCN" DstPort 1 } Line { SrcBlock "S-Function" SrcPort 6 Points [15, 0; 0, 190] DstBlock "ToFileKP" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 4 Points [0, -5] DstBlock "Terminator1" DstPort 1 } } } # Finite State Machines # # Stateflow Version 7.1 (R2009a) dated Jul 17 2009, 10:24:20 # # Stateflow { machine { id 1 name "CerebellumIODCNAbstractMass" created "15-Apr-2011 13:22:27" isLibrary 0 firstTarget 2 sfVersion 71014000.00001 } target { id 2 name "sfun" description "Default Simulink S-Function Target." machine 1 linkNode [1 0 0] } }