Model { Name "EdLuTSimulink" Version 8.1 MdlSubVersion 0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.523" NumModelReferences 0 NumTestPointedSignals 0 } SavedCharacterEncoding "windows-1252" SaveDefaultBlockParams on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" DataTypeOverrideAppliesTo "AllNumericTypes" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" FPTRunName "Run 1" MaxMDLFileLineLength 120 Object { $PropName "BdWindowsInfo" $ObjectID 1 $ClassName "Simulink.BDWindowsInfo" Object { $PropName "WindowsInfo" $ObjectID 2 $ClassName "Simulink.WindowInfo" IsActive [1] Location [8.0, 44.0, 1601.0, 918.0] Object { $PropName "ModelBrowserInfo" $ObjectID 3 $ClassName "Simulink.ModelBrowserInfo" Visible [0] DockPosition "Left" Width [50] Height [50] Filter [9] } Object { $PropName "ExplorerBarInfo" $ObjectID 4 $ClassName "Simulink.ExplorerBarInfo" Visible [1] } Object { $PropName "EditorsInfo" $ObjectID 5 $ClassName "Simulink.EditorInfo" IsActive [1] ViewObjType "SimulinkSubsys" LoadSaveID "1258" Extents [1567.0, 816.0] ZoomFactor [1.0] Offset [0.0, -14.0] } } } Created "Wed Feb 16 09:48:55 2011" Creator "Sensopac" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "jgarrido" ModifiedDateFormat "%" LastModifiedDate "Tue Oct 15 12:44:19 2013" RTWModifiedTimeStamp 303739225 ModelVersionFormat "1.%" ConfigurationManager "None" SampleTimeColors off SampleTimeAnnotations off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowDesignRanges 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 Object { $PropName "DataLoggingOverride" $ObjectID 6 $ClassName "Simulink.SimulationData.ModelLoggingInfo" model_ "EdLuTSimulink" Array { Type "Cell" Dimension 1 Cell "EdLuTSimulink" PropName "logAsSpecifiedByModels_" } Array { Type "Cell" Dimension 1 Cell "" PropName "logAsSpecifiedByModelsSSIDs_" } } RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on CovForceBlockReductionOff on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on CovModelRefEnable "Off" CovExternalEMLEnable off ExtModeBatchMode off ExtModeEnableFloating on ExtModeTrigType "manual" ExtModeTrigMode "normal" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigDurationFloating "auto" ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect on ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on BufferReuse on ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 7 Version "1.13.0" Array { Type "Handle" Dimension 9 Simulink.SolverCC { $ObjectID 8 Version "1.13.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" EnableConcurrentExecution off ConcurrentTasks off Solver "ode3" SolverName "ode3" SolverJacobianMethodControl "auto" ShapePreserveControl "DisableAll" ZeroCrossControl "UseLocalSettings" ZeroCrossAlgorithm "Nonadaptive" AlgebraicLoopSolver "TrustRegion" SolverResetMethod "Fast" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" InsertRTBMode "Whenever possible" } Simulink.DataIOCC { $ObjectID 9 Version "1.13.0" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints on MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveCompleteFinalSimState off SaveFormat "Array" SignalLoggingSaveFormat "ModelDataLogs" SaveOutput on SaveState off SignalLogging on DSMLogging on InspectSignalLogs off SaveTime on ReturnWorkspaceOutputs off StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsout" DSMLoggingName "dsmout" OutputOption "RefineOutputTimes" OutputTimes "[]" ReturnWorkspaceOutputsName "out" Refine "1" } Simulink.OptimizationCC { $ObjectID 10 Version "1.13.0" Array { Type "Cell" Dimension 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 UseFloatMulNetSlope off UseSpecifiedMinMax off InlineInvariantSignals off OptimizeBlockIOStorage on BufferReuse on EnhancedBackFolding off StrengthReduction off ExpressionFolding on BooleansAsBitfields off BitfieldContainerType "uint_T" EnableMemcpy on MemcpyThreshold 64 PassReuseOutputArgsAs "Structure reference" ExpressionDepthLimit 2147483647 FoldNonRolledExpr on LocalBlockOutputs on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero off NoFixptDivByZeroProtection off EfficientFloat2IntCast off EfficientMapNaN2IntZero on OptimizeModelRefInitCode off LifeSpan "inf" MaxStackSize "Inherit from target" BufferReusableBoundary on SimCompilerOptimization "Off" AccelVerboseBuild off ParallelExecutionInRapidAccelerator on } Simulink.DebuggingCC { $ObjectID 11 Version "1.13.0" RTPrefix "error" ConsistencyChecking "none" ArrayBoundsChecking "none" SignalInfNanChecking "none" SignalRangeChecking "none" ReadBeforeWriteMsg "UseLocalSettings" WriteAfterWriteMsg "UseLocalSettings" WriteAfterReadMsg "UseLocalSettings" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" SaveWithDisabledLinksMsg "warning" SaveWithParameterizedLinksMsg "warning" CheckSSInitialOutputMsg on UnderspecifiedInitializationDetection "Classic" MergeDetectMultiDrivingBlocksExec "none" CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "UseLocalSettings" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" TimeAdjustmentMsg "none" MaxConsecutiveZCsMsg "error" MaskedZcDiagnostic "warning" IgnoredZcDiagnostic "warning" SolverPrmCheckMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "error" MultiTaskCondExecSysMsg "error" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" SigSpecEnsureSampleTimeMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterUnderflowMsg "none" ParameterPrecisionLossMsg "warning" ParameterTunabilityLossMsg "warning" FixptConstUnderflowMsg "none" FixptConstOverflowMsg "none" FixptConstPrecisionLossMsg "none" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" FcnCallInpInsideContextMsg "UseLocalSettings" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SFcnCompatibilityMsg "none" FrameProcessingCompatibilityMsg "warning" UniqueDataStoreMsg "none" BusObjectLabelMismatch "warning" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceMultiInstanceNormalModeStructChecksumCheck "error" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" StateNameClashWarn "warning" SimStateInterfaceChecksumMismatchMsg "warning" SimStateOlderReleaseMsg "error" InitInArrayFormatMsg "warning" StrictBusMsg "Warning" BusNameAdapt "WarnAndRepair" NonBusSignalsTreatedAsBus "none" LoggingUnavailableSignals "error" BlockIODiagnostic "none" SFUnusedDataAndEventsDiag "warning" SFUnexpectedBacktrackingDiag "warning" SFInvalidInputDataAccessInChartInitDiag "warning" SFNoUnconditionalDefaultTransitionDiag "warning" SFTransitionOutsideNaturalParentDiag "warning" SFUnconditionalTransitionShadowingDiag "warning" SFUndirectedBroadcastEventsDiag "warning" SFTransitionActionBeforeConditionDiag "warning" } Simulink.HardwareCC { $ObjectID 12 Version "1.13.0" ProdBitPerChar 8 ProdBitPerShort 16 ProdBitPerInt 32 ProdBitPerLong 32 ProdBitPerLongLong 64 ProdBitPerFloat 32 ProdBitPerDouble 64 ProdBitPerPointer 32 ProdLargestAtomicInteger "Char" ProdLargestAtomicFloat "None" ProdIntDivRoundTo "Undefined" ProdEndianess "Unspecified" ProdWordSize 32 ProdShiftRightIntArith on ProdLongLongMode off ProdHWDeviceType "32-bit Generic" TargetBitPerChar 8 TargetBitPerShort 16 TargetBitPerInt 32 TargetBitPerLong 32 TargetBitPerLongLong 64 TargetBitPerFloat 32 TargetBitPerDouble 64 TargetBitPerPointer 32 TargetLargestAtomicInteger "Char" TargetLargestAtomicFloat "None" TargetShiftRightIntArith on TargetLongLongMode off TargetIntDivRoundTo "Undefined" TargetEndianess "Unspecified" TargetWordSize 32 TargetTypeEmulationWarnSuppressLevel 0 TargetPreprocMaxBitsSint 32 TargetPreprocMaxBitsUint 32 TargetHWDeviceType "Specified" TargetUnknown off ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 13 Version "1.13.0" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" EnableParallelModelReferenceBuilds off ParallelModelReferenceErrorOnInvalidPool on ParallelModelReferenceMATLABWorkerInit "None" ModelReferenceNumInstancesAllowed "Multi" PropagateVarSize "Infer from blocks in model" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off PropagateSignalLabelsOutOfModel off SupportModelReferenceSimTargetCustomCode off } Simulink.SFSimCC { $ObjectID 14 Version "1.13.0" SFSimEnableDebug on SFSimOverflowDetection on SFSimEcho on SimBlas on SimCtrlC on SimExtrinsic on SimIntegrity on SimUseLocalCustomCode off SimParseCustomCode off SimBuildMode "sf_incremental_build" } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 15 Version "1.13.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 PackageGeneratedCodeAndArtifacts off 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 PortableWordSizes off GenerateErtSFunction off CreateSILPILBlock "None" CodeExecutionProfiling off CodeExecutionProfileVariable "executionProfile" CodeProfilingSaveOptions "SummaryOnly" CodeProfilingInstrumentation off SILDebugging off TargetLang "C" IncludeBusHierarchyInRTWFileBlockHierarchyMap off IncludeERTFirstTime off GenerateTraceInfo off GenerateTraceReport off GenerateTraceReportSl off GenerateTraceReportSf off GenerateTraceReportEml off GenerateCodeInfo off GenerateWebview off GenerateCodeMetricsReport off GenerateCodeReplacementReport off RTWCompilerOptimization "Off" CheckMdlBeforeBuild "Off" CustomRebuildMode "OnUpdate" Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 16 Version "1.13.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 OperatorAnnotations off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off MATLABFcnDesc off IncDataTypeInIds off MangleLength 1 CustomSymbolStrGlobalVar "$R$N$M" CustomSymbolStrType "$N$R$M_T" CustomSymbolStrField "$N$M" CustomSymbolStrFcn "$R$N$M$F" CustomSymbolStrFcnArg "rt$I$N$M" CustomSymbolStrBlkIO "rtb_$N$M" CustomSymbolStrTmpVar "$N$M" CustomSymbolStrMacro "$R$N$M" DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off InsertPolySpaceComments off SimulinkBlockComments on MATLABSourceComments off EnableCustomComments off InternalIdentifier "Shortened" InlinedPrmAccess "Literals" ReqsInCode off UseSimReservedNames off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 17 Version "1.13.0" Array { Type "Cell" Dimension 16 Cell "GeneratePreprocessorConditionals" Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "GenerateTestInterfaces" Cell "ModelStepFunctionPrototypeControlCompliant" Cell "CPPClassGenCompliant" Cell "SupportNonInlinedSFcns" Cell "PurelyIntegerCode" Cell "PortableWordSizes" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "GenerateAllocFcn" PropName "DisabledProps" } TargetFcnLib "ansi_tfl_table_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" CodeReplacementLibrary "ANSI_C" UtilityFuncGeneration "Auto" ERTMultiwordTypeDef "System defined" ERTMultiwordLength 256 MultiwordLength 2048 GenerateFullHeader on GenerateSampleERTMain off GenerateTestInterfaces off IsPILTarget off ModelReferenceCompliant on ParMdlRefBuildCompliant on CompOptLevelCompliant on ConcurrentExecutionCompliant on IncludeMdlTerminateFcn on GeneratePreprocessorConditionals "Disable all" CombineOutputUpdateFcns off CombineSignalStateStructs off SuppressErrorStatus off ERTFirstTimeCompliant off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on SupportVariableSizeSignals off EnableShiftOperators on ParenthesesLevel "Nominal" MATLABClassNameForMDSCustomization "Simulink.SoftwareTarget.GRTCustomization" ModelStepFunctionPrototypeControlCompliant off CPPClassGenCompliant off AutosarCompliant off GRTInterface on GenerateAllocFcn off UseMalloc off ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" ExtModeIntrfLevel "Level1" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off RTWCAPIRootIO off GenerateASAP2 off } PropName "Components" } } hdlcoderui.hdlcc { $ObjectID 18 Version "1.13.0" Description "HDL Coder custom configuration component" Name "HDL Coder" Array { Type "Cell" Dimension 1 Cell "" PropName "HDLConfigFile" } HDLCActiveTab "0" } PropName "Components" } Name "Configuration" CurrentDlgPage "Solver" ConfigPrmDlgPosition [ 280, 135, 1160, 765 ] } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 7 } Object { $PropName "DataTransfer" $ObjectID 19 $ClassName "Simulink.GlobalDataTransfer" DefaultTransitionBetweenSyncTasks "Ensure deterministic transfer (maximum delay)" DefaultTransitionBetweenAsyncTasks "Ensure data integrity only" DefaultTransitionBetweenContTasks "Ensure deterministic transfer (minimum delay)" DefaultExtrapolationMethodBetweenContTasks "None" AutoInsertRateTranBlk [0] } ExplicitPartitioning off BlockDefaults { ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "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" } MaskDefaults { SelfModifiable "off" IconFrame "on" IconOpaque "on" RunInitForIconRedraw "off" IconRotate "none" PortRotate "default" IconUnits "autoscale" } MaskParameterDefaults { Evaluate "on" Tunable "on" NeverSave "off" Internal "off" ReadOnly "off" Enabled "on" Visible "on" ToolTip "on" } BlockParameterDefaults { Block { BlockType Constant Value "1" VectorParams1D on SamplingMode "Sample based" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Inherit from 'Constant value'" LockScale off SampleTime "inf" FramePeriod "inf" PreserveConstantTs off } Block { BlockType 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 "[]" ParamDataTypeStr "Inherit: Same as input" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Same as input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Inport Port "1" OutputFunctionCall off OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: auto" LockScale off BusOutputAsStruct off PortDimensions "-1" VarSizeSig "Inherit" SampleTime "-1" SignalType "auto" SamplingMode "auto" LatchByDelayingOutsideSignal off LatchInputForFeedbackSignals off Interpolate on } Block { BlockType 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 "[]" 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" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: auto" LockScale off BusOutputAsStruct off PortDimensions "-1" VarSizeSig "Inherit" SampleTime "-1" SignalType "auto" SamplingMode "auto" SourceOfInitialOutputValue "Dialog" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Same as first input" LockScale off RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType RelationalOperator Operator ">=" InputSameDT on OutDataTypeStr "Inherit: Logical (see Configuration Parameters: Optimization)" ZeroCross on SampleTime "-1" } Block { BlockType S-Function FunctionName "system" SFunctionModules "''" PortCounts "[]" SFunctionDeploymentMode off } Block { BlockType Scope ModelBased off TickLabels "OneTimeTick" ZoomMode "on" Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "Array" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "-1" } Block { BlockType SignalViewerScope Floating off ModelBased off TickLabels "OneTimeTick" ZoomMode "on" Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "Array" 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" FunctionInterfaceSpec "void_void" RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" SimViewingDevice off DataTypeOverride "UseLocalSettings" DataTypeOverrideAppliesTo "AllNumericTypes" MinMaxOverflowLogging "UseLocalSettings" SFBlockType "NONE" Variant off GeneratePreprocessorConditionals off } Block { BlockType Sum IconShape "rectangular" Inputs "++" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on AccumDataTypeStr "Inherit: Inherit via internal rule" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Same as first input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Switch Criteria "u2 >= Threshold" Threshold "0" InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Inherit via internal rule" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on ZeroCross on SampleTime "-1" AllowDiffInputSizes off } Block { BlockType Terminator } Block { BlockType ToFile Filename "untitled.mat" MatrixName "ans" SaveFormat "Array" Decimation "1" SampleTime "-1" } Block { BlockType TransportDelay DelayTime "1" InitialOutput "0" BufferSize "1024" FixedBuffer off TransDelayFeedthrough off PadeOrder "0" } Block { BlockType Trigonometry Operator "sin" ApproximationMethod "None" NumberOfIterations "11" OutputSignalType "auto" SampleTime "-1" } Block { BlockType ZeroOrderHold SampleTime "1" } } System { Name "EdLuTSimulink" Location [8, 44, 1609, 962] 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 "85" ReportName "simulink-default.rpt" SIDHighWatermark "4500" Block { BlockType SubSystem Name "3 sin" SID "184" Ports [0, 3] Position [60, 355, 100, 425] ZOrder -1 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "3 sin" Location [524, 79, 877, 825] 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] ZOrder -1 Value "[ 0 0 0 0 ] " } Block { BlockType Constant Name "Constant2" SID "186" Position [15, 887, 120, 903] ZOrder -2 Value "[ 0 0 0 0 ] " } Block { BlockType Constant Name "Constant3" SID "187" Position [20, 282, 125, 298] ZOrder -3 Value "[ 0 0 0 0 ] " } Block { BlockType Mux Name "Mux" SID "188" Ports [4, 1] Position [160, 87, 165, 198] ZOrder -4 ShowName off DisplayOption "bar" } Block { BlockType Mux Name "Mux1" SID "189" Ports [4, 1] Position [160, 402, 165, 513] ZOrder -5 ShowName off DisplayOption "bar" } Block { BlockType Mux Name "Mux2" SID "190" Ports [4, 1] Position [165, 692, 170, 803] ZOrder -6 ShowName off DisplayOption "bar" } Block { BlockType SubSystem Name "Subsystem" SID "191" Ports [0, 1] Position [25, 100, 65, 160] ZOrder -7 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem" Location [8, 44, 877, 479] 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] ZOrder -1 Value "0.1" } Block { BlockType Constant Name "Constant2" SID "194" Position [125, 40, 155, 70] ZOrder -2 Value "pi/4" } Block { BlockType Constant Name "Constant3" SID "195" Position [45, 125, 75, 155] ZOrder -3 Value "2*pi" } Block { BlockType DigitalClock Name "Digital Clock" SID "316" Position [15, 218, 80, 242] ZOrder -4 SampleTime "0.002" } Block { BlockType Product Name "Product" SID "196" Ports [2, 1] Position [395, 42, 425, 73] ZOrder -5 InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID "197" Ports [2, 1] Position [200, 172, 230, 203] ZOrder -6 InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" SID "198" Ports [2, 1] Position [275, 115, 295, 135] ZOrder -7 ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" SID "199" Ports [1, 1] Position [320, 175, 350, 205] ZOrder -8 } Block { BlockType Outport Name "q2" SID "200" Position [510, 53, 540, 67] ZOrder -9 IconDisplay "Port number" } 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] ZOrder -8 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem1" Location [497, 58, 1157, 493] 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] ZOrder -1 Value "0.1" } Block { BlockType Constant Name "Constant3" SID "204" Position [140, 20, 170, 50] ZOrder -2 Value "pi/2" } Block { BlockType Constant Name "Constant4" SID "205" Position [80, 115, 110, 145] ZOrder -3 Value "2*pi" } Block { BlockType DigitalClock Name "Digital Clock" SID "315" Position [60, 198, 125, 222] ZOrder -4 SampleTime "0.002" } Block { BlockType Product Name "Product" SID "206" Ports [2, 1] Position [410, 22, 440, 53] ZOrder -5 InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID "207" Ports [2, 1] Position [215, 152, 245, 183] ZOrder -6 InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" SID "208" Ports [2, 1] Position [290, 95, 310, 115] ZOrder -7 ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" SID "209" Ports [1, 1] Position [335, 155, 365, 185] ZOrder -8 } Block { BlockType Outport Name "q3" SID "210" Position [525, 33, 555, 47] ZOrder -9 IconDisplay "Port number" } 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] ZOrder -9 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem2" Location [340, 109, 1029, 689] 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] ZOrder -1 Value "0.1*2*pi" } Block { BlockType Constant Name "Constant3" SID "214" Position [20, 215, 50, 245] ZOrder -2 Value "2*pi" } Block { BlockType DigitalClock Name "Digital Clock" SID "322" Position [15, 303, 80, 327] ZOrder -3 SampleTime "0.002" } Block { BlockType Product Name "Product" SID "215" Ports [2, 1] Position [370, 132, 400, 163] ZOrder -4 InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID "216" Ports [2, 1] Position [175, 262, 205, 293] ZOrder -5 InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" SID "217" Ports [1, 1] Position [295, 265, 325, 295] ZOrder -6 Operator "cos" } Block { BlockType Outport Name "qd1" SID "218" Position [520, 108, 550, 122] ZOrder -7 IconDisplay "Port number" } 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] ZOrder -10 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem3" Location [328, 145, 1017, 725] 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] ZOrder -1 Value "0.1" } Block { BlockType Constant Name "Constant3" SID "222" Position [75, 220, 105, 250] ZOrder -2 Value "2*pi" } Block { BlockType DigitalClock Name "Digital Clock" SID "314" Position [15, 303, 80, 327] ZOrder -3 SampleTime "0.002" } Block { BlockType Product Name "Product" SID "223" Ports [2, 1] Position [370, 132, 400, 163] ZOrder -4 InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID "224" Ports [2, 1] Position [175, 262, 205, 293] ZOrder -5 InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" SID "225" Ports [1, 1] Position [295, 265, 325, 295] ZOrder -6 } Block { BlockType Outport Name "q1" SID "226" Position [520, 108, 550, 122] ZOrder -7 IconDisplay "Port number" } 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] ZOrder -11 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem4" Location [69, 44, 938, 479] 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] ZOrder -1 Value "0.1*2*pi" } Block { BlockType Constant Name "Constant2" SID "230" Position [125, 40, 155, 70] ZOrder -2 Value "pi/4" } Block { BlockType Constant Name "Constant3" SID "231" Position [45, 125, 75, 155] ZOrder -3 Value "2*pi" } Block { BlockType DigitalClock Name "Digital Clock" SID "321" Position [45, 218, 110, 242] ZOrder -4 SampleTime "0.002" } Block { BlockType Product Name "Product" SID "232" Ports [2, 1] Position [395, 42, 425, 73] ZOrder -5 InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID "233" Ports [2, 1] Position [200, 172, 230, 203] ZOrder -6 InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" SID "234" Ports [2, 1] Position [275, 115, 295, 135] ZOrder -7 ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" SID "235" Ports [1, 1] Position [320, 175, 350, 205] ZOrder -8 Operator "cos" } Block { BlockType Outport Name "qd2" SID "236" Position [510, 53, 540, 67] ZOrder -9 IconDisplay "Port number" } 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] ZOrder -12 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem5" Location [497, 58, 1157, 493] 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] ZOrder -1 Value "0.1*2*pi" } Block { BlockType Constant Name "Constant3" SID "240" Position [140, 20, 170, 50] ZOrder -2 Value "pi/2" } Block { BlockType Constant Name "Constant4" SID "241" Position [60, 105, 90, 135] ZOrder -3 Value "2*pi" } Block { BlockType DigitalClock Name "Digital Clock" SID "320" Position [15, 198, 80, 222] ZOrder -4 SampleTime "0.002" } Block { BlockType Product Name "Product" SID "242" Ports [2, 1] Position [410, 22, 440, 53] ZOrder -5 InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID "243" Ports [2, 1] Position [215, 152, 245, 183] ZOrder -6 InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" SID "244" Ports [2, 1] Position [290, 95, 310, 115] ZOrder -7 ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" SID "245" Ports [1, 1] Position [335, 155, 365, 185] ZOrder -8 Operator "cos" } Block { BlockType Outport Name "qd3" SID "246" Position [525, 33, 555, 47] ZOrder -9 IconDisplay "Port number" } 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] ZOrder -13 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem6" Location [238, 309, 927, 889] 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] ZOrder -1 Value "-0.1*4*pi^2" } Block { BlockType Constant Name "Constant3" SID "250" Position [20, 215, 50, 245] ZOrder -2 Value "2*pi" } Block { BlockType DigitalClock Name "Digital Clock" SID "317" Position [15, 308, 80, 332] ZOrder -3 SampleTime "0.002" } Block { BlockType Product Name "Product" SID "251" Ports [2, 1] Position [370, 132, 400, 163] ZOrder -4 InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID "252" Ports [2, 1] Position [175, 262, 205, 293] ZOrder -5 InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" SID "253" Ports [1, 1] Position [295, 265, 325, 295] ZOrder -6 } Block { BlockType Outport Name "qdd1" SID "254" Position [520, 108, 550, 122] ZOrder -7 IconDisplay "Port number" } 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] ZOrder -14 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem7" Location [321, 44, 1190, 479] 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] ZOrder -1 Value "-0.1*4*pi^2" } Block { BlockType Constant Name "Constant2" SID "258" Position [125, 40, 155, 70] ZOrder -2 Value "pi/4" } Block { BlockType Constant Name "Constant3" SID "259" Position [45, 125, 75, 155] ZOrder -3 Value "2*pi" } Block { BlockType DigitalClock Name "Digital Clock" SID "318" Position [55, 218, 120, 242] ZOrder -4 SampleTime "0.002" } Block { BlockType Product Name "Product" SID "260" Ports [2, 1] Position [395, 42, 425, 73] ZOrder -5 InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID "261" Ports [2, 1] Position [200, 172, 230, 203] ZOrder -6 InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" SID "262" Ports [2, 1] Position [275, 115, 295, 135] ZOrder -7 ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" SID "263" Ports [1, 1] Position [320, 175, 350, 205] ZOrder -8 } Block { BlockType Outport Name "qdd2" SID "264" Position [510, 53, 540, 67] ZOrder -9 IconDisplay "Port number" } 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] ZOrder -15 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem8" Location [497, 58, 1157, 493] 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] ZOrder -1 Value "-0.1*4*pi^2" } Block { BlockType Constant Name "Constant3" SID "268" Position [140, 20, 170, 50] ZOrder -2 Value "pi/2" } Block { BlockType Constant Name "Constant4" SID "269" Position [60, 105, 90, 135] ZOrder -3 Value "2*pi" } Block { BlockType DigitalClock Name "Digital Clock" SID "319" Position [60, 198, 125, 222] ZOrder -4 SampleTime "0.002" } Block { BlockType Product Name "Product" SID "270" Ports [2, 1] Position [410, 22, 440, 53] ZOrder -5 InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID "271" Ports [2, 1] Position [215, 152, 245, 183] ZOrder -6 InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" SID "272" Ports [2, 1] Position [290, 95, 310, 115] ZOrder -7 ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" SID "273" Ports [1, 1] Position [335, 155, 365, 185] ZOrder -8 } Block { BlockType Outport Name "qdd3" SID "274" Position [525, 33, 555, 47] ZOrder -9 IconDisplay "Port number" } 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] ZOrder -16 IconDisplay "Port number" } Block { BlockType Outport Name "qd" SID "276" Position [245, 448, 275, 462] ZOrder -17 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "qdd" SID "277" Position [195, 728, 225, 742] ZOrder -18 Port "3" IconDisplay "Port number" } 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 [530, 680, 575, 710] ZOrder -2 } Block { BlockType Constant Name "Constant1" SID "1319" Position [530, 739, 580, 771] ZOrder -3 Value "20" } Block { BlockType Constant Name "Constant2" SID "4390" Position [1260, 905, 1305, 935] ZOrder -4 Value "ones(6,1)" OutDataTypeStr "double" SampleTime "0.002" } Block { BlockType Constant Name "Constant3" SID "4495" Position [1130, 910, 1175, 940] ZOrder -5 Value "499" OutDataTypeStr "double" SampleTime "0.002" } Block { BlockType Constant Name "Constant4" SID "1320" Position [530, 798, 570, 832] ZOrder -6 Value "10" } Block { BlockType Reference Name "Counter\nLimited" SID "4389" Ports [0, 1] Position [1115, 990, 1145, 1020] ZOrder -7 LibraryVersion "1.274" SourceBlock "simulink/Sources/Counter\nLimited" SourceType "Counter Limited" uplimit "499" tsamp "0.002" } Block { BlockType Demux Name "Demux" SID "4394" Ports [1, 6] Position [1585, 711, 1590, 889] ZOrder -8 ShowName off Outputs "6" DisplayOption "bar" } Block { BlockType Demux Name "Demux1" SID "4475" Ports [1, 6] Position [1075, 544, 1080, 656] ZOrder -9 ShowName off Outputs "6" DisplayOption "bar" } Block { BlockType DigitalClock Name "Digital Clock" SID "4355" Position [460, 213, 525, 237] ZOrder -10 SampleTime "0.002" } Block { BlockType Display Name "Display" SID "4385" Ports [1] Position [680, 195, 770, 225] ZOrder -11 Decimation "1" Lockdown off } Block { BlockType Mux Name "Mux" SID "4354" Ports [3, 1] Position [605, 236, 610, 274] ZOrder -12 ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux1" SID "4387" Ports [3, 1] Position [1075, 279, 1080, 371] ZOrder -13 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] ZOrder -14 ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux3" SID "4439" Ports [3, 1] Position [1035, 547, 1040, 653] ZOrder -15 ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux4" SID "4473" Ports [3, 1] Position [990, 759, 995, 861] ZOrder -16 ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux5" SID "4471" Ports [2, 1] Position [990, 638, 995, 762] ZOrder -17 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux6" SID "4431" Ports [2, 1] Position [1695, 541, 1700, 579] ZOrder -18 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux7" SID "4433" Ports [2, 1] Position [1710, 611, 1715, 649] ZOrder -19 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux8" SID "4434" Ports [2, 1] Position [1730, 671, 1735, 709] ZOrder -20 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux9" SID "4477" Ports [6, 1] Position [1185, 543, 1190, 657] ZOrder -21 ShowName off Inputs "6" DisplayOption "bar" } Block { BlockType Gain Name "Q1 Gain" SID "4497" Position [1810, 798, 1855, 832] ZOrder -8 ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Q2 Gain" SID "4498" Position [1810, 853, 1855, 887] ZOrder -8 ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Q3 Gain" SID "4499" Position [1810, 903, 1855, 937] ZOrder -8 ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType SubSystem Name "RNE " SID "330" Ports [3, 1] Position [220, 353, 335, 427] ZOrder -25 BackgroundColor "red" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 20 $ClassName "Simulink.Mask" Description " Este bloque computa la dinamica inversa mediante la utilizacion del algoritmo\nrecursivo Newton Euler " "(computacionalmente mas eficiente que el metodo de \nLagrange-Euler)\n\nSe ha de introducir el valor de la gravedad c" "on la que se ha de trabajar (direccion y modulo)" Display "\nport_label('output',1,'Torque')\nport_label('input',1,'q')\nport_label('input',2,'qd')\nport_label('inpu" "t',3,'qdd')\nfprintf('RNE') " Array { Type "Simulink.MaskParameter" Dimension 2 Object { $ObjectID 21 Type "edit" Name "grav" Prompt "Valor de gravedad( 0 0 -9.81) " Value "[ 0 0 9.81]" } Object { $ObjectID 22 Type "edit" Name "RRed" Prompt "Robot" Value "RRedKuKa" } PropName "Parameters" } } System { Name "RNE " Location [227, 221, 777, 611] 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] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "qd" SID "332" Position [25, 103, 55, 117] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "qdd" SID "333" Position [25, 163, 55, 177] ZOrder -3 Port "3" IconDisplay "Port number" } Block { BlockType Mux Name "Mux" SID "334" Ports [3, 1] Position [215, 51, 220, 169] ZOrder -4 ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType S-Function Name "S-Function" SID "335" Ports [1, 1] Position [90, 25, 150, 55] ZOrder -5 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] ZOrder -6 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] ZOrder -7 BackgroundColor "yellow" FunctionName "Select" Parameters "RRed" EnableBusSupport off } Block { BlockType MATLABFcn Name "rne" SID "338" Ports [1, 1] Position [255, 96, 430, 124] ZOrder -8 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] ZOrder -9 IconDisplay "Port number" } 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 1" SID "4408" Ports [3, 1] Position [220, 458, 335, 532] ZOrder -26 BackgroundColor "red" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 23 $ClassName "Simulink.Mask" Description " Este bloque computa la dinamica inversa mediante la utilizacion del algoritmo\nrecursivo Newton Euler " "(computacionalmente mas eficiente que el metodo de \nLagrange-Euler)\n\nSe ha de introducir el valor de la gravedad c" "on la que se ha de trabajar (direccion y modulo)" Display "\nport_label('output',1,'Torque')\nport_label('input',1,'q')\nport_label('input',2,'qd')\nport_label('inpu" "t',3,'qdd')\nfprintf('RNE') " Array { Type "Simulink.MaskParameter" Dimension 2 Object { $ObjectID 24 Type "edit" Name "grav" Prompt "Valor de gravedad( 0 0 -9.81) " Value "[ 0 0 9.81]" } Object { $ObjectID 25 Type "edit" Name "RRed" Prompt "Robot" Value "RRedKuKadet" } PropName "Parameters" } } System { Name "RNE 1" Location [296, 221, 846, 611] 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 "4409" Position [25, 33, 55, 47] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "qd" SID "4410" Position [25, 103, 55, 117] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "qdd" SID "4411" Position [25, 163, 55, 177] ZOrder -3 Port "3" IconDisplay "Port number" } Block { BlockType Mux Name "Mux" SID "4412" Ports [3, 1] Position [215, 51, 220, 169] ZOrder -4 ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType S-Function Name "S-Function" SID "4413" Ports [1, 1] Position [90, 25, 150, 55] ZOrder -5 BackgroundColor "yellow" FunctionName "Select" Parameters "RRed" EnableBusSupport off } Block { BlockType S-Function Name "S-Function1" SID "4414" Ports [1, 1] Position [95, 95, 155, 125] ZOrder -6 BackgroundColor "yellow" FunctionName "Select" Parameters "RRed" EnableBusSupport off } Block { BlockType S-Function Name "S-Function2" SID "4415" Ports [1, 1] Position [100, 155, 160, 185] ZOrder -7 BackgroundColor "yellow" FunctionName "Select" Parameters "RRed" EnableBusSupport off } Block { BlockType MATLABFcn Name "rne" SID "4416" Ports [1, 1] Position [255, 96, 430, 124] ZOrder -8 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 "4417" Position [455, 103, 485, 117] ZOrder -9 IconDisplay "Port number" } 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 RR" SID "340" Ports [1, 3] Position [425, 324, 590, 396] ZOrder -27 BackgroundColor "red" DropShadow on MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 26 $ClassName "Simulink.Mask" Description "Modelado del brazo robotico mediante dinamica rigida" Array { Type "Simulink.MaskParameter" Dimension 3 Object { $ObjectID 27 Type "edit" Name "Ciniciales" Prompt "Condiciones iniciales q" Value "[0.0 0.1*sin(pi/4) 0.1 0 0 0 0]" } Object { $ObjectID 28 Type "edit" Name "Viniciales" Prompt "Velocidades iniciales qd" Value "[2*pi*0.1 2*pi*sin(pi/4)*0.1 0 0 0 0 0]" } Object { $ObjectID 29 Type "edit" Name "RRed" Prompt "Robot" Value "RRedKuKadet" } PropName "Parameters" } } System { Name "ROBOT RR" Location [8, 44, 1307, 1016] 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] ZOrder -1 IconDisplay "Port number" } Block { BlockType Constant Name "Constant" SID "342" Position [35, 745, 155, 775] ZOrder -2 Value "Ciniciales" } Block { BlockType Constant Name "Constant1" SID "343" Position [25, 630, 145, 660] ZOrder -3 Value "Viniciales" } Block { BlockType Integrator Name "Integrator" SID "344" Ports [3, 1] Position [270, 104, 305, 156] ZOrder -4 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] ZOrder -5 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] ZOrder -6 ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType SubSystem Name "Reset Contidions" SID "3321" Ports [0, 1] Position [65, 334, 130, 396] ZOrder -7 BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 30 $ClassName "Simulink.Mask" Display "port_label ('output',1,'FallingReset')" Object { $PropName "Parameters" $ObjectID 31 $ClassName "Simulink.MaskParameter" Type "edit" Name "T" Prompt "Period" Value "1" } } System { Name "Reset Contidions" Location [8, 270, 288, 578] 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] ZOrder -1 Value "T" } Block { BlockType DigitalClock Name "Digital Clock" SID "3317" Position [25, 28, 90, 52] ZOrder -2 SampleTime "0.002" } Block { BlockType Math Name "Math\nFunction" SID "3316" Ports [2, 1] Position [130, 32, 160, 63] ZOrder -3 Operator "mod" OutputSignalType "real" } Block { BlockType Outport Name "Out1" SID "3322" Position [185, 43, 215, 57] ZOrder -4 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] ZOrder -8 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] ZOrder -9 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] ZOrder -10 BackgroundColor "yellow" FunctionName "Select" Parameters "RRed" EnableBusSupport off } Block { BlockType Outport Name "Coordenadas \narticulares" SID "350" Position [565, 13, 595, 27] ZOrder -11 IconDisplay "Port number" } Block { BlockType Outport Name "Velocidades \narticulares" SID "351" Position [565, 53, 595, 67] ZOrder -12 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "aceleraciones \narticulares1" SID "352" Position [565, 98, 595, 112] ZOrder -13 Port "3" IconDisplay "Port number" } 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 "Velocidades \narticulares" 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 "aceleraciones \narticulares1" 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 "Coordenadas \narticulares" 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, 4] Position [1370, 935, 1500, 1030] ZOrder -28 FunctionName "EDLUTAbstract" Parameters "ParamFile NumberOfJoints NumberOfStates WeightFile WeightInitFile" EnableBusSupport off Object { $PropName "MaskObject" $ObjectID 32 $ClassName "Simulink.Mask" Display "port_label('input',1,'MFAct')\nport_label('input',2,'Error')\nport_label('input',3,'State')\nport_label('o" "utput',1,'DCNAct')\nport_label('output',2,'PCAct')\nport_label('output',3,'MFWeight')\nport_label('output',4,'PCWeigh" "t')\n" Array { Type "Simulink.MaskParameter" Dimension 5 Object { $ObjectID 33 Type "edit" Name "ParamFile" Prompt "Learning Configuration File" Value "'Parametros.txt'" } Object { $ObjectID 34 Type "edit" Name "NumberOfJoints" Prompt "Number Of Joints" Value "6" } Object { $ObjectID 35 Type "edit" Name "NumberOfStates" Prompt "Number Of States" Value "500" } Object { $ObjectID 36 Type "edit" Name "WeightFile" Prompt "Final Weight File" Value "'./Register/WeightsOnlyPC2_5.dat'" } Object { $ObjectID 37 Type "edit" Name "WeightInitFile" Prompt "Initial Weight File" Value "'./InitialWeights25.dat'" } PropName "Parameters" } } } Block { BlockType Scope Name "Scope2" SID "4400" Ports [1] Position [1560, 954, 1590, 986] ZOrder -29 Floating off Location [10, 71, 1592, 874] Open on NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off TimeRange "10 " YMin "0.3" YMax "1" SaveName "ScopeData3" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "Scope3" SID "4401" Ports [1] Position [1540, 999, 1570, 1031] ZOrder -30 Floating off Location [-1679, 48, 1, 1049] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off TimeRange "10 " YMin "0" YMax "0.65" SaveName "ScopeData4" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "Scope4" SID "4402" Ports [1] Position [1540, 1049, 1570, 1081] ZOrder -31 Floating off Location [5, 48, 1604, 869] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off TimeRange "20" YMin "6" YMax "80" SaveName "ScopeData5" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "Scope5" SID "4430" Ports [1] Position [1305, 694, 1335, 726] ZOrder -32 Floating off Location [-1679, 48, 1, 1049] Open off NumInputPorts "1" ZoomMode "yonly" List { ListType AxesTitles axes1 "%" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off TimeRange "10" YMin "0" YMax "1" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "Scope6" SID "4460" Ports [1] Position [880, 289, 910, 321] ZOrder -33 Floating off Location [5, 52, 1445, 869] Open off NumInputPorts "1" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" } ShowLegends off TimeRange "20" YMin "-20" YMax "22.5" SaveName "ScopeData6" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "Scope7" SID "4478" Ports [1] Position [1065, 874, 1095, 906] ZOrder -34 Floating off Location [5, 52, 1445, 869] Open off NumInputPorts "1" ZoomMode "yonly" List { ListType AxesTitles axes1 "%" } ShowLegends off TimeRange "10 " YMin "-3" YMax "4" SaveName "ScopeData8" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "Scope8" SID "4407" Ports [1] Position [1600, 904, 1630, 936] ZOrder -35 Floating off Location [-1679, 48, 1, 1049] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off TimeRange "10 " YMin "0" YMax "17" SaveName "ScopeData9" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType SubSystem Name "Subsystem" SID "1232" Ports [11, 9] Position [710, 556, 935, 854] ZOrder -36 BackgroundColor "orange" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem" Location [8, 44, 1609, 962] 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 "125" Block { BlockType Inport Name "Desired Position" SID "1246" Position [25, 398, 55, 412] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "Desired Velocities" SID "1250" Position [25, 473, 55, 487] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "Pares deseados" SID "1253" Position [225, 108, 255, 122] ZOrder -3 Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "qreal" SID "1254" Position [50, 135, 65, 165] ZOrder -4 NamePlacement "alternate" Port "4" IconDisplay "Port number" } Block { BlockType Inport Name "qdreal" SID "1255" Position [35, 185, 50, 215] ZOrder -5 NamePlacement "alternate" Port "5" IconDisplay "Port number" } Block { BlockType Inport Name "Par max Poisson1" SID "1307" Position [385, 38, 415, 52] ZOrder -6 Port "6" IconDisplay "Port number" } Block { BlockType Inport Name "Par cerb aplicado1" SID "1308" Position [385, 88, 415, 102] ZOrder -7 Port "7" IconDisplay "Port number" } Block { BlockType Inport Name "Par max Poisson2" SID "1309" Position [385, 138, 415, 152] ZOrder -8 Port "8" IconDisplay "Port number" } Block { BlockType Inport Name "Par cerb aplicado2" SID "1310" Position [390, 188, 420, 202] ZOrder -9 Port "9" IconDisplay "Port number" } Block { BlockType Inport Name "Par max Poisson3" SID "1311" Position [390, 238, 420, 252] ZOrder -10 Port "10" IconDisplay "Port number" } Block { BlockType Inport Name "Par cerb aplicado3" SID "1312" Position [390, 288, 420, 302] ZOrder -11 Port "11" IconDisplay "Port number" } Block { BlockType Demux Name "Demux" SID "1256" Ports [1, 3] Position [290, 183, 295, 237] ZOrder -12 BackgroundColor "black" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Demux Name "Demux1" SID "1257" Ports [1, 3] Position [305, 88, 310, 142] ZOrder -13 BackgroundColor "black" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Demux Name "Demux2" SID "4423" Ports [1, 3] Position [675, 338, 680, 392] ZOrder -14 BackgroundColor "black" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType SubSystem Name "ErrorModel" SID "1258" Ports [4, 1] Position [160, 175, 255, 240] ZOrder -15 BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "ErrorModel" Location [8, 44, 1609, 962] 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] ZOrder -1 BlockMirror on IconDisplay "Port number" } Block { BlockType Inport Name "qdreal" SID "1260" Position [695, 133, 725, 147] ZOrder -2 BlockMirror on Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "qdes" SID "1261" Position [25, 188, 55, 202] ZOrder -3 Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "qddes" SID "1262" Position [25, 278, 55, 292] ZOrder -4 Port "4" IconDisplay "Port number" } Block { BlockType Demux Name "Demux" SID "3403" Ports [1, 3] Position [215, 186, 220, 224] ZOrder -5 ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Demux Name "Demux1" SID "3407" Ports [1, 3] Position [210, 276, 215, 314] ZOrder -6 ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType SubSystem Name "Ganancia error1" SID "1264" Ports [2, 2] Position [590, 214, 660, 281] ZOrder -7 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 38 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 6 Object { $ObjectID 39 Type "edit" Name "KP1" Prompt "Constante error de posición1" Value "1" } Object { $ObjectID 40 Type "edit" Name "KP2" Prompt "Constante error de posición2" Value "12" } Object { $ObjectID 41 Type "edit" Name "KP3" Prompt "Constante error de posición3" Value "6" } Object { $ObjectID 42 Type "edit" Name "KV1" Prompt "Constante error de velocidad1" Value "2" } Object { $ObjectID 43 Type "edit" Name "KV2" Prompt "Constante error de velocidad2" Value "10" } Object { $ObjectID 44 Type "edit" Name "KV3" Prompt "Constante error de velocidad3" Value "5" } PropName "Parameters" } } System { Name "Ganancia error1" Location [8, 44, 1484, 994] 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] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "ev" SID "1266" Position [30, 78, 60, 92] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType Gain Name "Gain" SID "1267" Position [90, 25, 120, 55] ZOrder -3 Gain "[KP1 0 0;0 KP2 0;0 0 KP3]" Multiplication "Matrix(K*u)" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain1" SID "1268" Position [95, 70, 125, 100] ZOrder -4 Gain "[KV1 0 0;0 KV2 0; 0 0 KV3]" Multiplication "Matrix(K*u)" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "e1" SID "1269" Position [145, 33, 175, 47] ZOrder -5 IconDisplay "Port number" } Block { BlockType Outport Name "e2" SID "1270" Position [150, 78, 180, 92] ZOrder -6 Port "2" IconDisplay "Port number" } 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] ZOrder -8 MATLABFcn "rad2deg" } Block { BlockType Scope Name "Scope" SID "4380" Ports [1] Position [705, 339, 735, 371] ZOrder -9 Floating off Location [1, 52, 1441, 869] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } ShowLegends off YMin "-0.02" YMax "0.15" SaveName "ScopeData1" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "Scope1" SID "4381" Ports [1] Position [705, 419, 735, 451] ZOrder -10 Floating off Location [5, 52, 1445, 869] Open off NumInputPorts "1" ZoomMode "yonly" List { ListType AxesTitles axes1 "%" } ShowLegends off TimeRange "20" YMin "-0.05" YMax "0.375" SaveName "ScopeData2" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "Scope2" SID "4463" Ports [1] Position [865, 144, 895, 176] ZOrder -11 Floating off Location [5, 52, 1445, 869] Open off NumInputPorts "1" ZoomMode "yonly" List { ListType AxesTitles axes1 "%" } ShowLegends off TimeRange "20" YMin "-0.005" YMax "0.0425" SaveName "ScopeData7" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Sum Name "Sum4" SID "1280" Ports [2, 1] Position [425, 185, 445, 205] ZOrder -12 ShowName off IconShape "round" Inputs "-+|" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum5" SID "1281" Ports [2, 1] Position [520, 275, 540, 295] ZOrder -13 ShowName off IconShape "round" Inputs "-+|" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum6" SID "1282" Ports [2, 1] Position [765, 230, 785, 250] ZOrder -14 ShowName off IconShape "round" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType SubSystem Name "System Delay" SID "1283" Ports [1, 1] Position [85, 164, 155, 226] ZOrder -15 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 45 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 3 Object { $ObjectID 46 Type "edit" Name "delta1" Prompt "Primer delay delta1" Value "0" } Object { $ObjectID 47 Type "edit" Name "delta2" Prompt "Segundo delay delta2" Value "0" } Object { $ObjectID 48 Type "edit" Name "qinicial" Prompt "Posición inicial [q1 q2 q3 q4 q5 q6 q7]" Value "[0.0 0.1*sin(pi/4) 0.1 0 0 0 0]" } PropName "Parameters" } } System { Name "System Delay" Location [356, 225, 663, 519] 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 "qdes" SID "1284" Position [25, 33, 55, 47] ZOrder -1 IconDisplay "Port number" } Block { BlockType TransportDelay Name "Transport\nDelay" SID "1285" Ports [1, 1] Position [90, 25, 120, 55] ZOrder -2 DelayTime "delta1" InitialOutput "qinicial" } Block { BlockType TransportDelay Name "Transport\nDelay1" SID "1286" Ports [1, 1] Position [140, 25, 170, 55] ZOrder -3 DelayTime "delta2" InitialOutput "qinicial" } Block { BlockType Outport Name "qdesdelay" SID "1287" Position [195, 33, 225, 47] ZOrder -4 IconDisplay "Port number" } Line { SrcBlock "Transport\nDelay" SrcPort 1 DstBlock "Transport\nDelay1" DstPort 1 } Line { SrcBlock "qdes" SrcPort 1 DstBlock "Transport\nDelay" DstPort 1 } Line { SrcBlock "Transport\nDelay1" SrcPort 1 DstBlock "qdesdelay" DstPort 1 } } } Block { BlockType SubSystem Name "System Delay1" SID "1288" Ports [1, 1] Position [600, 109, 670, 171] ZOrder -16 BlockMirror on NamePlacement "alternate" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 49 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 3 Object { $ObjectID 50 Type "edit" Name "delta1" Prompt "Primer delay delta1" Value "0" } Object { $ObjectID 51 Type "edit" Name "delta2" Prompt "Segundo delay delta2" Value "0" } Object { $ObjectID 52 Type "edit" Name "qinicial" Prompt "Velocidad inicial [qd1 qd2 qd3]" Value "[2*pi*0.1 2*pi*sin(pi/4)*0.1 0]" } PropName "Parameters" } } System { Name "System Delay1" Location [503, 237, 810, 514] 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 "qdes" SID "1289" Position [25, 33, 55, 47] ZOrder -1 IconDisplay "Port number" } Block { BlockType TransportDelay Name "Transport\nDelay" SID "1290" Ports [1, 1] Position [90, 25, 120, 55] ZOrder -2 DelayTime "delta1" InitialOutput "qinicial" } Block { BlockType TransportDelay Name "Transport\nDelay1" SID "1291" Ports [1, 1] Position [140, 25, 170, 55] ZOrder -3 DelayTime "delta2" InitialOutput "qinicial" } Block { BlockType Outport Name "qdesdelay" SID "1292" Position [195, 33, 225, 47] ZOrder -4 IconDisplay "Port number" } Line { SrcBlock "Transport\nDelay" SrcPort 1 DstBlock "Transport\nDelay1" DstPort 1 } Line { SrcBlock "qdes" SrcPort 1 DstBlock "Transport\nDelay" DstPort 1 } Line { SrcBlock "Transport\nDelay1" SrcPort 1 DstBlock "qdesdelay" DstPort 1 } } } Block { BlockType SubSystem Name "System Delay2" SID "1293" Ports [1, 1] Position [85, 254, 155, 316] ZOrder -17 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 53 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 3 Object { $ObjectID 54 Type "edit" Name "delta1" Prompt "Primer delay delta1" Value "0" } Object { $ObjectID 55 Type "edit" Name "delta2" Prompt "Segundo delay delta2" Value "0" } Object { $ObjectID 56 Type "edit" Name "qinicial" Prompt "Velocidad inicial [qd1 qd2 qd3 qd4 qd5 qd6 qd7]" Value "[2*pi*0.1 2*pi*sin(pi/4)*0.1 0 0 0 0 0]" } PropName "Parameters" } } System { Name "System Delay2" Location [503, 237, 810, 514] 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 "qdes" SID "1294" Position [25, 33, 55, 47] ZOrder -1 IconDisplay "Port number" } Block { BlockType TransportDelay Name "Transport\nDelay" SID "1295" Ports [1, 1] Position [90, 25, 120, 55] ZOrder -2 DelayTime "delta1" InitialOutput "qinicial" } Block { BlockType TransportDelay Name "Transport\nDelay1" SID "1296" Ports [1, 1] Position [140, 25, 170, 55] ZOrder -3 DelayTime "delta2" InitialOutput "qinicial" } Block { BlockType Outport Name "qdesdelay" SID "1297" Position [195, 33, 225, 47] ZOrder -4 IconDisplay "Port number" } Line { SrcBlock "Transport\nDelay" SrcPort 1 DstBlock "Transport\nDelay1" DstPort 1 } Line { SrcBlock "qdes" SrcPort 1 DstBlock "Transport\nDelay" DstPort 1 } Line { SrcBlock "Transport\nDelay1" SrcPort 1 DstBlock "qdesdelay" DstPort 1 } } } Block { BlockType SubSystem Name "System Delay5" SID "1298" Ports [1, 1] Position [520, 14, 590, 76] ZOrder -18 BlockMirror on NamePlacement "alternate" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 57 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 3 Object { $ObjectID 58 Type "edit" Name "delta1" Prompt "Primer delay delta1" Value "0" } Object { $ObjectID 59 Type "edit" Name "delta2" Prompt "Segundo delay delta2" Value "0" } Object { $ObjectID 60 Type "edit" Name "qinicial" Prompt "Posición inicial [q1 q2 q3 ]" Value "[0.0 0.1*sin(pi/4) 0.1]" } PropName "Parameters" } } System { Name "System Delay5" Location [356, 225, 663, 519] 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 "qdes" SID "1299" Position [25, 33, 55, 47] ZOrder -1 IconDisplay "Port number" } Block { BlockType TransportDelay Name "Transport\nDelay" SID "1300" Ports [1, 1] Position [90, 25, 120, 55] ZOrder -2 DelayTime "delta1" InitialOutput "qinicial" } Block { BlockType TransportDelay Name "Transport\nDelay1" SID "1301" Ports [1, 1] Position [140, 25, 170, 55] ZOrder -3 DelayTime "delta2" InitialOutput "qinicial" } Block { BlockType Outport Name "qdesdelay" SID "1302" Position [195, 33, 225, 47] ZOrder -4 IconDisplay "Port number" } Line { SrcBlock "Transport\nDelay" SrcPort 1 DstBlock "Transport\nDelay1" DstPort 1 } Line { SrcBlock "qdes" SrcPort 1 DstBlock "Transport\nDelay" DstPort 1 } Line { SrcBlock "Transport\nDelay1" SrcPort 1 DstBlock "qdesdelay" DstPort 1 } } } Block { BlockType Terminator Name "Terminator" SID "3409" Position [260, 210, 280, 230] ZOrder -19 } Block { BlockType Terminator Name "Terminator1" SID "3410" Position [260, 240, 280, 260] ZOrder -20 } Block { BlockType Terminator Name "Terminator2" SID "3411" Position [255, 295, 275, 315] ZOrder -21 } Block { BlockType Terminator Name "Terminator3" SID "3412" Position [255, 330, 275, 350] ZOrder -22 } Block { BlockType ToFile Name "ToFileErrorPos" SID "4487" Ports [1] Position [835, 80, 895, 110] ZOrder -23 Filename "./Register/ErrorPositionAllLearning10.mat" } Block { BlockType Outport Name "error" SID "1306" Position [965, 233, 995, 247] ZOrder -24 IconDisplay "Port number" } Line { SrcBlock "Sum4" SrcPort 1 Points [15, 0] Branch { Points [25, 0] Branch { Points [85, 0] DstBlock "Ganancia error1" DstPort 1 } Branch { Points [0, -100; 275, 0] Branch { Points [0, 65] DstBlock "Scope2" DstPort 1 } Branch { DstBlock "ToFileErrorPos" DstPort 1 } } } Branch { Points [0, 160] DstBlock "Scope" DstPort 1 } } Line { SrcBlock "Sum5" SrcPort 1 Points [15, 0] Branch { Points [15, 0] DstBlock "Ganancia error1" DstPort 2 } Branch { Points [0, 150] DstBlock "Scope1" DstPort 1 } } Line { SrcBlock "Ganancia error1" SrcPort 1 Points [5, 0; 0, -15] DstBlock "Sum6" DstPort 1 } Line { SrcBlock "Ganancia error1" SrcPort 2 Points [5, 0; 0, 15; 105, 0] DstBlock "Sum6" DstPort 2 } Line { SrcBlock "qreal" SrcPort 1 DstBlock "System Delay5" DstPort 1 } Line { SrcBlock "qdreal" SrcPort 1 DstBlock "System Delay1" DstPort 1 } Line { SrcBlock "qdes" SrcPort 1 DstBlock "System Delay" DstPort 1 } Line { SrcBlock "qddes" SrcPort 1 DstBlock "System Delay2" DstPort 1 } Line { SrcBlock "Sum6" SrcPort 1 DstBlock "MATLAB Fcn" DstPort 1 } Line { SrcBlock "System Delay5" SrcPort 1 Points [-80, 0] DstBlock "Sum4" DstPort 1 } Line { SrcBlock "System Delay1" SrcPort 1 Points [-65, 0] DstBlock "Sum5" DstPort 1 } Line { SrcBlock "System Delay" SrcPort 1 Points [40, 0] DstBlock "Demux" DstPort 1 } Line { SrcBlock "System Delay2" SrcPort 1 Points [35, 0] DstBlock "Demux1" 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 "MossyContextSubsystem" SID "696" Ports [0, 4] Position [130, 582, 205, 668] ZOrder -16 BackgroundColor "orange" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "MossyContextSubsystem" Location [268, 482, 908, 860] 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 SubSystem Name "Contexto" SID "629" Ports [0, 2] Position [25, 75, 110, 135] ZOrder -1 BackgroundColor "[1.000000, 0.501961, 0.250980]" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 61 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 2 Object { $ObjectID 62 Type "edit" Name "Variable_Contexto" Prompt "Variable de contexto 1" Value "context" } Object { $ObjectID 63 Type "edit" Name "Variable_Contexto1" Prompt "Variable de contexto 2" Value "context" } PropName "Parameters" } } System { Name "Contexto" Location [253, 368, 518, 743] 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 "Constant" SID "630" Position [25, 29, 140, 91] ZOrder -1 Value " Variable_Contexto" } Block { BlockType Constant Name "Constant1" SID "631" Position [30, 129, 145, 191] ZOrder -2 Value " Variable_Contexto1" } Block { BlockType Outport Name "Context Variable1" SID "632" Position [165, 53, 195, 67] ZOrder -3 IconDisplay "Port number" } Block { BlockType Outport Name "Context Variable 2" SID "633" Position [170, 153, 200, 167] ZOrder -4 Port "2" IconDisplay "Port number" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Context Variable1" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Context Variable 2" DstPort 1 } } } Block { BlockType Demux Name "Demux" SID "634" Ports [1, 2] Position [270, 32, 275, 143] ZOrder -2 BackgroundColor "black" ShowName off Outputs "2" DisplayOption "bar" } Block { BlockType SubSystem Name "Mossy1" SID "3294" Ports [1, 2] Position [380, 25, 530, 65] ZOrder -3 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 64 $ClassName "Simulink.Mask" Display "port_label('input',1,'MFs inputs')\nport_label('output',1,'MFs potential')\nport_label('output',2,'Firing" " MFs')\n" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 65 Type "edit" Name "R" Prompt "Valor R" Value "5" } Object { $ObjectID 66 Type "edit" Name "Taum" Prompt "Taum" Value "0.02" } Object { $ObjectID 67 Type "edit" Name "Um0" Prompt "Valor inicial de Um" Value "0" } Object { $ObjectID 68 Type "edit" Name "Uth" Prompt "Tensión Th" Value "1" } Object { $ObjectID 69 Type "edit" Name "Ureset" Prompt "Tensión Reset" Value "0" } Object { $ObjectID 70 Type "edit" Name "Trefrac" Prompt "Tiempo Refractario" Value "0" } Object { $ObjectID 71 Type "edit" Name "NumMFs" Prompt "Numero de MFs" Value "4" } PropName "Parameters" } } System { Name "Mossy1" Location [392, 68, 857, 809] 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 "In1" SID "3295" Position [25, 503, 55, 517] ZOrder -1 IconDisplay "Port number" } Block { BlockType SubSystem Name "Mossy" SID "3296" Ports [1, 2] Position [135, 490, 215, 530] ZOrder -2 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 72 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 73 Type "edit" Name "R" Prompt "Valor R" Value "R" } Object { $ObjectID 74 Type "edit" Name "Taum" Prompt "Taum" Value "Taum" } Object { $ObjectID 75 Type "edit" Name "Um0" Prompt "Valor inicial de Um" Value "Um0" } Object { $ObjectID 76 Type "edit" Name "Uth" Prompt "Tensión Th" Value "Uth" } Object { $ObjectID 77 Type "edit" Name "Ureset" Prompt "Tensión Reset" Value "Ureset" } Object { $ObjectID 78 Type "edit" Name "Trefract" Prompt "Tiempo refractario" Value "Trefrac" } Object { $ObjectID 79 Type "edit" Name "NumMFs" Prompt "CantidadMFs" Value "NumMFs" } PropName "Parameters" } } System { Name "Mossy" Location [14, 69, 1212, 878] 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 "I(t)" SID "3297" Position [105, 168, 135, 182] ZOrder -1 IconDisplay "Port number" } Block { BlockType MATLABFcn Name "1/Taum" SID "3298" Ports [1, 1] Position [130, 85, 190, 115] ZOrder -2 MATLABFcn "inv(u(1))" } Block { BlockType Constant Name "Constant" SID "3299" Position [25, 85, 75, 115] ZOrder -3 Value "Taum" } Block { BlockType Constant Name "Constant1" SID "3300" Position [40, 25, 70, 55] ZOrder -4 Value "R" } Block { BlockType Constant Name "Constant10" SID "3301" Position [585, 260, 615, 290] ZOrder -5 Value "0" } Block { BlockType Constant Name "Constant2" SID "3302" Position [355, 90, 385, 120] ZOrder -6 Value "Um0" } Block { BlockType Demux Name "Demux" SID "3303" Ports [1, 3] Position [420, 294, 425, 346] ZOrder -7 BlockMirror on BackgroundColor "black" NamePlacement "alternate" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Integrator Name "Integrator" SID "3304" Ports [3, 1, 0, 0, 1] Position [440, 57, 480, 113] ZOrder -8 ExternalReset "falling" InitialConditionSource "external" LimitOutput on UpperSaturationLimit "Uth" LowerSaturationLimit "Ureset" ShowStatePort on } Block { BlockType Product Name "Product" SID "3305" Ports [4, 1] Position [245, 54, 275, 86] ZOrder -9 Inputs "4" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" SID "3306" Ports [2, 1] Position [325, 171, 355, 204] ZOrder -10 BlockMirror on NamePlacement "alternate" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType RelationalOperator Name "Relational\nOperator" SID "3307" Ports [2, 1] Position [660, 252, 690, 283] ZOrder -11 Operator "==" InputSameDT off OutDataTypeStr "boolean" } Block { BlockType S-Function Name "S-Function" SID "3308" Ports [1, 1] Position [445, 300, 555, 340] ZOrder -12 BlockMirror on FunctionName "Thresh4refractarytime" Parameters "Uth,Ureset,Trefract" EnableBusSupport off } Block { BlockType Sum Name "Sum" SID "3309" Ports [2, 1] Position [295, 60, 315, 80] ZOrder -13 ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType ZeroOrderHold Name "Zero-Order\nHold" SID "3310" Position [460, 215, 495, 245] ZOrder -14 SampleTime "0.002" } Block { BlockType Outport Name "Um" SID "3311" Position [850, 78, 880, 92] ZOrder -15 IconDisplay "Port number" } Block { BlockType Outport Name "mossyfire" SID "3312" Position [850, 263, 880, 277] ZOrder -16 Port "2" IconDisplay "Port number" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "1/Taum" DstPort 1 } Line { SrcBlock "1/Taum" SrcPort 1 Points [15, 0] Branch { Points [0, 120; 160, 0] DstBlock "Product1" DstPort 2 } Branch { Points [0, -35] DstBlock "Product" DstPort 2 } } Line { SrcBlock "Constant1" SrcPort 1 Points [135, 0; 0, 15] DstBlock "Product" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [105, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Um" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 Points [-15, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "I(t)" SrcPort 1 Points [80, 0; 0, -100] DstBlock "Product" DstPort 3 } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 Points [-25, 0; 0, -140] DstBlock "Product1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 Points [-15, 0; 0, -75] Branch { Points [0, -145] DstBlock "Integrator" DstPort 2 } Branch { DstBlock "Zero-Order\nHold" DstPort 1 } } Line { SrcBlock "Constant10" SrcPort 1 DstBlock "Relational\nOperator" DstPort 2 } Line { SrcBlock "Relational\nOperator" SrcPort 1 DstBlock "mossyfire" DstPort 1 } Line { SrcBlock "Integrator" SrcPort state Points [0, -10; 110, 0] DstBlock "S-Function" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "Integrator" DstPort 3 } Line { SrcBlock "Demux" SrcPort 3 Points [-190, 0; 0, -250] DstBlock "Product" DstPort 4 } Line { SrcBlock "Zero-Order\nHold" SrcPort 1 Points [145, 0] DstBlock "Relational\nOperator" DstPort 1 } } } Block { BlockType Outport Name "Out1" SID "3313" Position [305, 488, 335, 502] ZOrder -3 IconDisplay "Port number" } Block { BlockType Outport Name "Out2" SID "3314" Position [305, 518, 335, 532] ZOrder -4 Port "2" IconDisplay "Port number" } Line { SrcBlock "In1" SrcPort 1 DstBlock "Mossy" DstPort 1 } Line { SrcBlock "Mossy" SrcPort 1 Points [70, 0] DstBlock "Out1" DstPort 1 } Line { SrcBlock "Mossy" SrcPort 2 Points [70, 0] DstBlock "Out2" DstPort 1 } } } Block { BlockType SubSystem Name "Mossy7" SID "660" Ports [1, 2] Position [370, 150, 520, 190] ZOrder -4 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 80 $ClassName "Simulink.Mask" Display "port_label('input',1,'MFs inputs')\nport_label('output',1,'MFs potential')\nport_label('output',2,'Firing" " MFs')\n" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 81 Type "edit" Name "R" Prompt "Valor R" Value "5" } Object { $ObjectID 82 Type "edit" Name "Taum" Prompt "Taum" Value "0.02" } Object { $ObjectID 83 Type "edit" Name "Um0" Prompt "Valor inicial de Um" Value "0" } Object { $ObjectID 84 Type "edit" Name "Uth" Prompt "Tensión Th" Value "1" } Object { $ObjectID 85 Type "edit" Name "Ureset" Prompt "Tensión Reset" Value "0" } Object { $ObjectID 86 Type "edit" Name "Trefrac" Prompt "Tiempo Refractario" Value "0" } Object { $ObjectID 87 Type "edit" Name "NumMFs" Prompt "Numero de MFs" Value "4" } PropName "Parameters" } } System { Name "Mossy7" Location [392, 68, 857, 809] 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 "In1" SID "661" Position [25, 503, 55, 517] ZOrder -1 IconDisplay "Port number" } Block { BlockType SubSystem Name "Mossy" SID "662" Ports [1, 2] Position [135, 490, 215, 530] ZOrder -2 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 88 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 89 Type "edit" Name "R" Prompt "Valor R" Value "R" } Object { $ObjectID 90 Type "edit" Name "Taum" Prompt "Taum" Value "Taum" } Object { $ObjectID 91 Type "edit" Name "Um0" Prompt "Valor inicial de Um" Value "Um0" } Object { $ObjectID 92 Type "edit" Name "Uth" Prompt "Tensión Th" Value "Uth" } Object { $ObjectID 93 Type "edit" Name "Ureset" Prompt "Tensión Reset" Value "Ureset" } Object { $ObjectID 94 Type "edit" Name "Trefract" Prompt "Tiempo refractario" Value "Trefrac" } Object { $ObjectID 95 Type "edit" Name "NumMFs" Prompt "CantidadMFs" Value "NumMFs" } PropName "Parameters" } } System { Name "Mossy" Location [14, 69, 1212, 878] 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 "I(t)" SID "663" Position [105, 168, 135, 182] ZOrder -1 IconDisplay "Port number" } Block { BlockType MATLABFcn Name "1/Taum" SID "664" Ports [1, 1] Position [130, 85, 190, 115] ZOrder -2 MATLABFcn "inv(u(1))" } Block { BlockType Constant Name "Constant" SID "665" Position [25, 85, 75, 115] ZOrder -3 Value "Taum" } Block { BlockType Constant Name "Constant1" SID "666" Position [40, 25, 70, 55] ZOrder -4 Value "R" } Block { BlockType Constant Name "Constant10" SID "667" Position [585, 260, 615, 290] ZOrder -5 Value "0" } Block { BlockType Constant Name "Constant2" SID "668" Position [355, 90, 385, 120] ZOrder -6 Value "Um0" } Block { BlockType Demux Name "Demux" SID "669" Ports [1, 3] Position [420, 294, 425, 346] ZOrder -7 BlockMirror on BackgroundColor "black" NamePlacement "alternate" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Integrator Name "Integrator" SID "670" Ports [3, 1, 0, 0, 1] Position [440, 57, 480, 113] ZOrder -8 ExternalReset "falling" InitialConditionSource "external" LimitOutput on UpperSaturationLimit "Uth" LowerSaturationLimit "Ureset" ShowStatePort on } Block { BlockType Product Name "Product" SID "671" Ports [4, 1] Position [245, 54, 275, 86] ZOrder -9 Inputs "4" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" SID "672" Ports [2, 1] Position [325, 171, 355, 204] ZOrder -10 BlockMirror on NamePlacement "alternate" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType RelationalOperator Name "Relational\nOperator" SID "673" Ports [2, 1] Position [660, 252, 690, 283] ZOrder -11 Operator "==" InputSameDT off OutDataTypeStr "boolean" } Block { BlockType S-Function Name "S-Function1" SID "3315" Ports [1, 1] Position [445, 300, 555, 340] ZOrder -12 BlockMirror on FunctionName "Thresh4refractarytime" Parameters "Uth,Ureset,Trefract" EnableBusSupport off } Block { BlockType Sum Name "Sum" SID "675" Ports [2, 1] Position [295, 60, 315, 80] ZOrder -13 ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType ZeroOrderHold Name "Zero-Order\nHold" SID "676" Position [460, 215, 495, 245] ZOrder -14 SampleTime "0.002" } Block { BlockType Outport Name "Um" SID "677" Position [850, 78, 880, 92] ZOrder -15 IconDisplay "Port number" } Block { BlockType Outport Name "mossyfire" SID "678" Position [850, 263, 880, 277] ZOrder -16 Port "2" IconDisplay "Port number" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "1/Taum" DstPort 1 } Line { SrcBlock "1/Taum" SrcPort 1 Points [15, 0] Branch { Points [0, 120; 160, 0] DstBlock "Product1" DstPort 2 } Branch { Points [0, -35] DstBlock "Product" DstPort 2 } } Line { SrcBlock "Constant1" SrcPort 1 Points [135, 0; 0, 15] DstBlock "Product" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [105, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Um" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 Points [-15, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "I(t)" SrcPort 1 Points [80, 0; 0, -100] DstBlock "Product" DstPort 3 } Line { SrcBlock "S-Function1" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 Points [-25, 0; 0, -140] DstBlock "Product1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 Points [-15, 0; 0, -75] Branch { Points [0, -145] DstBlock "Integrator" DstPort 2 } Branch { DstBlock "Zero-Order\nHold" DstPort 1 } } Line { SrcBlock "Constant10" SrcPort 1 DstBlock "Relational\nOperator" DstPort 2 } Line { SrcBlock "Relational\nOperator" SrcPort 1 DstBlock "mossyfire" DstPort 1 } Line { SrcBlock "Integrator" SrcPort state Points [0, -10; 110, 0] DstBlock "S-Function1" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "Integrator" DstPort 3 } Line { SrcBlock "Demux" SrcPort 3 Points [-190, 0; 0, -250] DstBlock "Product" DstPort 4 } Line { SrcBlock "Zero-Order\nHold" SrcPort 1 Points [145, 0] DstBlock "Relational\nOperator" DstPort 1 } } } Block { BlockType Outport Name "Out1" SID "679" Position [305, 488, 335, 502] ZOrder -3 IconDisplay "Port number" } Block { BlockType Outport Name "Out2" SID "680" Position [305, 518, 335, 532] ZOrder -4 Port "2" IconDisplay "Port number" } Line { SrcBlock "In1" SrcPort 1 DstBlock "Mossy" DstPort 1 } Line { SrcBlock "Mossy" SrcPort 1 Points [70, 0] DstBlock "Out1" DstPort 1 } Line { SrcBlock "Mossy" SrcPort 2 Points [70, 0] DstBlock "Out2" DstPort 1 } } } Block { BlockType Mux Name "Mux" SID "635" Ports [4, 1] Position [330, 25, 335, 65] ZOrder -5 ShowName off DisplayOption "bar" } Block { BlockType Mux Name "Mux1" SID "636" Ports [4, 1] Position [340, 150, 345, 190] ZOrder -6 ShowName off DisplayOption "bar" } Block { BlockType S-Function Name "RBFdesired2" SID "637" Ports [1, 1] Position [135, 71, 240, 109] ZOrder -7 FunctionName "fRBFdesiredcontex1optimal" Parameters "PasoGradocontext1,numRBFs,sigmacontext1,limitinfcontext1,limitsupcontext1,maxforcecontext1" EnableBusSupport off Object { $PropName "MaskObject" $ObjectID 96 $ClassName "Simulink.Mask" Description " Se ha de tener en consideración cual es la magnitud del error con el que se va a trabajar, de manera " "que, los límites inferior y superior así como el paso de muestreo estén en consonancia con dicha magnitud" Array { Type "Simulink.MaskParameter" Dimension 6 Object { $ObjectID 97 Type "edit" Name "PasoGradocontext1" Prompt "Paso de Grado" Value "0.1" } Object { $ObjectID 98 Type "edit" Name "numRBFs" Prompt "Número de RBFs" Value "2" } Object { $ObjectID 99 Type "edit" Name "sigmacontext1" Prompt "sigma" Value "3" } Object { $ObjectID 100 Type "edit" Name "limitinfcontext1" Prompt "limite inferior" Value "0" } Object { $ObjectID 101 Type "edit" Name "limitsupcontext1" Prompt "limit superior" Value "10" } Object { $ObjectID 102 Type "edit" Name "maxforcecontext1" Prompt "Fuerza máxima aplicable" Value "10" } PropName "Parameters" } } } Block { BlockType Terminator Name "Terminator" SID "638" Position [135, 130, 155, 150] ZOrder -8 } Block { BlockType Outport Name "MFcurrentc1" SID "697" Position [545, 28, 575, 42] ZOrder -9 IconDisplay "Port number" } Block { BlockType Outport Name "TimingContext1" SID "698" Position [545, 48, 575, 62] ZOrder -10 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "MFcurrentc2" SID "699" Position [545, 153, 575, 167] ZOrder -11 Port "3" IconDisplay "Port number" } Block { BlockType Outport Name "TimingContext2" SID "700" Position [545, 173, 575, 187] ZOrder -12 Port "4" IconDisplay "Port number" } Line { SrcBlock "Contexto" SrcPort 1 DstBlock "RBFdesired2" DstPort 1 } Line { SrcBlock "Contexto" SrcPort 2 Points [0, 20] DstBlock "Terminator" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 Points [20, 0; 0, -5] Branch { Points [0, -5] Branch { Points [0, -10] Branch { Points [0, -10] DstBlock "Mux" DstPort 1 } Branch { DstBlock "Mux" DstPort 2 } } Branch { DstBlock "Mux" DstPort 3 } } Branch { Points [0, 5] DstBlock "Mux" DstPort 4 } } Line { SrcBlock "Demux" SrcPort 2 Points [30, 0; 0, 40] Branch { DstBlock "Mux1" DstPort 1 } Branch { Points [0, 10] Branch { DstBlock "Mux1" DstPort 2 } Branch { Points [0, 10] Branch { DstBlock "Mux1" DstPort 3 } Branch { Points [0, 10] DstBlock "Mux1" DstPort 4 } } } } Line { SrcBlock "RBFdesired2" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Mossy1" SrcPort 1 DstBlock "MFcurrentc1" DstPort 1 } Line { SrcBlock "Mossy1" SrcPort 2 DstBlock "TimingContext1" DstPort 1 } Line { SrcBlock "Mossy7" SrcPort 1 DstBlock "MFcurrentc2" DstPort 1 } Line { SrcBlock "Mossy7" SrcPort 2 DstBlock "TimingContext2" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Mossy1" DstPort 1 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "Mossy7" DstPort 1 } } } Block { BlockType SubSystem Name "MossyInputsSubsystem" SID "681" Ports [2, 12] Position [90, 362, 240, 518] ZOrder -17 BackgroundColor "orange" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "MossyInputsSubsystem" Location [219, 131, 817, 856] 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 "Desired Position" SID "688" Position [25, 125, 40, 155] ZOrder -1 NamePlacement "alternate" IconDisplay "Port number" } Block { BlockType Inport Name "Desired Velocities" SID "695" Position [30, 413, 60, 427] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType SubSystem Name "Mossy" SID "2" Ports [1, 2] Position [330, 25, 480, 65] ZOrder -3 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 103 $ClassName "Simulink.Mask" Display "port_label('input',1,'MFs inputs')\nport_label('output',1,'MFs potential')\nport_label('output',2,'Firing" " MFs')\n" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 104 Type "edit" Name "R" Prompt "Valor R" Value "5" } Object { $ObjectID 105 Type "edit" Name "Taum" Prompt "Taum" Value "0.02" } Object { $ObjectID 106 Type "edit" Name "Um0" Prompt "Valor inicial de Um" Value "0" } Object { $ObjectID 107 Type "edit" Name "Uth" Prompt "Tensión Th" Value "1" } Object { $ObjectID 108 Type "edit" Name "Ureset" Prompt "Tensión Reset" Value "0" } Object { $ObjectID 109 Type "edit" Name "Trefrac" Prompt "Tiempo Refractario" Value "0" } Object { $ObjectID 110 Type "edit" Name "NumMFs" Prompt "Numero de MFs" Value "20" } PropName "Parameters" } } System { Name "Mossy" Location [392, 68, 857, 809] 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 "In1" SID "3" Position [25, 503, 55, 517] ZOrder -1 IconDisplay "Port number" } Block { BlockType SubSystem Name "Mossy" SID "4" Ports [1, 2] Position [135, 490, 215, 530] ZOrder -2 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 111 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 112 Type "edit" Name "R" Prompt "Valor R" Value "R" } Object { $ObjectID 113 Type "edit" Name "Taum" Prompt "Taum" Value "Taum" } Object { $ObjectID 114 Type "edit" Name "Um0" Prompt "Valor inicial de Um" Value "Um0" } Object { $ObjectID 115 Type "edit" Name "Uth" Prompt "Tensión Th" Value "Uth" } Object { $ObjectID 116 Type "edit" Name "Ureset" Prompt "Tensión Reset" Value "Ureset" } Object { $ObjectID 117 Type "edit" Name "Trefract" Prompt "Tiempo refractario" Value "Trefrac" } Object { $ObjectID 118 Type "edit" Name "NumMFs" Prompt "CantidadMFs" Value "NumMFs" } PropName "Parameters" } } System { Name "Mossy" Location [14, 69, 1212, 878] 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 "I(t)" SID "5" Position [105, 168, 135, 182] ZOrder -1 IconDisplay "Port number" } Block { BlockType MATLABFcn Name "1/Taum" SID "6" Ports [1, 1] Position [130, 85, 190, 115] ZOrder -2 MATLABFcn "inv(u(1))" } Block { BlockType Constant Name "Constant" SID "7" Position [25, 85, 75, 115] ZOrder -3 Value "Taum" } Block { BlockType Constant Name "Constant1" SID "8" Position [40, 25, 70, 55] ZOrder -4 Value "R" } Block { BlockType Constant Name "Constant10" SID "9" Position [585, 260, 615, 290] ZOrder -5 Value "0" } Block { BlockType Constant Name "Constant2" SID "10" Position [355, 90, 385, 120] ZOrder -6 Value "Um0" } Block { BlockType Demux Name "Demux" SID "11" Ports [1, 3] Position [420, 294, 425, 346] ZOrder -7 BlockMirror on BackgroundColor "black" NamePlacement "alternate" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Integrator Name "Integrator" SID "13" Ports [3, 1, 0, 0, 1] Position [440, 57, 480, 113] ZOrder -8 ExternalReset "falling" InitialConditionSource "external" LimitOutput on UpperSaturationLimit "Uth" LowerSaturationLimit "Ureset" ShowStatePort on } Block { BlockType Product Name "Product" SID "14" Ports [4, 1] Position [245, 54, 275, 86] ZOrder -9 Inputs "4" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" SID "15" Ports [2, 1] Position [325, 171, 355, 204] ZOrder -10 BlockMirror on NamePlacement "alternate" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType RelationalOperator Name "Relational\nOperator" SID "16" Ports [2, 1] Position [660, 252, 690, 283] ZOrder -11 Operator "==" InputSameDT off OutDataTypeStr "boolean" } Block { BlockType S-Function Name "S-Function" SID "17" Ports [1, 1] Position [445, 300, 555, 340] ZOrder -12 BlockMirror on FunctionName "ThreshMFsrefractarytime" Parameters "Uth,Ureset,Trefract,NumMFs" EnableBusSupport off } Block { BlockType Sum Name "Sum" SID "18" Ports [2, 1] Position [295, 60, 315, 80] ZOrder -13 ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType ZeroOrderHold Name "Zero-Order\nHold" SID "329" Position [460, 215, 495, 245] ZOrder -14 SampleTime "0.002" } Block { BlockType Outport Name "Um" SID "164" Position [850, 78, 880, 92] ZOrder -15 IconDisplay "Port number" } Block { BlockType Outport Name "mossyfire" SID "165" Position [850, 263, 880, 277] ZOrder -16 Port "2" IconDisplay "Port number" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "1/Taum" DstPort 1 } Line { SrcBlock "1/Taum" SrcPort 1 Points [15, 0] Branch { Points [0, 120; 160, 0] DstBlock "Product1" DstPort 2 } Branch { Points [0, -35] DstBlock "Product" DstPort 2 } } Line { SrcBlock "Constant1" SrcPort 1 Points [135, 0; 0, 15] DstBlock "Product" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [105, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Um" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 Points [-15, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "I(t)" SrcPort 1 Points [80, 0; 0, -100] DstBlock "Product" DstPort 3 } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 Points [-25, 0; 0, -140] DstBlock "Product1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 Points [-15, 0; 0, -75] Branch { Points [0, -145] DstBlock "Integrator" DstPort 2 } Branch { DstBlock "Zero-Order\nHold" DstPort 1 } } Line { SrcBlock "Constant10" SrcPort 1 DstBlock "Relational\nOperator" DstPort 2 } Line { SrcBlock "Relational\nOperator" SrcPort 1 DstBlock "mossyfire" DstPort 1 } Line { SrcBlock "Integrator" SrcPort state Points [0, -10; 110, 0] DstBlock "S-Function" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "Integrator" DstPort 3 } Line { SrcBlock "Demux" SrcPort 3 Points [-190, 0; 0, -250] DstBlock "Product" DstPort 4 } Line { SrcBlock "Zero-Order\nHold" SrcPort 1 Points [145, 0] DstBlock "Relational\nOperator" DstPort 1 } } } Block { BlockType Outport Name "Out1" SID "167" Position [305, 488, 335, 502] ZOrder -3 IconDisplay "Port number" } Block { BlockType Outport Name "Out2" SID "168" Position [305, 518, 335, 532] ZOrder -4 Port "2" IconDisplay "Port number" } Line { SrcBlock "In1" SrcPort 1 DstBlock "Mossy" DstPort 1 } Line { SrcBlock "Mossy" SrcPort 1 Points [70, 0] DstBlock "Out1" DstPort 1 } Line { SrcBlock "Mossy" SrcPort 2 Points [70, 0] DstBlock "Out2" DstPort 1 } } } Block { BlockType SubSystem Name "Mossy1" SID "377" Ports [1, 2] Position [330, 90, 480, 130] ZOrder -4 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 119 $ClassName "Simulink.Mask" Display "port_label('input',1,'MFs inputs')\nport_label('output',1,'MFs potential')\nport_label('output',2,'Firing" " MFs')\n" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 120 Type "edit" Name "R" Prompt "Valor R" Value "5" } Object { $ObjectID 121 Type "edit" Name "Taum" Prompt "Taum" Value "0.02" } Object { $ObjectID 122 Type "edit" Name "Um0" Prompt "Valor inicial de Um" Value "0" } Object { $ObjectID 123 Type "edit" Name "Uth" Prompt "Tensión Th" Value "1" } Object { $ObjectID 124 Type "edit" Name "Ureset" Prompt "Tensión Reset" Value "0" } Object { $ObjectID 125 Type "edit" Name "Trefrac" Prompt "Tiempo Refractario" Value "0" } Object { $ObjectID 126 Type "edit" Name "NumMFs" Prompt "Numero de MFs" Value "20" } PropName "Parameters" } } System { Name "Mossy1" Location [392, 68, 857, 809] 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 "In1" SID "378" Position [25, 503, 55, 517] ZOrder -1 IconDisplay "Port number" } Block { BlockType SubSystem Name "Mossy" SID "379" Ports [1, 2] Position [135, 490, 215, 530] ZOrder -2 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 127 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 128 Type "edit" Name "R" Prompt "Valor R" Value "R" } Object { $ObjectID 129 Type "edit" Name "Taum" Prompt "Taum" Value "Taum" } Object { $ObjectID 130 Type "edit" Name "Um0" Prompt "Valor inicial de Um" Value "Um0" } Object { $ObjectID 131 Type "edit" Name "Uth" Prompt "Tensión Th" Value "Uth" } Object { $ObjectID 132 Type "edit" Name "Ureset" Prompt "Tensión Reset" Value "Ureset" } Object { $ObjectID 133 Type "edit" Name "Trefract" Prompt "Tiempo refractario" Value "Trefrac" } Object { $ObjectID 134 Type "edit" Name "NumMFs" Prompt "CantidadMFs" Value "NumMFs" } PropName "Parameters" } } System { Name "Mossy" Location [14, 69, 1212, 878] 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 "I(t)" SID "380" Position [105, 168, 135, 182] ZOrder -1 IconDisplay "Port number" } Block { BlockType MATLABFcn Name "1/Taum" SID "381" Ports [1, 1] Position [130, 85, 190, 115] ZOrder -2 MATLABFcn "inv(u(1))" } Block { BlockType Constant Name "Constant" SID "382" Position [25, 85, 75, 115] ZOrder -3 Value "Taum" } Block { BlockType Constant Name "Constant1" SID "383" Position [40, 25, 70, 55] ZOrder -4 Value "R" } Block { BlockType Constant Name "Constant10" SID "384" Position [585, 260, 615, 290] ZOrder -5 Value "0" } Block { BlockType Constant Name "Constant2" SID "385" Position [355, 90, 385, 120] ZOrder -6 Value "Um0" } Block { BlockType Demux Name "Demux" SID "386" Ports [1, 3] Position [420, 294, 425, 346] ZOrder -7 BlockMirror on BackgroundColor "black" NamePlacement "alternate" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Integrator Name "Integrator" SID "387" Ports [3, 1, 0, 0, 1] Position [440, 57, 480, 113] ZOrder -8 ExternalReset "falling" InitialConditionSource "external" LimitOutput on UpperSaturationLimit "Uth" LowerSaturationLimit "Ureset" ShowStatePort on } Block { BlockType Product Name "Product" SID "388" Ports [4, 1] Position [245, 54, 275, 86] ZOrder -9 Inputs "4" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" SID "389" Ports [2, 1] Position [325, 171, 355, 204] ZOrder -10 BlockMirror on NamePlacement "alternate" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType RelationalOperator Name "Relational\nOperator" SID "390" Ports [2, 1] Position [660, 252, 690, 283] ZOrder -11 Operator "==" InputSameDT off OutDataTypeStr "boolean" } Block { BlockType S-Function Name "S-Function" SID "391" Ports [1, 1] Position [445, 300, 555, 340] ZOrder -12 BlockMirror on FunctionName "ThreshMFsrefractarytime" Parameters "Uth,Ureset,Trefract,NumMFs" EnableBusSupport off } Block { BlockType Sum Name "Sum" SID "392" Ports [2, 1] Position [295, 60, 315, 80] ZOrder -13 ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType ZeroOrderHold Name "Zero-Order\nHold" SID "393" Position [460, 215, 495, 245] ZOrder -14 SampleTime "0.002" } Block { BlockType Outport Name "Um" SID "394" Position [850, 78, 880, 92] ZOrder -15 IconDisplay "Port number" } Block { BlockType Outport Name "mossyfire" SID "395" Position [850, 263, 880, 277] ZOrder -16 Port "2" IconDisplay "Port number" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "1/Taum" DstPort 1 } Line { SrcBlock "1/Taum" SrcPort 1 Points [15, 0] Branch { Points [0, 120; 160, 0] DstBlock "Product1" DstPort 2 } Branch { Points [0, -35] DstBlock "Product" DstPort 2 } } Line { SrcBlock "Constant1" SrcPort 1 Points [135, 0; 0, 15] DstBlock "Product" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [105, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Um" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 Points [-15, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "I(t)" SrcPort 1 Points [80, 0; 0, -100] DstBlock "Product" DstPort 3 } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 Points [-25, 0; 0, -140] DstBlock "Product1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 Points [-15, 0; 0, -75] Branch { Points [0, -145] DstBlock "Integrator" DstPort 2 } Branch { DstBlock "Zero-Order\nHold" DstPort 1 } } Line { SrcBlock "Constant10" SrcPort 1 DstBlock "Relational\nOperator" DstPort 2 } Line { SrcBlock "Relational\nOperator" SrcPort 1 DstBlock "mossyfire" DstPort 1 } Line { SrcBlock "Integrator" SrcPort state Points [0, -10; 110, 0] DstBlock "S-Function" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "Integrator" DstPort 3 } Line { SrcBlock "Demux" SrcPort 3 Points [-190, 0; 0, -250] DstBlock "Product" DstPort 4 } Line { SrcBlock "Zero-Order\nHold" SrcPort 1 Points [145, 0] DstBlock "Relational\nOperator" DstPort 1 } } } Block { BlockType Outport Name "Out1" SID "396" Position [305, 488, 335, 502] ZOrder -3 IconDisplay "Port number" } Block { BlockType Outport Name "Out2" SID "397" Position [305, 518, 335, 532] ZOrder -4 Port "2" IconDisplay "Port number" } Line { SrcBlock "In1" SrcPort 1 DstBlock "Mossy" DstPort 1 } Line { SrcBlock "Mossy" SrcPort 1 Points [70, 0] DstBlock "Out1" DstPort 1 } Line { SrcBlock "Mossy" SrcPort 2 Points [70, 0] DstBlock "Out2" DstPort 1 } } } Block { BlockType SubSystem Name "Mossy2" SID "398" Ports [1, 2] Position [330, 155, 480, 195] ZOrder -5 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 135 $ClassName "Simulink.Mask" Display "port_label('input',1,'MFs inputs')\nport_label('output',1,'MFs potential')\nport_label('output',2,'Firing" " MFs')\n" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 136 Type "edit" Name "R" Prompt "Valor R" Value "5" } Object { $ObjectID 137 Type "edit" Name "Taum" Prompt "Taum" Value "0.02" } Object { $ObjectID 138 Type "edit" Name "Um0" Prompt "Valor inicial de Um" Value "0" } Object { $ObjectID 139 Type "edit" Name "Uth" Prompt "Tensión Th" Value "1" } Object { $ObjectID 140 Type "edit" Name "Ureset" Prompt "Tensión Reset" Value "0" } Object { $ObjectID 141 Type "edit" Name "Trefrac" Prompt "Tiempo Refractario" Value "0" } Object { $ObjectID 142 Type "edit" Name "NumMFs" Prompt "Numero de MFs" Value "20" } PropName "Parameters" } } System { Name "Mossy2" Location [392, 68, 857, 809] 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 "In1" SID "399" Position [25, 503, 55, 517] ZOrder -1 IconDisplay "Port number" } Block { BlockType SubSystem Name "Mossy" SID "400" Ports [1, 2] Position [135, 490, 215, 530] ZOrder -2 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 143 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 144 Type "edit" Name "R" Prompt "Valor R" Value "R" } Object { $ObjectID 145 Type "edit" Name "Taum" Prompt "Taum" Value "Taum" } Object { $ObjectID 146 Type "edit" Name "Um0" Prompt "Valor inicial de Um" Value "Um0" } Object { $ObjectID 147 Type "edit" Name "Uth" Prompt "Tensión Th" Value "Uth" } Object { $ObjectID 148 Type "edit" Name "Ureset" Prompt "Tensión Reset" Value "Ureset" } Object { $ObjectID 149 Type "edit" Name "Trefract" Prompt "Tiempo refractario" Value "Trefrac" } Object { $ObjectID 150 Type "edit" Name "NumMFs" Prompt "CantidadMFs" Value "NumMFs" } PropName "Parameters" } } System { Name "Mossy" Location [14, 69, 1212, 878] 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 "I(t)" SID "401" Position [105, 168, 135, 182] ZOrder -1 IconDisplay "Port number" } Block { BlockType MATLABFcn Name "1/Taum" SID "402" Ports [1, 1] Position [130, 85, 190, 115] ZOrder -2 MATLABFcn "inv(u(1))" } Block { BlockType Constant Name "Constant" SID "403" Position [25, 85, 75, 115] ZOrder -3 Value "Taum" } Block { BlockType Constant Name "Constant1" SID "404" Position [40, 25, 70, 55] ZOrder -4 Value "R" } Block { BlockType Constant Name "Constant10" SID "405" Position [585, 260, 615, 290] ZOrder -5 Value "0" } Block { BlockType Constant Name "Constant2" SID "406" Position [355, 90, 385, 120] ZOrder -6 Value "Um0" } Block { BlockType Demux Name "Demux" SID "407" Ports [1, 3] Position [420, 294, 425, 346] ZOrder -7 BlockMirror on BackgroundColor "black" NamePlacement "alternate" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Integrator Name "Integrator" SID "408" Ports [3, 1, 0, 0, 1] Position [440, 57, 480, 113] ZOrder -8 ExternalReset "falling" InitialConditionSource "external" LimitOutput on UpperSaturationLimit "Uth" LowerSaturationLimit "Ureset" ShowStatePort on } Block { BlockType Product Name "Product" SID "409" Ports [4, 1] Position [245, 54, 275, 86] ZOrder -9 Inputs "4" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" SID "410" Ports [2, 1] Position [325, 171, 355, 204] ZOrder -10 BlockMirror on NamePlacement "alternate" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType RelationalOperator Name "Relational\nOperator" SID "411" Ports [2, 1] Position [660, 252, 690, 283] ZOrder -11 Operator "==" InputSameDT off OutDataTypeStr "boolean" } Block { BlockType S-Function Name "S-Function" SID "412" Ports [1, 1] Position [445, 300, 555, 340] ZOrder -12 BlockMirror on FunctionName "ThreshMFsrefractarytime" Parameters "Uth,Ureset,Trefract,NumMFs" EnableBusSupport off } Block { BlockType Sum Name "Sum" SID "413" Ports [2, 1] Position [295, 60, 315, 80] ZOrder -13 ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType ZeroOrderHold Name "Zero-Order\nHold" SID "414" Position [460, 215, 495, 245] ZOrder -14 SampleTime "0.002" } Block { BlockType Outport Name "Um" SID "415" Position [850, 78, 880, 92] ZOrder -15 IconDisplay "Port number" } Block { BlockType Outport Name "mossyfire" SID "416" Position [850, 263, 880, 277] ZOrder -16 Port "2" IconDisplay "Port number" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "1/Taum" DstPort 1 } Line { SrcBlock "1/Taum" SrcPort 1 Points [15, 0] Branch { Points [0, 120; 160, 0] DstBlock "Product1" DstPort 2 } Branch { Points [0, -35] DstBlock "Product" DstPort 2 } } Line { SrcBlock "Constant1" SrcPort 1 Points [135, 0; 0, 15] DstBlock "Product" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [105, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Um" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 Points [-15, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "I(t)" SrcPort 1 Points [80, 0; 0, -100] DstBlock "Product" DstPort 3 } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 Points [-25, 0; 0, -140] DstBlock "Product1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 Points [-15, 0; 0, -75] Branch { Points [0, -145] DstBlock "Integrator" DstPort 2 } Branch { DstBlock "Zero-Order\nHold" DstPort 1 } } Line { SrcBlock "Constant10" SrcPort 1 DstBlock "Relational\nOperator" DstPort 2 } Line { SrcBlock "Relational\nOperator" SrcPort 1 DstBlock "mossyfire" DstPort 1 } Line { SrcBlock "Integrator" SrcPort state Points [0, -10; 110, 0] DstBlock "S-Function" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "Integrator" DstPort 3 } Line { SrcBlock "Demux" SrcPort 3 Points [-190, 0; 0, -250] DstBlock "Product" DstPort 4 } Line { SrcBlock "Zero-Order\nHold" SrcPort 1 Points [145, 0] DstBlock "Relational\nOperator" DstPort 1 } } } Block { BlockType Outport Name "Out1" SID "417" Position [305, 488, 335, 502] ZOrder -3 IconDisplay "Port number" } Block { BlockType Outport Name "Out2" SID "418" Position [305, 518, 335, 532] ZOrder -4 Port "2" IconDisplay "Port number" } Line { SrcBlock "In1" SrcPort 1 DstBlock "Mossy" DstPort 1 } Line { SrcBlock "Mossy" SrcPort 1 Points [70, 0] DstBlock "Out1" DstPort 1 } Line { SrcBlock "Mossy" SrcPort 2 Points [70, 0] DstBlock "Out2" DstPort 1 } } } Block { BlockType SubSystem Name "Mossy3" SID "450" Ports [1, 2] Position [345, 275, 495, 315] ZOrder -6 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 151 $ClassName "Simulink.Mask" Display "port_label('input',1,'MFs inputs')\nport_label('output',1,'MFs potential')\nport_label('output',2,'Firing" " MFs')\n" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 152 Type "edit" Name "R" Prompt "Valor R" Value "5" } Object { $ObjectID 153 Type "edit" Name "Taum" Prompt "Taum" Value "0.02" } Object { $ObjectID 154 Type "edit" Name "Um0" Prompt "Valor inicial de Um" Value "0" } Object { $ObjectID 155 Type "edit" Name "Uth" Prompt "Tensión Th" Value "1" } Object { $ObjectID 156 Type "edit" Name "Ureset" Prompt "Tensión Reset" Value "0" } Object { $ObjectID 157 Type "edit" Name "Trefrac" Prompt "Tiempo Refractario" Value "0" } Object { $ObjectID 158 Type "edit" Name "NumMFs" Prompt "Numero de MFs" Value "20" } PropName "Parameters" } } System { Name "Mossy3" Location [392, 68, 857, 809] 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 "In1" SID "451" Position [25, 503, 55, 517] ZOrder -1 IconDisplay "Port number" } Block { BlockType SubSystem Name "Mossy" SID "452" Ports [1, 2] Position [135, 490, 215, 530] ZOrder -2 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 159 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 160 Type "edit" Name "R" Prompt "Valor R" Value "R" } Object { $ObjectID 161 Type "edit" Name "Taum" Prompt "Taum" Value "Taum" } Object { $ObjectID 162 Type "edit" Name "Um0" Prompt "Valor inicial de Um" Value "Um0" } Object { $ObjectID 163 Type "edit" Name "Uth" Prompt "Tensión Th" Value "Uth" } Object { $ObjectID 164 Type "edit" Name "Ureset" Prompt "Tensión Reset" Value "Ureset" } Object { $ObjectID 165 Type "edit" Name "Trefract" Prompt "Tiempo refractario" Value "Trefrac" } Object { $ObjectID 166 Type "edit" Name "NumMFs" Prompt "CantidadMFs" Value "NumMFs" } PropName "Parameters" } } System { Name "Mossy" Location [14, 69, 1212, 878] 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 "I(t)" SID "453" Position [105, 168, 135, 182] ZOrder -1 IconDisplay "Port number" } Block { BlockType MATLABFcn Name "1/Taum" SID "454" Ports [1, 1] Position [130, 85, 190, 115] ZOrder -2 MATLABFcn "inv(u(1))" } Block { BlockType Constant Name "Constant" SID "455" Position [25, 85, 75, 115] ZOrder -3 Value "Taum" } Block { BlockType Constant Name "Constant1" SID "456" Position [40, 25, 70, 55] ZOrder -4 Value "R" } Block { BlockType Constant Name "Constant10" SID "457" Position [585, 260, 615, 290] ZOrder -5 Value "0" } Block { BlockType Constant Name "Constant2" SID "458" Position [355, 90, 385, 120] ZOrder -6 Value "Um0" } Block { BlockType Demux Name "Demux" SID "459" Ports [1, 3] Position [420, 294, 425, 346] ZOrder -7 BlockMirror on BackgroundColor "black" NamePlacement "alternate" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Integrator Name "Integrator" SID "460" Ports [3, 1, 0, 0, 1] Position [440, 57, 480, 113] ZOrder -8 ExternalReset "falling" InitialConditionSource "external" LimitOutput on UpperSaturationLimit "Uth" LowerSaturationLimit "Ureset" ShowStatePort on } Block { BlockType Product Name "Product" SID "461" Ports [4, 1] Position [245, 54, 275, 86] ZOrder -9 Inputs "4" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" SID "462" Ports [2, 1] Position [325, 171, 355, 204] ZOrder -10 BlockMirror on NamePlacement "alternate" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType RelationalOperator Name "Relational\nOperator" SID "463" Ports [2, 1] Position [660, 252, 690, 283] ZOrder -11 Operator "==" InputSameDT off OutDataTypeStr "boolean" } Block { BlockType S-Function Name "S-Function" SID "464" Ports [1, 1] Position [445, 300, 555, 340] ZOrder -12 BlockMirror on FunctionName "ThreshMFsrefractarytime" Parameters "Uth,Ureset,Trefract,NumMFs" EnableBusSupport off } Block { BlockType Sum Name "Sum" SID "465" Ports [2, 1] Position [295, 60, 315, 80] ZOrder -13 ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType ZeroOrderHold Name "Zero-Order\nHold" SID "466" Position [460, 215, 495, 245] ZOrder -14 SampleTime "0.002" } Block { BlockType Outport Name "Um" SID "467" Position [850, 78, 880, 92] ZOrder -15 IconDisplay "Port number" } Block { BlockType Outport Name "mossyfire" SID "468" Position [850, 263, 880, 277] ZOrder -16 Port "2" IconDisplay "Port number" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "1/Taum" DstPort 1 } Line { SrcBlock "1/Taum" SrcPort 1 Points [15, 0] Branch { Points [0, 120; 160, 0] DstBlock "Product1" DstPort 2 } Branch { Points [0, -35] DstBlock "Product" DstPort 2 } } Line { SrcBlock "Constant1" SrcPort 1 Points [135, 0; 0, 15] DstBlock "Product" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [105, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Um" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 Points [-15, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "I(t)" SrcPort 1 Points [80, 0; 0, -100] DstBlock "Product" DstPort 3 } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 Points [-25, 0; 0, -140] DstBlock "Product1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 Points [-15, 0; 0, -75] Branch { Points [0, -145] DstBlock "Integrator" DstPort 2 } Branch { DstBlock "Zero-Order\nHold" DstPort 1 } } Line { SrcBlock "Constant10" SrcPort 1 DstBlock "Relational\nOperator" DstPort 2 } Line { SrcBlock "Relational\nOperator" SrcPort 1 DstBlock "mossyfire" DstPort 1 } Line { SrcBlock "Integrator" SrcPort state Points [0, -10; 110, 0] DstBlock "S-Function" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "Integrator" DstPort 3 } Line { SrcBlock "Demux" SrcPort 3 Points [-190, 0; 0, -250] DstBlock "Product" DstPort 4 } Line { SrcBlock "Zero-Order\nHold" SrcPort 1 Points [145, 0] DstBlock "Relational\nOperator" DstPort 1 } } } Block { BlockType Outport Name "Out1" SID "469" Position [305, 488, 335, 502] ZOrder -3 IconDisplay "Port number" } Block { BlockType Outport Name "Out2" SID "470" Position [305, 518, 335, 532] ZOrder -4 Port "2" IconDisplay "Port number" } Line { SrcBlock "In1" SrcPort 1 DstBlock "Mossy" DstPort 1 } Line { SrcBlock "Mossy" SrcPort 1 Points [70, 0] DstBlock "Out1" DstPort 1 } Line { SrcBlock "Mossy" SrcPort 2 Points [70, 0] DstBlock "Out2" DstPort 1 } } } Block { BlockType SubSystem Name "Mossy4" SID "471" Ports [1, 2] Position [345, 325, 495, 365] ZOrder -7 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 167 $ClassName "Simulink.Mask" Display "port_label('input',1,'MFs inputs')\nport_label('output',1,'MFs potential')\nport_label('output',2,'Firing" " MFs')\n" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 168 Type "edit" Name "R" Prompt "Valor R" Value "5" } Object { $ObjectID 169 Type "edit" Name "Taum" Prompt "Taum" Value "0.02" } Object { $ObjectID 170 Type "edit" Name "Um0" Prompt "Valor inicial de Um" Value "0" } Object { $ObjectID 171 Type "edit" Name "Uth" Prompt "Tensión Th" Value "1" } Object { $ObjectID 172 Type "edit" Name "Ureset" Prompt "Tensión Reset" Value "0" } Object { $ObjectID 173 Type "edit" Name "Trefrac" Prompt "Tiempo Refractario" Value "0" } Object { $ObjectID 174 Type "edit" Name "NumMFs" Prompt "Numero de MFs" Value "20" } PropName "Parameters" } } System { Name "Mossy4" Location [392, 68, 857, 809] 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 "In1" SID "472" Position [25, 503, 55, 517] ZOrder -1 IconDisplay "Port number" } Block { BlockType SubSystem Name "Mossy" SID "473" Ports [1, 2] Position [135, 490, 215, 530] ZOrder -2 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 175 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 176 Type "edit" Name "R" Prompt "Valor R" Value "R" } Object { $ObjectID 177 Type "edit" Name "Taum" Prompt "Taum" Value "Taum" } Object { $ObjectID 178 Type "edit" Name "Um0" Prompt "Valor inicial de Um" Value "Um0" } Object { $ObjectID 179 Type "edit" Name "Uth" Prompt "Tensión Th" Value "Uth" } Object { $ObjectID 180 Type "edit" Name "Ureset" Prompt "Tensión Reset" Value "Ureset" } Object { $ObjectID 181 Type "edit" Name "Trefract" Prompt "Tiempo refractario" Value "Trefrac" } Object { $ObjectID 182 Type "edit" Name "NumMFs" Prompt "CantidadMFs" Value "NumMFs" } PropName "Parameters" } } System { Name "Mossy" Location [14, 69, 1212, 878] 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 "I(t)" SID "474" Position [105, 168, 135, 182] ZOrder -1 IconDisplay "Port number" } Block { BlockType MATLABFcn Name "1/Taum" SID "475" Ports [1, 1] Position [130, 85, 190, 115] ZOrder -2 MATLABFcn "inv(u(1))" } Block { BlockType Constant Name "Constant" SID "476" Position [25, 85, 75, 115] ZOrder -3 Value "Taum" } Block { BlockType Constant Name "Constant1" SID "477" Position [40, 25, 70, 55] ZOrder -4 Value "R" } Block { BlockType Constant Name "Constant10" SID "478" Position [585, 260, 615, 290] ZOrder -5 Value "0" } Block { BlockType Constant Name "Constant2" SID "479" Position [355, 90, 385, 120] ZOrder -6 Value "Um0" } Block { BlockType Demux Name "Demux" SID "480" Ports [1, 3] Position [420, 294, 425, 346] ZOrder -7 BlockMirror on BackgroundColor "black" NamePlacement "alternate" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Integrator Name "Integrator" SID "481" Ports [3, 1, 0, 0, 1] Position [440, 57, 480, 113] ZOrder -8 ExternalReset "falling" InitialConditionSource "external" LimitOutput on UpperSaturationLimit "Uth" LowerSaturationLimit "Ureset" ShowStatePort on } Block { BlockType Product Name "Product" SID "482" Ports [4, 1] Position [245, 54, 275, 86] ZOrder -9 Inputs "4" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" SID "483" Ports [2, 1] Position [325, 171, 355, 204] ZOrder -10 BlockMirror on NamePlacement "alternate" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType RelationalOperator Name "Relational\nOperator" SID "484" Ports [2, 1] Position [660, 252, 690, 283] ZOrder -11 Operator "==" InputSameDT off OutDataTypeStr "boolean" } Block { BlockType S-Function Name "S-Function" SID "485" Ports [1, 1] Position [445, 300, 555, 340] ZOrder -12 BlockMirror on FunctionName "ThreshMFsrefractarytime" Parameters "Uth,Ureset,Trefract,NumMFs" EnableBusSupport off } Block { BlockType Sum Name "Sum" SID "486" Ports [2, 1] Position [295, 60, 315, 80] ZOrder -13 ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType ZeroOrderHold Name "Zero-Order\nHold" SID "487" Position [460, 215, 495, 245] ZOrder -14 SampleTime "0.002" } Block { BlockType Outport Name "Um" SID "488" Position [850, 78, 880, 92] ZOrder -15 IconDisplay "Port number" } Block { BlockType Outport Name "mossyfire" SID "489" Position [850, 263, 880, 277] ZOrder -16 Port "2" IconDisplay "Port number" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "1/Taum" DstPort 1 } Line { SrcBlock "1/Taum" SrcPort 1 Points [15, 0] Branch { Points [0, 120; 160, 0] DstBlock "Product1" DstPort 2 } Branch { Points [0, -35] DstBlock "Product" DstPort 2 } } Line { SrcBlock "Constant1" SrcPort 1 Points [135, 0; 0, 15] DstBlock "Product" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [105, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Um" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 Points [-15, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "I(t)" SrcPort 1 Points [80, 0; 0, -100] DstBlock "Product" DstPort 3 } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 Points [-25, 0; 0, -140] DstBlock "Product1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 Points [-15, 0; 0, -75] Branch { Points [0, -145] DstBlock "Integrator" DstPort 2 } Branch { DstBlock "Zero-Order\nHold" DstPort 1 } } Line { SrcBlock "Constant10" SrcPort 1 DstBlock "Relational\nOperator" DstPort 2 } Line { SrcBlock "Relational\nOperator" SrcPort 1 DstBlock "mossyfire" DstPort 1 } Line { SrcBlock "Integrator" SrcPort state Points [0, -10; 110, 0] DstBlock "S-Function" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "Integrator" DstPort 3 } Line { SrcBlock "Demux" SrcPort 3 Points [-190, 0; 0, -250] DstBlock "Product" DstPort 4 } Line { SrcBlock "Zero-Order\nHold" SrcPort 1 Points [145, 0] DstBlock "Relational\nOperator" DstPort 1 } } } Block { BlockType Outport Name "Out1" SID "490" Position [305, 488, 335, 502] ZOrder -3 IconDisplay "Port number" } Block { BlockType Outport Name "Out2" SID "491" Position [305, 518, 335, 532] ZOrder -4 Port "2" IconDisplay "Port number" } Line { SrcBlock "In1" SrcPort 1 DstBlock "Mossy" DstPort 1 } Line { SrcBlock "Mossy" SrcPort 1 Points [70, 0] DstBlock "Out1" DstPort 1 } Line { SrcBlock "Mossy" SrcPort 2 Points [70, 0] DstBlock "Out2" DstPort 1 } } } Block { BlockType SubSystem Name "Mossy5" SID "492" Ports [1, 2] Position [335, 385, 485, 425] ZOrder -8 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 183 $ClassName "Simulink.Mask" Display "port_label('input',1,'MFs inputs')\nport_label('output',1,'MFs potential')\nport_label('output',2,'Firing" " MFs')\n" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 184 Type "edit" Name "R" Prompt "Valor R" Value "5" } Object { $ObjectID 185 Type "edit" Name "Taum" Prompt "Taum" Value "0.02" } Object { $ObjectID 186 Type "edit" Name "Um0" Prompt "Valor inicial de Um" Value "0" } Object { $ObjectID 187 Type "edit" Name "Uth" Prompt "Tensión Th" Value "1" } Object { $ObjectID 188 Type "edit" Name "Ureset" Prompt "Tensión Reset" Value "0" } Object { $ObjectID 189 Type "edit" Name "Trefrac" Prompt "Tiempo Refractario" Value "0" } Object { $ObjectID 190 Type "edit" Name "NumMFs" Prompt "Numero de MFs" Value "20" } PropName "Parameters" } } System { Name "Mossy5" Location [392, 68, 857, 809] 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 "In1" SID "493" Position [25, 503, 55, 517] ZOrder -1 IconDisplay "Port number" } Block { BlockType SubSystem Name "Mossy" SID "494" Ports [1, 2] Position [135, 490, 215, 530] ZOrder -2 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 191 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 192 Type "edit" Name "R" Prompt "Valor R" Value "R" } Object { $ObjectID 193 Type "edit" Name "Taum" Prompt "Taum" Value "Taum" } Object { $ObjectID 194 Type "edit" Name "Um0" Prompt "Valor inicial de Um" Value "Um0" } Object { $ObjectID 195 Type "edit" Name "Uth" Prompt "Tensión Th" Value "Uth" } Object { $ObjectID 196 Type "edit" Name "Ureset" Prompt "Tensión Reset" Value "Ureset" } Object { $ObjectID 197 Type "edit" Name "Trefract" Prompt "Tiempo refractario" Value "Trefrac" } Object { $ObjectID 198 Type "edit" Name "NumMFs" Prompt "CantidadMFs" Value "NumMFs" } PropName "Parameters" } } System { Name "Mossy" Location [14, 69, 1212, 878] 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 "I(t)" SID "495" Position [105, 168, 135, 182] ZOrder -1 IconDisplay "Port number" } Block { BlockType MATLABFcn Name "1/Taum" SID "496" Ports [1, 1] Position [130, 85, 190, 115] ZOrder -2 MATLABFcn "inv(u(1))" } Block { BlockType Constant Name "Constant" SID "497" Position [25, 85, 75, 115] ZOrder -3 Value "Taum" } Block { BlockType Constant Name "Constant1" SID "498" Position [40, 25, 70, 55] ZOrder -4 Value "R" } Block { BlockType Constant Name "Constant10" SID "499" Position [585, 260, 615, 290] ZOrder -5 Value "0" } Block { BlockType Constant Name "Constant2" SID "500" Position [355, 90, 385, 120] ZOrder -6 Value "Um0" } Block { BlockType Demux Name "Demux" SID "501" Ports [1, 3] Position [420, 294, 425, 346] ZOrder -7 BlockMirror on BackgroundColor "black" NamePlacement "alternate" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Integrator Name "Integrator" SID "502" Ports [3, 1, 0, 0, 1] Position [440, 57, 480, 113] ZOrder -8 ExternalReset "falling" InitialConditionSource "external" LimitOutput on UpperSaturationLimit "Uth" LowerSaturationLimit "Ureset" ShowStatePort on } Block { BlockType Product Name "Product" SID "503" Ports [4, 1] Position [245, 54, 275, 86] ZOrder -9 Inputs "4" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" SID "504" Ports [2, 1] Position [325, 171, 355, 204] ZOrder -10 BlockMirror on NamePlacement "alternate" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType RelationalOperator Name "Relational\nOperator" SID "505" Ports [2, 1] Position [660, 252, 690, 283] ZOrder -11 Operator "==" InputSameDT off OutDataTypeStr "boolean" } Block { BlockType S-Function Name "S-Function" SID "506" Ports [1, 1] Position [445, 300, 555, 340] ZOrder -12 BlockMirror on FunctionName "ThreshMFsrefractarytime" Parameters "Uth,Ureset,Trefract,NumMFs" EnableBusSupport off } Block { BlockType Sum Name "Sum" SID "507" Ports [2, 1] Position [295, 60, 315, 80] ZOrder -13 ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType ZeroOrderHold Name "Zero-Order\nHold" SID "508" Position [460, 215, 495, 245] ZOrder -14 SampleTime "0.002" } Block { BlockType Outport Name "Um" SID "509" Position [850, 78, 880, 92] ZOrder -15 IconDisplay "Port number" } Block { BlockType Outport Name "mossyfire" SID "510" Position [850, 263, 880, 277] ZOrder -16 Port "2" IconDisplay "Port number" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "1/Taum" DstPort 1 } Line { SrcBlock "1/Taum" SrcPort 1 Points [15, 0] Branch { Points [0, 120; 160, 0] DstBlock "Product1" DstPort 2 } Branch { Points [0, -35] DstBlock "Product" DstPort 2 } } Line { SrcBlock "Constant1" SrcPort 1 Points [135, 0; 0, 15] DstBlock "Product" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [105, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Um" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 Points [-15, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "I(t)" SrcPort 1 Points [80, 0; 0, -100] DstBlock "Product" DstPort 3 } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 Points [-25, 0; 0, -140] DstBlock "Product1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 Points [-15, 0; 0, -75] Branch { Points [0, -145] DstBlock "Integrator" DstPort 2 } Branch { DstBlock "Zero-Order\nHold" DstPort 1 } } Line { SrcBlock "Constant10" SrcPort 1 DstBlock "Relational\nOperator" DstPort 2 } Line { SrcBlock "Relational\nOperator" SrcPort 1 DstBlock "mossyfire" DstPort 1 } Line { SrcBlock "Integrator" SrcPort state Points [0, -10; 110, 0] DstBlock "S-Function" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "Integrator" DstPort 3 } Line { SrcBlock "Demux" SrcPort 3 Points [-190, 0; 0, -250] DstBlock "Product" DstPort 4 } Line { SrcBlock "Zero-Order\nHold" SrcPort 1 Points [145, 0] DstBlock "Relational\nOperator" DstPort 1 } } } Block { BlockType Outport Name "Out1" SID "511" Position [305, 488, 335, 502] ZOrder -3 IconDisplay "Port number" } Block { BlockType Outport Name "Out2" SID "512" Position [305, 518, 335, 532] ZOrder -4 Port "2" IconDisplay "Port number" } Line { SrcBlock "In1" SrcPort 1 DstBlock "Mossy" DstPort 1 } Line { SrcBlock "Mossy" SrcPort 1 Points [70, 0] DstBlock "Out1" DstPort 1 } Line { SrcBlock "Mossy" SrcPort 2 Points [70, 0] DstBlock "Out2" DstPort 1 } } } Block { BlockType SubSystem Name "RBFs1" SID "422" Ports [1, 7] Position [90, 307, 240, 533] ZOrder -9 BackgroundColor "yellow" DropShadow on MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "RBFs1" Location [219, 131, 1279, 1053] 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 "Velocidades \ndeseadas" SID "423" Position [15, 158, 45, 172] ZOrder -1 IconDisplay "Port number" } Block { BlockType Demux Name "Demux" SID "424" Ports [1, 7] Position [175, 15, 180, 315] ZOrder -2 BackgroundColor "black" ShowName off Outputs "7" DisplayOption "bar" } Block { BlockType MATLABFcn Name "MATLAB Fcn7" SID "425" Ports [1, 1] Position [95, 150, 155, 180] ZOrder -3 MATLABFcn "rad2deg(u)" } Block { BlockType S-Function Name "S1" SID "426" Ports [1, 1] Position [300, 21, 385, 49] ZOrder -4 FunctionName "fRBFgausspeed1optimal" Parameters "PasoGrado1,numRBFs,sigma1,limitinf1,limitsup1,numfig,ver" EnableBusSupport off Object { $PropName "MaskObject" $ObjectID 199 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 200 Type "edit" Name "PasoGrado1" Prompt "Tamaño de paso de grado" Value "0.1" } Object { $ObjectID 201 Type "edit" Name "numRBFs" Prompt "Número de RBFs" Value "20" } Object { $ObjectID 202 Type "edit" Name "sigma1" Prompt "Sigma" Value "(36-(-36))/(1.75*20)" } Object { $ObjectID 203 Type "edit" Name "limitinf1" Prompt "Límite inferior" Value "-36" } Object { $ObjectID 204 Type "edit" Name "limitsup1" Prompt "Límite superior" Value "36" } Object { $ObjectID 205 Type "edit" Name "numfig" Prompt "Numero de figura" Value "1" } Object { $ObjectID 206 Type "edit" Name "ver" Prompt "Visualización de gráficas VER=1" Value "0" } PropName "Parameters" } } } Block { BlockType S-Function Name "S2" SID "427" Ports [1, 1] Position [300, 66, 385, 94] ZOrder -5 FunctionName "fRBFgausspeed1optimal" Parameters "PasoGrado2,numRBFs,sigma2,limitinf2,limitsup2,numfig,ver" EnableBusSupport off Object { $PropName "MaskObject" $ObjectID 207 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 208 Type "edit" Name "PasoGrado2" Prompt "Tamaño de paso de grado" Value "0.1" } Object { $ObjectID 209 Type "edit" Name "numRBFs" Prompt "Número de RBFs" Value "20" } Object { $ObjectID 210 Type "edit" Name "sigma2" Prompt "Sigma" Value "(36-(-36))/(1.75*20)" } Object { $ObjectID 211 Type "edit" Name "limitinf2" Prompt "Límite inferior" Value "-36" } Object { $ObjectID 212 Type "edit" Name "limitsup2" Prompt "Límite superior" Value "36" } Object { $ObjectID 213 Type "edit" Name "numfig" Prompt "Numero de figura" Value "2" } Object { $ObjectID 214 Type "edit" Name "ver" Prompt "Visualización de gráficas VER=1" Value "0" } PropName "Parameters" } } } Block { BlockType S-Function Name "S3" SID "428" Ports [1, 1] Position [300, 111, 385, 139] ZOrder -6 FunctionName "fRBFgausspeed1optimal" Parameters "PasoGrado3,numRBFs,sigma3,limitinf3,limitsup3,numfig,ver" EnableBusSupport off Object { $PropName "MaskObject" $ObjectID 215 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 216 Type "edit" Name "PasoGrado3" Prompt "Tamaño de paso de grado" Value "0.1" } Object { $ObjectID 217 Type "edit" Name "numRBFs" Prompt "Número de RBFs" Value "20" } Object { $ObjectID 218 Type "edit" Name "sigma3" Prompt "Sigma" Value "(36-(-36))/(1.75*20)" } Object { $ObjectID 219 Type "edit" Name "limitinf3" Prompt "Límite inferior" Value "-36" } Object { $ObjectID 220 Type "edit" Name "limitsup3" Prompt "Límite superior" Value "36" } Object { $ObjectID 221 Type "edit" Name "numfig" Prompt "Numero de figura" Value "2" } Object { $ObjectID 222 Type "edit" Name "ver" Prompt "Visualización de gráficas VER=1" Value "0" } PropName "Parameters" } } } Block { BlockType Outport Name "MossyBlock1" SID "429" Position [410, 28, 440, 42] ZOrder -7 IconDisplay "Port number" } Block { BlockType Outport Name "MossyBlock2" SID "430" Position [410, 73, 440, 87] ZOrder -8 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "MossyBlock3" SID "431" Position [410, 118, 440, 132] ZOrder -9 Port "3" IconDisplay "Port number" } Block { BlockType Outport Name "MossyBlock4" SID "432" Position [410, 168, 440, 182] ZOrder -10 Port "4" IconDisplay "Port number" } Block { BlockType Outport Name "MossyBlock5" SID "433" Position [410, 223, 440, 237] ZOrder -11 Port "5" IconDisplay "Port number" } Block { BlockType Outport Name "MossyBlock6" SID "434" Position [410, 268, 440, 282] ZOrder -12 Port "6" IconDisplay "Port number" } Block { BlockType Outport Name "MossyBlock7" SID "435" Position [415, 318, 445, 332] ZOrder -13 Port "7" IconDisplay "Port number" } Line { SrcBlock "Demux" SrcPort 1 Points [0, -10] DstBlock "S1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 Points [0, -5] DstBlock "S2" DstPort 1 } Line { SrcBlock "S1" SrcPort 1 DstBlock "MossyBlock1" DstPort 1 } Line { SrcBlock "S2" SrcPort 1 DstBlock "MossyBlock2" DstPort 1 } Line { SrcBlock "Demux" SrcPort 3 DstBlock "S3" DstPort 1 } Line { SrcBlock "Demux" SrcPort 4 Points [205, 0; 0, 10] DstBlock "MossyBlock4" DstPort 1 } Line { SrcBlock "Demux" SrcPort 5 Points [205, 0; 0, 25] DstBlock "MossyBlock5" DstPort 1 } Line { SrcBlock "Demux" SrcPort 6 Points [60, 0; 0, 30] DstBlock "MossyBlock6" DstPort 1 } Line { SrcBlock "Demux" SrcPort 7 Points [10, 0; 0, 40] DstBlock "MossyBlock7" DstPort 1 } Line { SrcBlock "MATLAB Fcn7" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Velocidades \ndeseadas" SrcPort 1 DstBlock "MATLAB Fcn7" DstPort 1 } Line { SrcBlock "S3" SrcPort 1 DstBlock "MossyBlock3" DstPort 1 } } } Block { BlockType SubSystem Name "RBFs3" SID "436" Ports [1, 7] Position [85, 46, 235, 264] ZOrder -10 BackgroundColor "yellow" DropShadow on MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "RBFs3" Location [8, 294, 1064, 1164] 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 "Posiciones \ndeseadas" SID "437" Position [15, 173, 45, 187] ZOrder -1 IconDisplay "Port number" } Block { BlockType Demux Name "Demux" SID "438" Ports [1, 7] Position [185, 26, 190, 334] ZOrder -2 BackgroundColor "black" ShowName off Outputs "7" DisplayOption "bar" } Block { BlockType MATLABFcn Name "MATLAB Fcn7" SID "439" Ports [1, 1] Position [105, 165, 165, 195] ZOrder -3 MATLABFcn "rad2deg(u)" } Block { BlockType S-Function Name "S1" SID "440" Ports [1, 1] Position [325, 30, 385, 60] ZOrder -4 FunctionName "fRBFgauss1optimal" Parameters "PasoGrado1,numRBFs,sigma1,limitinf1,limitsup1,numfig,ver" EnableBusSupport off Object { $PropName "MaskObject" $ObjectID 223 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 224 Type "edit" Name "PasoGrado1" Prompt "Tamaño de paso de grado" Value "0.05" } Object { $ObjectID 225 Type "edit" Name "numRBFs" Prompt "Número de RBFs" Value "20" } Object { $ObjectID 226 Type "edit" Name "sigma1" Prompt "Sigma" Value "(6-(-6))/(1.75*20)" } Object { $ObjectID 227 Type "edit" Name "limitinf1" Prompt "Límite inferior" Value "-6" } Object { $ObjectID 228 Type "edit" Name "limitsup1" Prompt "Límite superior" Value "6" } Object { $ObjectID 229 Type "edit" Name "numfig" Prompt "Numero de figura" Value "1" } Object { $ObjectID 230 Type "edit" Name "ver" Prompt "Visualización de gráficas VER=1" Value "0" } PropName "Parameters" } } } Block { BlockType S-Function Name "S2" SID "441" Ports [1, 1] Position [325, 75, 385, 105] ZOrder -5 FunctionName "fRBFgauss1optimal" Parameters "PasoGrado2,numRBFs,sigma2,limitinf2,limitsup2,numfig,ver" EnableBusSupport off Object { $PropName "MaskObject" $ObjectID 231 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 232 Type "edit" Name "PasoGrado2" Prompt "Tamaño de paso de grado" Value "0.05" } Object { $ObjectID 233 Type "edit" Name "numRBFs" Prompt "Número de RBFs" Value "20" } Object { $ObjectID 234 Type "edit" Name "sigma2" Prompt "Sigma" Value "(6-(-6))/(1.75*20)" } Object { $ObjectID 235 Type "edit" Name "limitinf2" Prompt "Límite inferior" Value "-6" } Object { $ObjectID 236 Type "edit" Name "limitsup2" Prompt "Límite superior" Value "6" } Object { $ObjectID 237 Type "edit" Name "numfig" Prompt "Numero de figura" Value "2" } Object { $ObjectID 238 Type "edit" Name "ver" Prompt "Visualización de gráfica VER=1" Value "0" } PropName "Parameters" } } } Block { BlockType S-Function Name "S3" SID "442" Ports [1, 1] Position [325, 125, 385, 155] ZOrder -6 FunctionName "fRBFgauss1optimal" Parameters "PasoGrado3,numRBFs,sigma3,limitinf3,limitsup3,numfig,ver" EnableBusSupport off Object { $PropName "MaskObject" $ObjectID 239 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 7 Object { $ObjectID 240 Type "edit" Name "PasoGrado3" Prompt "Tamaño de paso de grado" Value "0.05" } Object { $ObjectID 241 Type "edit" Name "numRBFs" Prompt "Número de RBFs" Value "20" } Object { $ObjectID 242 Type "edit" Name "sigma3" Prompt "Sigma" Value "(6-(-6))/(1.75*20)" } Object { $ObjectID 243 Type "edit" Name "limitinf3" Prompt "Límite inferior" Value "-6" } Object { $ObjectID 244 Type "edit" Name "limitsup3" Prompt "Límite superior" Value "6" } Object { $ObjectID 245 Type "edit" Name "numfig" Prompt "Numero de figura" Value "2" } Object { $ObjectID 246 Type "edit" Name "ver" Prompt "Visualización de gráfica VER=1" Value "0" } PropName "Parameters" } } } Block { BlockType Outport Name "MossyBlock1" SID "443" Position [410, 38, 440, 52] ZOrder -7 IconDisplay "Port number" } Block { BlockType Outport Name "MossyBlock2" SID "444" Position [410, 83, 440, 97] ZOrder -8 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "MossyBlock3" SID "445" Position [410, 133, 440, 147] ZOrder -9 Port "3" IconDisplay "Port number" } Block { BlockType Outport Name "MossyBlock4" SID "446" Position [410, 178, 440, 192] ZOrder -10 Port "4" IconDisplay "Port number" } Block { BlockType Outport Name "MossyBlock5" SID "447" Position [410, 223, 440, 237] ZOrder -11 Port "5" IconDisplay "Port number" } Block { BlockType Outport Name "MossyBlock6" SID "448" Position [410, 268, 440, 282] ZOrder -12 Port "6" IconDisplay "Port number" } Block { BlockType Outport Name "MossyBlock7" SID "449" Position [410, 318, 440, 332] ZOrder -13 Port "7" IconDisplay "Port number" } Line { SrcBlock "Demux" SrcPort 1 DstBlock "S1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 DstBlock "S2" DstPort 1 } Line { SrcBlock "Demux" SrcPort 3 Points [0, 5] DstBlock "S3" DstPort 1 } Line { SrcBlock "Demux" SrcPort 4 Points [0, 5] DstBlock "MossyBlock4" DstPort 1 } Line { SrcBlock "Demux" SrcPort 6 Points [0, 5] DstBlock "MossyBlock6" DstPort 1 } Line { SrcBlock "S1" SrcPort 1 DstBlock "MossyBlock1" DstPort 1 } Line { SrcBlock "S2" SrcPort 1 DstBlock "MossyBlock2" DstPort 1 } Line { SrcBlock "Demux" SrcPort 5 Points [0, 5] DstBlock "MossyBlock5" DstPort 1 } Line { SrcBlock "Demux" SrcPort 7 Points [0, 10] DstBlock "MossyBlock7" DstPort 1 } Line { SrcBlock "Posiciones \ndeseadas" SrcPort 1 DstBlock "MATLAB Fcn7" DstPort 1 } Line { SrcBlock "MATLAB Fcn7" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "S3" SrcPort 1 DstBlock "MossyBlock3" DstPort 1 } } } Block { BlockType Terminator Name "Terminator1" SID "283" Position [255, 145, 275, 165] ZOrder -11 } Block { BlockType Terminator Name "Terminator2" SID "419" Position [255, 175, 275, 195] ZOrder -12 } Block { BlockType Terminator Name "Terminator3" SID "420" Position [255, 205, 275, 225] ZOrder -13 } Block { BlockType Terminator Name "Terminator4" SID "421" Position [255, 235, 275, 255] ZOrder -14 } Block { BlockType Terminator Name "Terminator5" SID "513" Position [280, 410, 300, 430] ZOrder -15 } Block { BlockType Terminator Name "Terminator6" SID "514" Position [280, 440, 300, 460] ZOrder -16 } Block { BlockType Terminator Name "Terminator7" SID "515" Position [280, 470, 300, 490] ZOrder -17 } Block { BlockType Terminator Name "Terminator8" SID "516" Position [280, 500, 300, 520] ZOrder -18 } Block { BlockType Outport Name "MFcurrent" SID "682" Position [530, 23, 560, 37] ZOrder -19 IconDisplay "Port number" } Block { BlockType Outport Name "Timing" SID "683" Position [530, 58, 560, 72] ZOrder -20 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "MFcurrent1" SID "684" Position [530, 88, 560, 102] ZOrder -21 Port "3" IconDisplay "Port number" } Block { BlockType Outport Name "Timing1" SID "685" Position [530, 113, 560, 127] ZOrder -22 Port "4" IconDisplay "Port number" } Block { BlockType Outport Name "MFcurrent2" SID "686" Position [520, 148, 550, 162] ZOrder -23 Port "5" IconDisplay "Port number" } Block { BlockType Outport Name "Timing2" SID "687" Position [525, 183, 555, 197] ZOrder -24 Port "6" IconDisplay "Port number" } Block { BlockType Outport Name "MFcurrent3" SID "689" Position [520, 278, 550, 292] ZOrder -25 Port "7" IconDisplay "Port number" } Block { BlockType Outport Name "Timing3" SID "690" Position [520, 298, 550, 312] ZOrder -26 Port "8" IconDisplay "Port number" } Block { BlockType Outport Name "MFcurrent4" SID "691" Position [520, 328, 550, 342] ZOrder -27 Port "9" IconDisplay "Port number" } Block { BlockType Outport Name "Timing4" SID "692" Position [520, 348, 550, 362] ZOrder -28 Port "10" IconDisplay "Port number" } Block { BlockType Outport Name "MFcurrent5" SID "693" Position [520, 383, 550, 397] ZOrder -29 Port "11" IconDisplay "Port number" } Block { BlockType Outport Name "Timing5" SID "694" Position [520, 423, 550, 437] ZOrder -30 Port "12" IconDisplay "Port number" } Line { SrcBlock "RBFs3" SrcPort 1 Points [40, 0; 0, -20] DstBlock "Mossy" DstPort 1 } Line { SrcBlock "RBFs3" SrcPort 2 Points [65, 0; 0, 15] DstBlock "Mossy1" DstPort 1 } Line { SrcBlock "RBFs3" SrcPort 3 Points [60, 0; 0, 50] DstBlock "Mossy2" DstPort 1 } Line { SrcBlock "RBFs3" SrcPort 4 DstBlock "Terminator1" DstPort 1 } Line { SrcBlock "RBFs3" SrcPort 5 DstBlock "Terminator2" DstPort 1 } Line { SrcBlock "RBFs3" SrcPort 6 DstBlock "Terminator3" DstPort 1 } Line { SrcBlock "RBFs3" SrcPort 7 DstBlock "Terminator4" DstPort 1 } Line { SrcBlock "RBFs1" SrcPort 1 Points [40, 0; 0, -35] DstBlock "Mossy3" DstPort 1 } Line { SrcBlock "RBFs1" SrcPort 2 Points [40, 0; 0, -15] DstBlock "Mossy4" DstPort 1 } Line { SrcBlock "RBFs1" SrcPort 3 Points [75, 0] DstBlock "Mossy5" DstPort 1 } Line { SrcBlock "RBFs1" SrcPort 4 DstBlock "Terminator5" DstPort 1 } Line { SrcBlock "RBFs1" SrcPort 5 DstBlock "Terminator6" DstPort 1 } Line { SrcBlock "RBFs1" SrcPort 6 DstBlock "Terminator7" DstPort 1 } Line { SrcBlock "RBFs1" SrcPort 7 DstBlock "Terminator8" DstPort 1 } Line { SrcBlock "Desired Position" SrcPort 1 Points [0, 15] DstBlock "RBFs3" DstPort 1 } Line { SrcBlock "Desired Velocities" SrcPort 1 DstBlock "RBFs1" DstPort 1 } Line { SrcBlock "Mossy" SrcPort 1 Points [30, 0] DstBlock "MFcurrent" DstPort 1 } Line { SrcBlock "Mossy" SrcPort 2 Points [30, 0] DstBlock "Timing" DstPort 1 } Line { SrcBlock "Mossy1" SrcPort 1 Points [0, -5] DstBlock "MFcurrent1" DstPort 1 } Line { SrcBlock "Mossy1" SrcPort 2 DstBlock "Timing1" DstPort 1 } Line { SrcBlock "Mossy2" SrcPort 1 Points [0, -10] DstBlock "MFcurrent2" DstPort 1 } Line { SrcBlock "Mossy2" SrcPort 2 Points [25, 0] DstBlock "Timing2" DstPort 1 } Line { SrcBlock "Mossy3" SrcPort 1 DstBlock "MFcurrent3" DstPort 1 } Line { SrcBlock "Mossy3" SrcPort 2 DstBlock "Timing3" DstPort 1 } Line { SrcBlock "Mossy4" SrcPort 1 DstBlock "MFcurrent4" DstPort 1 } Line { SrcBlock "Mossy4" SrcPort 2 DstBlock "Timing4" DstPort 1 } Line { SrcBlock "Mossy5" SrcPort 1 Points [15, 0] DstBlock "MFcurrent5" DstPort 1 } Line { SrcBlock "Mossy5" SrcPort 2 Points [15, 0] DstBlock "Timing5" DstPort 1 } } } Block { BlockType Mux Name "Mux" SID "2305" Ports [8, 1] Position [340, 380, 345, 550] ZOrder -18 ShowName off Inputs "8" DisplayOption "bar" } Block { BlockType Mux Name "Mux1" SID "2306" Ports [8, 1] Position [415, 376, 420, 534] ZOrder -19 ShowName off Inputs "8" DisplayOption "bar" } Block { BlockType SubSystem Name "Subsystem IO" SID "708" Ports [12, 4] Position [450, 30, 645, 345] ZOrder -20 BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem IO" Location [8, 44, 1169, 762] 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 Poisson1" SID "709" Position [125, 78, 155, 92] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "Error poisson1" SID "710" Position [120, 178, 150, 192] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "Par cerb aplicado1" SID "711" Position [120, 278, 150, 292] ZOrder -3 Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "Par deseado1" SID "712" Position [120, 378, 150, 392] ZOrder -4 Port "4" IconDisplay "Port number" } Block { BlockType Inport Name "Par max Poisson2" SID "713" Position [120, 478, 150, 492] ZOrder -5 Port "5" IconDisplay "Port number" } Block { BlockType Inport Name "Error Poisson2" SID "714" Position [120, 578, 150, 592] ZOrder -6 Port "6" IconDisplay "Port number" } Block { BlockType Inport Name "Par cerb aplicado2" SID "715" Position [120, 678, 150, 692] ZOrder -7 Port "7" IconDisplay "Port number" } Block { BlockType Inport Name "Par deseado2" SID "716" Position [120, 778, 150, 792] ZOrder -8 Port "8" IconDisplay "Port number" } Block { BlockType Inport Name "Par max Poisson3" SID "717" Position [120, 878, 150, 892] ZOrder -9 Port "9" IconDisplay "Port number" } Block { BlockType Inport Name "Error Poisson3" SID "718" Position [120, 978, 150, 992] ZOrder -10 Port "10" IconDisplay "Port number" } Block { BlockType Inport Name "Par cerb aplicado3" SID "719" Position [120, 1078, 150, 1092] ZOrder -11 Port "11" IconDisplay "Port number" } Block { BlockType Inport Name "Par deseado3" SID "720" Position [130, 1178, 160, 1192] ZOrder -12 Port "12" IconDisplay "Port number" } Block { BlockType SubSystem Name "IO Subsystem " SID "721" Ports [12, 51] Position [200, 18, 415, 1242] ZOrder -13 BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "IO Subsystem " Location [8, 44, 1087, 999] 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 Poisson1" SID "722" Position [670, 213, 700, 227] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "Error Poisson1" SID "723" Position [670, 248, 700, 262] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "Par cerb aplicado1" SID "724" Position [370, 258, 400, 272] ZOrder -3 Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "Par deseado1" SID "725" Position [670, 308, 700, 322] ZOrder -4 Port "4" IconDisplay "Port number" } Block { BlockType Inport Name "Par max Poisson2" SID "726" Position [635, 498, 665, 512] ZOrder -5 Port "5" IconDisplay "Port number" } Block { BlockType Inport Name "Error Poisson2" SID "727" Position [635, 533, 665, 547] ZOrder -6 Port "6" IconDisplay "Port number" } Block { BlockType Inport Name "Par cerb aplicado2" SID "728" Position [475, 553, 505, 567] ZOrder -7 Port "7" IconDisplay "Port number" } Block { BlockType Inport Name "Par deseado2" SID "729" Position [635, 603, 665, 617] ZOrder -8 Port "8" IconDisplay "Port number" } Block { BlockType Inport Name "Par max Poisson3" SID "730" Position [560, 928, 590, 942] ZOrder -9 Port "9" IconDisplay "Port number" } Block { BlockType Inport Name "Error Poisson3" SID "731" Position [560, 968, 590, 982] ZOrder -10 Port "10" IconDisplay "Port number" } Block { BlockType Inport Name "Par cerb aplicado3" SID "732" Position [400, 943, 430, 957] ZOrder -11 Port "11" IconDisplay "Port number" } Block { BlockType Inport Name "Par deseado3" SID "733" Position [560, 1038, 590, 1052] ZOrder -12 Port "12" IconDisplay "Port number" } Block { BlockType Constant Name "Constant" SID "737" Position [480, 365, 510, 395] ZOrder -13 Value "0" } Block { BlockType Constant Name "Constant1" SID "738" Position [475, 640, 505, 670] ZOrder -14 Value "0" } Block { BlockType Constant Name "Constant2" SID "739" Position [400, 1030, 430, 1060] ZOrder -15 Value "0" } Block { BlockType DigitalClock Name "Digital Clock" SID "1331" Position [390, 318, 455, 342] ZOrder -16 SampleTime "0.002" } Block { BlockType DigitalClock Name "Digital Clock1" SID "1332" Position [440, 598, 505, 622] ZOrder -17 SampleTime "0.002" } Block { BlockType DigitalClock Name "Digital Clock2" SID "1333" Position [355, 988, 420, 1012] ZOrder -18 SampleTime "0.002" } Block { BlockType SubSystem Name "Poisson1 IO" SID "740" Ports [4, 3] Position [745, 225, 880, 305] ZOrder -19 BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 247 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 4 Object { $ObjectID 248 Type "edit" Name "a" Prompt "Valor a del intervalo [a b] para la generación de la poisson" Value "0.001" } Object { $ObjectID 249 Type "edit" Name "b" Prompt "Valor b del intervalo [a b] para la generación de la poisson" Value "1" } Object { $ObjectID 250 Type "edit" Name "timestep" Prompt "Tiempo de paso" Value "0.002" } Object { $ObjectID 251 Type "edit" Name "firingrate" Prompt "Firingrate" Value "50" } PropName "Parameters" } } System { Name "Poisson1 IO" Location [433, 44, 1499, 967] 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 "741" Position [35, 398, 65, 412] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "error" SID "742" Position [35, 433, 65, 447] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "par cerb aplicado" SID "743" Position [35, 468, 65, 482] ZOrder -3 Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "par deseado" SID "744" Position [35, 508, 65, 522] ZOrder -4 Port "4" IconDisplay "Port number" } Block { BlockType Demux Name "Demux2" SID "745" Ports [1, 2] Position [225, 185, 230, 280] ZOrder -5 BackgroundColor "black" ShowName off Outputs "2" DisplayOption "bar" } Block { BlockType SubSystem Name "IO-FIRE" SID "746" Ports [1, 1] Position [380, 170, 545, 210] ZOrder -6 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "IO-FIRE" Location [297, 261, 1274, 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 "Random[a b] & I" SID "747" Position [110, 133, 140, 147] ZOrder -1 IconDisplay "Port number" } Block { BlockType Constant Name "Constant" SID "1144" Position [110, 60, 140, 90] ZOrder -2 OutDataTypeStr "boolean" } Block { BlockType Constant Name "Constant1" SID "1145" Position [120, 175, 150, 205] ZOrder -3 Value "0" OutDataTypeStr "boolean" } Block { BlockType Switch Name "Switch3" SID "754" Position [210, 125, 240, 155] ZOrder -4 Criteria "u2 > Threshold" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Outport Name "Time Firing" SID "756" Position [305, 133, 335, 147] ZOrder -5 IconDisplay "Port number" } 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] ZOrder -7 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "IO-FIRE2" Location [297, 261, 1274, 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 "Random[a b] & I" SID "1147" Position [110, 133, 140, 147] ZOrder -1 IconDisplay "Port number" } Block { BlockType Constant Name "Constant" SID "1148" Position [110, 60, 140, 90] ZOrder -2 OutDataTypeStr "boolean" } Block { BlockType Constant Name "Constant1" SID "1149" Position [120, 175, 150, 205] ZOrder -3 Value "0" OutDataTypeStr "boolean" } Block { BlockType Switch Name "Switch3" SID "1150" Position [210, 125, 240, 155] ZOrder -4 Criteria "u2 > Threshold" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Outport Name "Time Firing" SID "1151" Position [305, 133, 335, 147] ZOrder -5 IconDisplay "Port number" } 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] ZOrder -8 Inputs "3" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType RelationalOperator Name "Relational\nOperator" SID "769" Ports [2, 1] Position [330, 172, 360, 203] ZOrder -9 Operator "<" InputSameDT off OutDataTypeStr "boolean" } Block { BlockType RelationalOperator Name "Relational\nOperator1" SID "770" Ports [2, 1] Position [320, 277, 350, 308] ZOrder -10 Operator "<" InputSameDT off OutDataTypeStr "boolean" } Block { BlockType SubSystem Name "Subsystem" SID "771" Ports [4, 1] Position [125, 432, 230, 503] ZOrder -11 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem" Location [254, 44, 1027, 737] 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] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "error" SID "773" Position [30, 48, 60, 62] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "par cereb aplicado" SID "774" Position [30, 78, 60, 92] ZOrder -3 Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "par deseado" SID "775" Position [30, 113, 60, 127] ZOrder -4 Port "4" IconDisplay "Port number" } Block { BlockType Mux Name "Mux2" SID "4357" Ports [4, 1] Position [155, 40, 160, 95] ZOrder -5 ShowName off DisplayOption "bar" } Block { BlockType S-Function Name "S-Function" SID "4356" Ports [1, 1] Position [200, 51, 310, 89] ZOrder -6 FunctionName "errormanagementmod" EnableBusSupport off } Block { BlockType Outport Name "I" SID "778" Position [365, 63, 395, 77] ZOrder -7 IconDisplay "Port number" } Line { SrcBlock "Par max" SrcPort 1 Points [75, 0] DstBlock "Mux2" DstPort 1 } Line { SrcBlock "error" SrcPort 1 Points [75, 0] DstBlock "Mux2" DstPort 2 } Line { SrcBlock "par cereb aplicado" SrcPort 1 Points [75, 0] DstBlock "Mux2" DstPort 3 } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "I" DstPort 1 } Line { SrcBlock "par deseado" SrcPort 1 Points [75, 0] DstBlock "Mux2" DstPort 4 } Line { SrcBlock "Mux2" SrcPort 1 DstBlock "S-Function" DstPort 1 } } } Block { BlockType Constant Name "a" SID "780" Position [60, 179, 115, 211] ZOrder -12 Value "firingrate" } Block { BlockType Constant Name "b" SID "781" Position [60, 229, 115, 261] ZOrder -13 Value "timestep" } Block { BlockType SubSystem Name "intervalo[a b]" SID "782" Ports [0, 1] Position [40, 35, 80, 95] ZOrder -14 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "intervalo[a b]" Location [19, 188, 274, 509] 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] ZOrder -1 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Constant Name "a" SID "784" Position [25, 34, 80, 66] ZOrder -2 Value "a" } Block { BlockType Constant Name "b" SID "785" Position [30, 79, 85, 111] ZOrder -3 Value "b" } Block { BlockType Outport Name "I" SID "786" Position [160, 68, 190, 82] ZOrder -4 IconDisplay "Port number" } 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] ZOrder -15 MATLABFcn "u(1) + (u(2)-u(1)).*rand(1)" } Block { BlockType Outport Name "Time firing" SID "789" Position [575, 183, 605, 197] ZOrder -16 IconDisplay "Port number" } Block { BlockType Outport Name "I" SID "790" Position [285, 463, 315, 477] ZOrder -17 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "Time firing1" SID "792" Position [575, 288, 605, 302] ZOrder -18 Port "3" IconDisplay "Port number" } Line { SrcBlock "intervalo[a b]" SrcPort 1 DstBlock "random" DstPort 1 } Line { SrcBlock "par cerb aplicado" SrcPort 1 DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "Par max" SrcPort 1 Points [20, 0; 0, 40] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "error" SrcPort 1 Points [0, 20] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "par deseado" SrcPort 1 Points [10, 0; 0, -25] DstBlock "Subsystem" DstPort 4 } Line { SrcBlock "Subsystem" SrcPort 1 Points [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 [30, 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 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 "3211" Ports [4, 3] Position [715, 510, 850, 590] ZOrder -20 BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 252 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 4 Object { $ObjectID 253 Type "edit" Name "a" Prompt "Valor a del intervalo [a b] para la generación de la poisson" Value "0.001" } Object { $ObjectID 254 Type "edit" Name "b" Prompt "Valor b del intervalo [a b] para la generación de la poisson" Value "1" } Object { $ObjectID 255 Type "edit" Name "timestep" Prompt "Tiempo de paso" Value "0.002" } Object { $ObjectID 256 Type "edit" Name "firingrate" Prompt "Firingrate" Value "50" } PropName "Parameters" } } System { Name "Poisson1 IO1" Location [251, 138, 1391, 957] 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 "3212" Position [35, 398, 65, 412] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "error" SID "3213" Position [35, 433, 65, 447] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "par cerb aplicado" SID "3214" Position [35, 468, 65, 482] ZOrder -3 Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "par deseado" SID "3215" Position [35, 508, 65, 522] ZOrder -4 Port "4" IconDisplay "Port number" } Block { BlockType Demux Name "Demux2" SID "3216" Ports [1, 2] Position [225, 185, 230, 280] ZOrder -5 BackgroundColor "black" ShowName off Outputs "2" DisplayOption "bar" } Block { BlockType SubSystem Name "IO-FIRE" SID "3217" Ports [1, 1] Position [380, 170, 545, 210] ZOrder -6 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "IO-FIRE" Location [297, 261, 1274, 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 "Random[a b] & I" SID "3218" Position [110, 133, 140, 147] ZOrder -1 IconDisplay "Port number" } Block { BlockType Constant Name "Constant" SID "3219" Position [110, 60, 140, 90] ZOrder -2 OutDataTypeStr "boolean" } Block { BlockType Constant Name "Constant1" SID "3220" Position [120, 175, 150, 205] ZOrder -3 Value "0" OutDataTypeStr "boolean" } Block { BlockType Switch Name "Switch3" SID "3221" Position [210, 125, 240, 155] ZOrder -4 Criteria "u2 > Threshold" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Outport Name "Time Firing" SID "3222" Position [305, 133, 335, 147] ZOrder -5 IconDisplay "Port number" } 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 "3223" Ports [1, 1] Position [380, 275, 545, 315] ZOrder -7 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "IO-FIRE2" Location [297, 261, 1274, 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 "Random[a b] & I" SID "3224" Position [110, 133, 140, 147] ZOrder -1 IconDisplay "Port number" } Block { BlockType Constant Name "Constant" SID "3225" Position [110, 60, 140, 90] ZOrder -2 OutDataTypeStr "boolean" } Block { BlockType Constant Name "Constant1" SID "3226" Position [120, 175, 150, 205] ZOrder -3 Value "0" OutDataTypeStr "boolean" } Block { BlockType Switch Name "Switch3" SID "3227" Position [210, 125, 240, 155] ZOrder -4 Criteria "u2 > Threshold" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Outport Name "Time Firing" SID "3228" Position [305, 133, 335, 147] ZOrder -5 IconDisplay "Port number" } 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 "3229" Ports [3, 1] Position [165, 219, 195, 251] ZOrder -8 Inputs "3" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType RelationalOperator Name "Relational\nOperator" SID "3230" Ports [2, 1] Position [330, 172, 360, 203] ZOrder -9 Operator "<" InputSameDT off OutDataTypeStr "boolean" } Block { BlockType RelationalOperator Name "Relational\nOperator1" SID "3231" Ports [2, 1] Position [320, 277, 350, 308] ZOrder -10 Operator "<" InputSameDT off OutDataTypeStr "boolean" } Block { BlockType SubSystem Name "Subsystem" SID "4358" Ports [4, 1] Position [120, 432, 225, 503] ZOrder -11 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem" Location [517, 101, 1282, 690] 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 "4359" Position [30, 13, 60, 27] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "error" SID "4360" Position [30, 48, 60, 62] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "par cereb aplicado" SID "4361" Position [30, 78, 60, 92] ZOrder -3 Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "par deseado" SID "4362" Position [30, 113, 60, 127] ZOrder -4 Port "4" IconDisplay "Port number" } Block { BlockType Mux Name "Mux2" SID "4363" Ports [4, 1] Position [155, 40, 160, 95] ZOrder -5 ShowName off DisplayOption "bar" } Block { BlockType S-Function Name "S-Function" SID "4364" Ports [1, 1] Position [200, 51, 310, 89] ZOrder -6 FunctionName "errormanagementmod" EnableBusSupport off } Block { BlockType Outport Name "I" SID "4365" Position [365, 63, 395, 77] ZOrder -7 IconDisplay "Port number" } Line { SrcBlock "Par max" SrcPort 1 Points [75, 0] DstBlock "Mux2" DstPort 1 } Line { SrcBlock "error" SrcPort 1 Points [75, 0] DstBlock "Mux2" DstPort 2 } Line { SrcBlock "par cereb aplicado" SrcPort 1 Points [75, 0] DstBlock "Mux2" DstPort 3 } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "I" DstPort 1 } Line { SrcBlock "par deseado" SrcPort 1 Points [75, 0] DstBlock "Mux2" DstPort 4 } Line { SrcBlock "Mux2" SrcPort 1 DstBlock "S-Function" DstPort 1 } } } Block { BlockType Constant Name "a" SID "3240" Position [60, 179, 115, 211] ZOrder -12 Value "firingrate" } Block { BlockType Constant Name "b" SID "3241" Position [60, 229, 115, 261] ZOrder -13 Value "timestep" } Block { BlockType SubSystem Name "intervalo[a b]" SID "3242" Ports [0, 1] Position [25, 25, 65, 85] ZOrder -14 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "intervalo[a b]" Location [19, 188, 274, 509] 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 "3243" Ports [2, 1] Position [130, 27, 135, 118] ZOrder -1 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Constant Name "a" SID "3244" Position [25, 34, 80, 66] ZOrder -2 Value "a" } Block { BlockType Constant Name "b" SID "3245" Position [30, 79, 85, 111] ZOrder -3 Value "b" } Block { BlockType Outport Name "I" SID "3246" Position [160, 68, 190, 82] ZOrder -4 IconDisplay "Port number" } 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 "3247" Ports [1, 1] Position [120, 50, 180, 80] ZOrder -15 MATLABFcn "u(1) + (u(2)-u(1)).*rand(1)" } Block { BlockType Outport Name "Time firing" SID "3248" Position [575, 183, 605, 197] ZOrder -16 IconDisplay "Port number" } Block { BlockType Outport Name "I" SID "3249" Position [415, 463, 445, 477] ZOrder -17 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "Time firing1" SID "3250" Position [575, 288, 605, 302] ZOrder -18 Port "3" IconDisplay "Port number" } Line { SrcBlock "intervalo[a b]" SrcPort 1 Points [35, 0] DstBlock "random" DstPort 1 } Line { SrcBlock "Par max" SrcPort 1 Points [20, 0; 0, 40] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "par deseado" SrcPort 1 Points [10, 0; 0, -25] DstBlock "Subsystem" DstPort 4 } Line { SrcBlock "Subsystem" SrcPort 1 Points [30, 0] Branch { DstBlock "I" DstPort 1 } Branch { Points [0, -165; -110, 0] 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 [30, 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 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 } Line { SrcBlock "par cerb aplicado" SrcPort 1 DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "error" SrcPort 1 Points [20, 0; 0, 20] DstBlock "Subsystem" DstPort 2 } } } Block { BlockType SubSystem Name "Poisson1 IO2" SID "3251" Ports [4, 3] Position [690, 935, 825, 1015] ZOrder -21 BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 257 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 4 Object { $ObjectID 258 Type "edit" Name "a" Prompt "Valor a del intervalo [a b] para la generación de la poisson" Value "0.001" } Object { $ObjectID 259 Type "edit" Name "b" Prompt "Valor b del intervalo [a b] para la generación de la poisson" Value "1" } Object { $ObjectID 260 Type "edit" Name "timestep" Prompt "Tiempo de paso" Value "0.002" } Object { $ObjectID 261 Type "edit" Name "firingrate" Prompt "Firingrate" Value "50" } PropName "Parameters" } } System { Name "Poisson1 IO2" Location [290, 94, 1430, 913] 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 "3252" Position [35, 398, 65, 412] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "error" SID "3253" Position [35, 433, 65, 447] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "par cerb aplicado" SID "3254" Position [35, 468, 65, 482] ZOrder -3 Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "par deseado" SID "3255" Position [35, 508, 65, 522] ZOrder -4 Port "4" IconDisplay "Port number" } Block { BlockType Demux Name "Demux2" SID "3256" Ports [1, 2] Position [225, 185, 230, 280] ZOrder -5 BackgroundColor "black" ShowName off Outputs "2" DisplayOption "bar" } Block { BlockType SubSystem Name "IO-FIRE" SID "3257" Ports [1, 1] Position [380, 170, 545, 210] ZOrder -6 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "IO-FIRE" Location [297, 261, 1274, 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 "Random[a b] & I" SID "3258" Position [110, 133, 140, 147] ZOrder -1 IconDisplay "Port number" } Block { BlockType Constant Name "Constant" SID "3259" Position [110, 60, 140, 90] ZOrder -2 OutDataTypeStr "boolean" } Block { BlockType Constant Name "Constant1" SID "3260" Position [120, 175, 150, 205] ZOrder -3 Value "0" OutDataTypeStr "boolean" } Block { BlockType Switch Name "Switch3" SID "3261" Position [210, 125, 240, 155] ZOrder -4 Criteria "u2 > Threshold" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Outport Name "Time Firing" SID "3262" Position [305, 133, 335, 147] ZOrder -5 IconDisplay "Port number" } 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 "3263" Ports [1, 1] Position [380, 275, 545, 315] ZOrder -7 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "IO-FIRE2" Location [297, 261, 1274, 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 "Random[a b] & I" SID "3264" Position [110, 133, 140, 147] ZOrder -1 IconDisplay "Port number" } Block { BlockType Constant Name "Constant" SID "3265" Position [110, 60, 140, 90] ZOrder -2 OutDataTypeStr "boolean" } Block { BlockType Constant Name "Constant1" SID "3266" Position [120, 175, 150, 205] ZOrder -3 Value "0" OutDataTypeStr "boolean" } Block { BlockType Switch Name "Switch3" SID "3267" Position [210, 125, 240, 155] ZOrder -4 Criteria "u2 > Threshold" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Outport Name "Time Firing" SID "3268" Position [305, 133, 335, 147] ZOrder -5 IconDisplay "Port number" } 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 "3269" Ports [3, 1] Position [165, 219, 195, 251] ZOrder -8 Inputs "3" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType RelationalOperator Name "Relational\nOperator" SID "3270" Ports [2, 1] Position [330, 172, 360, 203] ZOrder -9 Operator "<" InputSameDT off OutDataTypeStr "boolean" } Block { BlockType RelationalOperator Name "Relational\nOperator1" SID "3271" Ports [2, 1] Position [320, 277, 350, 308] ZOrder -10 Operator "<" InputSameDT off OutDataTypeStr "boolean" } Block { BlockType SubSystem Name "Subsystem" SID "4366" Ports [4, 1] Position [120, 432, 225, 503] ZOrder -11 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem" Location [517, 101, 1282, 690] 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 "4367" Position [30, 13, 60, 27] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "error" SID "4368" Position [30, 48, 60, 62] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "par cereb aplicado" SID "4369" Position [30, 78, 60, 92] ZOrder -3 Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "par deseado" SID "4370" Position [30, 113, 60, 127] ZOrder -4 Port "4" IconDisplay "Port number" } Block { BlockType Mux Name "Mux2" SID "4371" Ports [4, 1] Position [155, 40, 160, 95] ZOrder -5 ShowName off DisplayOption "bar" } Block { BlockType S-Function Name "S-Function" SID "4372" Ports [1, 1] Position [200, 51, 310, 89] ZOrder -6 FunctionName "errormanagementmod" EnableBusSupport off } Block { BlockType Outport Name "I" SID "4373" Position [365, 63, 395, 77] ZOrder -7 IconDisplay "Port number" } Line { SrcBlock "Par max" SrcPort 1 Points [75, 0] DstBlock "Mux2" DstPort 1 } Line { SrcBlock "error" SrcPort 1 Points [75, 0] DstBlock "Mux2" DstPort 2 } Line { SrcBlock "par cereb aplicado" SrcPort 1 Points [75, 0] DstBlock "Mux2" DstPort 3 } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "I" DstPort 1 } Line { SrcBlock "par deseado" SrcPort 1 Points [75, 0] DstBlock "Mux2" DstPort 4 } Line { SrcBlock "Mux2" SrcPort 1 DstBlock "S-Function" DstPort 1 } } } Block { BlockType Constant Name "a" SID "3280" Position [60, 179, 115, 211] ZOrder -12 Value "firingrate" } Block { BlockType Constant Name "b" SID "3281" Position [60, 229, 115, 261] ZOrder -13 Value "timestep" } Block { BlockType SubSystem Name "intervalo[a b]" SID "3282" Ports [0, 1] Position [25, 25, 65, 85] ZOrder -14 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "intervalo[a b]" Location [19, 188, 274, 509] 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 "3283" Ports [2, 1] Position [130, 27, 135, 118] ZOrder -1 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Constant Name "a" SID "3284" Position [25, 34, 80, 66] ZOrder -2 Value "a" } Block { BlockType Constant Name "b" SID "3285" Position [30, 79, 85, 111] ZOrder -3 Value "b" } Block { BlockType Outport Name "I" SID "3286" Position [160, 68, 190, 82] ZOrder -4 IconDisplay "Port number" } 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 "3287" Ports [1, 1] Position [120, 50, 180, 80] ZOrder -15 MATLABFcn "u(1) + (u(2)-u(1)).*rand(1)" } Block { BlockType Outport Name "Time firing" SID "3288" Position [575, 183, 605, 197] ZOrder -16 IconDisplay "Port number" } Block { BlockType Outport Name "I" SID "3289" Position [285, 463, 315, 477] ZOrder -17 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "Time firing1" SID "3290" Position [575, 288, 605, 302] ZOrder -18 Port "3" IconDisplay "Port number" } Line { SrcBlock "intervalo[a b]" SrcPort 1 Points [35, 0] DstBlock "random" DstPort 1 } Line { SrcBlock "Par max" SrcPort 1 Points [20, 0; 0, 40] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "error" SrcPort 1 Points [0, 20] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "par deseado" SrcPort 1 Points [10, 0; 0, -15; 25, 0] DstBlock "Subsystem" DstPort 4 } Line { SrcBlock "Subsystem" SrcPort 1 Points [30, 0] Branch { DstBlock "I" DstPort 1 } Branch { Points [0, -165; -110, 0] 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 [30, 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 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 } Line { SrcBlock "par cerb aplicado" SrcPort 1 DstBlock "Subsystem" DstPort 3 } } } Block { BlockType Switch Name "Switch" SID "897" Position [565, 260, 595, 290] ZOrder -22 Threshold "0.05" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Switch Name "Switch1" SID "898" Position [560, 555, 590, 585] ZOrder -23 InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Switch Name "Switch2" SID "899" Position [485, 945, 515, 975] ZOrder -24 InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType SubSystem Name "bloque1 IO" SID "900" Ports [1, 8] Position [985, 80, 1120, 355] ZOrder -25 BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "bloque1 IO" Location [240, 99, 1275, 917] 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] ZOrder -1 IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO0" SID "913" Position [175, 548, 205, 562] ZOrder -2 IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO1" SID "914" Position [175, 593, 205, 607] ZOrder -3 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO2" SID "915" Position [175, 638, 205, 652] ZOrder -4 Port "3" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO3" SID "916" Position [175, 683, 205, 697] ZOrder -5 Port "4" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO4" SID "917" Position [175, 728, 205, 742] ZOrder -6 Port "5" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO5" SID "918" Position [175, 773, 205, 787] ZOrder -7 Port "6" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO6" SID "919" Position [175, 818, 205, 832] ZOrder -8 Port "7" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO7" SID "920" Position [175, 863, 205, 877] ZOrder -9 Port "8" IconDisplay "Port number" } 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] ZOrder -26 BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "bloque1 IO1" Location [8, 44, 1043, 862] 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] ZOrder -1 IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO0" SID "934" Position [235, 538, 265, 552] ZOrder -2 IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO1" SID "935" Position [235, 583, 265, 597] ZOrder -3 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO2" SID "936" Position [235, 628, 265, 642] ZOrder -4 Port "3" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO3" SID "937" Position [230, 673, 260, 687] ZOrder -5 Port "4" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO4" SID "938" Position [230, 718, 260, 732] ZOrder -6 Port "5" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO5" SID "939" Position [235, 763, 265, 777] ZOrder -7 Port "6" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO6" SID "940" Position [235, 808, 265, 822] ZOrder -8 Port "7" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO7" SID "941" Position [240, 853, 270, 867] ZOrder -9 Port "8" IconDisplay "Port number" } 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] ZOrder -27 BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "bloque1 IO2" Location [8, 44, 1043, 862] 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] ZOrder -1 IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO0" SID "955" Position [255, 503, 285, 517] ZOrder -2 IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO1" SID "956" Position [250, 548, 280, 562] ZOrder -3 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO2" SID "957" Position [245, 593, 275, 607] ZOrder -4 Port "3" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO3" SID "958" Position [245, 638, 275, 652] ZOrder -5 Port "4" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO4" SID "959" Position [245, 683, 275, 697] ZOrder -6 Port "5" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO5" SID "960" Position [240, 728, 270, 742] ZOrder -7 Port "6" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO6" SID "961" Position [240, 773, 270, 787] ZOrder -8 Port "7" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO7" SID "962" Position [240, 818, 270, 832] ZOrder -9 Port "8" IconDisplay "Port number" } 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] ZOrder -28 BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "bloque1 IO3" Location [8, 44, 1043, 862] 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] ZOrder -1 IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO0" SID "976" Position [225, 518, 255, 532] ZOrder -2 IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO1" SID "977" Position [230, 563, 260, 577] ZOrder -3 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO2" SID "978" Position [235, 608, 265, 622] ZOrder -4 Port "3" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO3" SID "979" Position [235, 653, 265, 667] ZOrder -5 Port "4" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO4" SID "980" Position [235, 698, 265, 712] ZOrder -6 Port "5" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO5" SID "981" Position [240, 743, 270, 757] ZOrder -7 Port "6" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO6" SID "982" Position [245, 788, 275, 802] ZOrder -8 Port "7" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO7" SID "983" Position [245, 833, 275, 847] ZOrder -9 Port "8" IconDisplay "Port number" } 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] ZOrder -29 BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "bloque1 IO4" Location [394, 44, 1429, 862] 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] ZOrder -1 IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO0" SID "997" Position [225, 518, 255, 532] ZOrder -2 IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO1" SID "998" Position [230, 563, 260, 577] ZOrder -3 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO2" SID "999" Position [235, 608, 265, 622] ZOrder -4 Port "3" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO3" SID "1000" Position [235, 653, 265, 667] ZOrder -5 Port "4" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO4" SID "1001" Position [235, 698, 265, 712] ZOrder -6 Port "5" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO5" SID "1002" Position [240, 743, 270, 757] ZOrder -7 Port "6" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO6" SID "1003" Position [245, 788, 275, 802] ZOrder -8 Port "7" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO7" SID "1004" Position [245, 833, 275, 847] ZOrder -9 Port "8" IconDisplay "Port number" } 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] ZOrder -30 BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "bloque1 IO5" Location [8, 44, 1043, 862] 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] ZOrder -1 IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO0" SID "1018" Position [225, 518, 255, 532] ZOrder -2 IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO1" SID "1019" Position [230, 563, 260, 577] ZOrder -3 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO2" SID "1020" Position [235, 608, 265, 622] ZOrder -4 Port "3" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO3" SID "1021" Position [235, 653, 265, 667] ZOrder -5 Port "4" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO4" SID "1022" Position [235, 698, 265, 712] ZOrder -6 Port "5" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO5" SID "1023" Position [240, 743, 270, 757] ZOrder -7 Port "6" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO6" SID "1024" Position [245, 788, 275, 802] ZOrder -8 Port "7" IconDisplay "Port number" } Block { BlockType Outport Name "TimefiringIO7" SID "1025" Position [245, 833, 275, 847] ZOrder -9 Port "8" IconDisplay "Port number" } 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] ZOrder -31 IconDisplay "Port number" } Block { BlockType Outport Name "Iout Poisson2" SID "1027" Position [875, 543, 905, 557] ZOrder -32 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "Iout Poisson3" SID "1028" Position [845, 968, 875, 982] ZOrder -33 Port "3" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO0" SID "1037" Position [1220, 88, 1250, 102] ZOrder -34 Port "4" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO1" SID "1038" Position [1220, 123, 1250, 137] ZOrder -35 Port "5" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO2" SID "1039" Position [1220, 158, 1250, 172] ZOrder -36 Port "6" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO3" SID "1040" Position [1220, 193, 1250, 207] ZOrder -37 Port "7" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO4" SID "1041" Position [1220, 228, 1250, 242] ZOrder -38 Port "8" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO5" SID "1042" Position [1220, 263, 1250, 277] ZOrder -39 Port "9" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO6" SID "1043" Position [1220, 298, 1250, 312] ZOrder -40 Port "10" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO7" SID "1044" Position [1220, 333, 1250, 347] ZOrder -41 Port "11" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO8" SID "1053" Position [1260, 423, 1290, 437] ZOrder -42 Port "12" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO9" SID "1054" Position [1260, 458, 1290, 472] ZOrder -43 Port "13" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO10" SID "1055" Position [1260, 493, 1290, 507] ZOrder -44 Port "14" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO11" SID "1056" Position [1260, 528, 1290, 542] ZOrder -45 Port "15" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO12" SID "1057" Position [1260, 568, 1290, 582] ZOrder -46 Port "16" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO13" SID "1058" Position [1260, 598, 1290, 612] ZOrder -47 Port "17" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO14" SID "1059" Position [1260, 633, 1290, 647] ZOrder -48 Port "18" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO15" SID "1060" Position [1265, 668, 1295, 682] ZOrder -49 Port "19" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO16" SID "1069" Position [1265, 723, 1295, 737] ZOrder -50 Port "20" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO17" SID "1070" Position [1265, 758, 1295, 772] ZOrder -51 Port "21" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO18" SID "1071" Position [1265, 793, 1295, 807] ZOrder -52 Port "22" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO19" SID "1072" Position [1265, 828, 1295, 842] ZOrder -53 Port "23" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO20" SID "1073" Position [1265, 863, 1295, 877] ZOrder -54 Port "24" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO21" SID "1074" Position [1270, 898, 1300, 912] ZOrder -55 Port "25" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO22" SID "1075" Position [1270, 933, 1300, 947] ZOrder -56 Port "26" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO23" SID "1076" Position [1270, 968, 1300, 982] ZOrder -57 Port "27" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO24" SID "1085" Position [1290, 1028, 1320, 1042] ZOrder -58 Port "28" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO25" SID "1086" Position [1290, 1063, 1320, 1077] ZOrder -59 Port "29" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO26" SID "1087" Position [1290, 1098, 1320, 1112] ZOrder -60 Port "30" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO27" SID "1088" Position [1290, 1133, 1320, 1147] ZOrder -61 Port "31" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO28" SID "1089" Position [1290, 1168, 1320, 1182] ZOrder -62 Port "32" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO29" SID "1090" Position [1290, 1203, 1320, 1217] ZOrder -63 Port "33" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO30" SID "1091" Position [1290, 1238, 1320, 1252] ZOrder -64 Port "34" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO31" SID "1092" Position [1295, 1273, 1325, 1287] ZOrder -65 Port "35" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO32" SID "1101" Position [1275, 1333, 1305, 1347] ZOrder -66 Port "36" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO33" SID "1102" Position [1275, 1373, 1305, 1387] ZOrder -67 Port "37" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO34" SID "1103" Position [1280, 1413, 1310, 1427] ZOrder -68 Port "38" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO35" SID "1104" Position [1275, 1453, 1305, 1467] ZOrder -69 Port "39" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO36" SID "1105" Position [1275, 1493, 1305, 1507] ZOrder -70 Port "40" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO37" SID "1106" Position [1280, 1533, 1310, 1547] ZOrder -71 Port "41" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO38" SID "1107" Position [1280, 1573, 1310, 1587] ZOrder -72 Port "42" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO39" SID "1108" Position [1275, 1613, 1305, 1627] ZOrder -73 Port "43" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO40" SID "1117" Position [1275, 1683, 1305, 1697] ZOrder -74 Port "44" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO41" SID "1118" Position [1275, 1728, 1305, 1742] ZOrder -75 Port "45" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO42" SID "1119" Position [1275, 1773, 1305, 1787] ZOrder -76 Port "46" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO43" SID "1120" Position [1275, 1818, 1305, 1832] ZOrder -77 Port "47" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO44" SID "1121" Position [1275, 1863, 1305, 1877] ZOrder -78 Port "48" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO45" SID "1122" Position [1280, 1908, 1310, 1922] ZOrder -79 Port "49" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO46" SID "1123" Position [1285, 1953, 1315, 1967] ZOrder -80 Port "50" IconDisplay "Port number" } Block { BlockType Outport Name "Time Firing IO47" SID "1124" Position [1285, 1998, 1315, 2012] ZOrder -81 Port "51" IconDisplay "Port number" } Line { SrcBlock "Poisson1 IO" SrcPort 1 Points [85, 0] DstBlock "bloque1 IO" DstPort 1 } Line { SrcBlock "Poisson1 IO" SrcPort 3 Points [80, 0; 0, 265] DstBlock "bloque1 IO1" DstPort 1 } Line { SrcBlock "Par max Poisson1" SrcPort 1 Points [0, 15] 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 "Par deseado1" SrcPort 1 Points [0, -20] DstBlock "Poisson1 IO" DstPort 4 } Line { SrcBlock "Par max Poisson2" SrcPort 1 Points [30, 0] DstBlock "Poisson1 IO1" DstPort 1 } Line { SrcBlock "Error Poisson2" SrcPort 1 DstBlock "Poisson1 IO1" DstPort 2 } Line { SrcBlock "Par deseado2" SrcPort 1 Points [0, -30] DstBlock "Poisson1 IO1" DstPort 4 } Line { SrcBlock "Poisson1 IO1" SrcPort 3 Points [75, 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 "Digital Clock" SrcPort 1 Points [30, 0; 0, -55] DstBlock "Switch" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 Points [20, 0; 0, -95] DstBlock "Switch" DstPort 3 } Line { SrcBlock "Switch" SrcPort 1 DstBlock "Poisson1 IO" DstPort 3 } Line { SrcBlock "Par cerb aplicado2" SrcPort 1 DstBlock "Switch1" DstPort 1 } Line { SrcBlock "Digital Clock1" SrcPort 1 Points [20, 0; 0, -40] DstBlock "Switch1" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 Points [35, 0] DstBlock "Switch1" DstPort 3 } Line { SrcBlock "Switch1" SrcPort 1 Points [105, 0] DstBlock "Poisson1 IO1" DstPort 3 } Line { SrcBlock "Par cerb aplicado1" SrcPort 1 DstBlock "Switch" DstPort 1 } Line { SrcBlock "Par cerb aplicado3" SrcPort 1 DstBlock "Switch2" DstPort 1 } Line { SrcBlock "Digital Clock2" SrcPort 1 Points [30, 0; 0, -40] DstBlock "Switch2" DstPort 2 } Line { SrcBlock "Constant2" SrcPort 1 Points [35, 0] DstBlock "Switch2" DstPort 3 } Line { SrcBlock "Switch2" SrcPort 1 Points [15, 0; 0, 50; 95, 0; 0, -25] DstBlock "Poisson1 IO2" DstPort 3 } Line { SrcBlock "Par max Poisson3" SrcPort 1 Points [40, 0; 0, 10] DstBlock "Poisson1 IO2" DstPort 1 } Line { SrcBlock "Error Poisson3" SrcPort 1 Points [80, 0] DstBlock "Poisson1 IO2" DstPort 2 } Line { SrcBlock "Par deseado3" SrcPort 1 Points [80, 0] DstBlock "Poisson1 IO2" DstPort 4 } Line { SrcBlock "Poisson1 IO2" SrcPort 2 DstBlock "Iout Poisson3" DstPort 1 } Line { SrcBlock "Poisson1 IO2" SrcPort 1 Points [65, 0; 0, 530] DstBlock "bloque1 IO4" DstPort 1 } Line { SrcBlock "Poisson1 IO2" SrcPort 3 Points [20, 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 [85, 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] ZOrder -14 ShowName off Inputs "48" DisplayOption "bar" } Block { BlockType ZeroOrderHold Name "Zero-Order\nHold" SID "3292" Position [635, 645, 670, 675] ZOrder -15 SampleTime "0.002" } Block { BlockType Outport Name "Time firing 48 IO" SID "1140" Position [765, 653, 795, 667] ZOrder -16 IconDisplay "Port number" } Block { BlockType Outport Name "Iout Poisson1" SID "1141" Position [455, 88, 485, 102] ZOrder -17 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "Iout Poisson2" SID "1142" Position [460, 123, 490, 137] ZOrder -18 Port "3" IconDisplay "Port number" } Block { BlockType Outport Name "Iout Poisson3" SID "1143" Position [460, 163, 490, 177] ZOrder -19 Port "4" IconDisplay "Port number" } Line { SrcBlock "Par max Poisson1" SrcPort 1 DstBlock "IO Subsystem " DstPort 1 } Line { SrcBlock "Error poisson1" SrcPort 1 DstBlock "IO Subsystem " DstPort 2 } Line { SrcBlock "Par deseado1" SrcPort 1 DstBlock "IO Subsystem " DstPort 4 } Line { SrcBlock "Par max Poisson2" SrcPort 1 DstBlock "IO Subsystem " DstPort 5 } Line { SrcBlock "Error Poisson2" SrcPort 1 DstBlock "IO Subsystem " DstPort 6 } Line { SrcBlock "Par deseado2" SrcPort 1 DstBlock "IO Subsystem " DstPort 8 } Line { SrcBlock "Par cerb aplicado2" SrcPort 1 DstBlock "IO Subsystem " DstPort 7 } Line { SrcBlock "Par cerb aplicado1" SrcPort 1 DstBlock "IO Subsystem " DstPort 3 } Line { SrcBlock "IO Subsystem " SrcPort 1 Points [20, 0] DstBlock "Iout Poisson1" DstPort 1 } Line { SrcBlock "IO Subsystem " SrcPort 2 Points [25, 0] DstBlock "Iout Poisson2" DstPort 1 } Line { SrcBlock "IO Subsystem " SrcPort 3 DstBlock "Iout Poisson3" DstPort 1 } Line { SrcBlock "Par max Poisson3" SrcPort 1 DstBlock "IO Subsystem " DstPort 9 } Line { SrcBlock "Error Poisson3" SrcPort 1 DstBlock "IO Subsystem " DstPort 10 } Line { SrcBlock "Par cerb aplicado3" SrcPort 1 DstBlock "IO Subsystem " DstPort 11 } Line { SrcBlock "Par deseado3" SrcPort 1 DstBlock "IO Subsystem " DstPort 12 } 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] ZOrder -21 IconDisplay "Port number" } Block { BlockType Outport Name "IOcurrent1" SID "1243" Position [675, 213, 705, 227] ZOrder -22 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "IOcurrent2" SID "1248" Position [675, 293, 705, 307] ZOrder -23 Port "3" IconDisplay "Port number" } Block { BlockType Outport Name "MFtiming" SID "1251" Position [520, 563, 550, 577] ZOrder -24 Port "4" IconDisplay "Port number" } Block { BlockType Outport Name "IOTiming" SID "1234" Position [675, 58, 705, 72] ZOrder -25 Port "5" IconDisplay "Port number" } Block { BlockType Outport Name "MFcurrent" SID "1252" Position [495, 448, 525, 462] ZOrder -26 Port "6" IconDisplay "Port number" } Block { BlockType Outport Name "ErrorCurrent" SID "4420" Position [755, 323, 785, 337] ZOrder -27 Port "7" IconDisplay "Port number" } Block { BlockType Outport Name "ErrorCurrent1" SID "4424" Position [745, 358, 775, 372] ZOrder -28 Port "8" IconDisplay "Port number" } Block { BlockType Outport Name "ErrorCurrent2" SID "4425" Position [745, 388, 775, 402] ZOrder -29 Port "9" IconDisplay "Port number" } Line { SrcBlock "Desired Position" SrcPort 1 Points [5, 0] Branch { DstBlock "MossyInputsSubsystem" DstPort 1 } Branch { Points [0, -190] DstBlock "ErrorModel" DstPort 3 } } Line { SrcBlock "Desired Velocities" SrcPort 1 Points [10, 0] Branch { DstBlock "MossyInputsSubsystem" DstPort 2 } Branch { Points [0, -250] DstBlock "ErrorModel" DstPort 4 } } Line { SrcBlock "Par max Poisson1" SrcPort 1 Points [15, 0] DstBlock "Subsystem IO" DstPort 1 } Line { SrcBlock "Subsystem IO" SrcPort 1 Points [0, -5] DstBlock "IOTiming" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 Points [70, 0; 0, -115] DstBlock "Subsystem IO" DstPort 2 } Line { SrcBlock "Par cerb aplicado1" SrcPort 1 Points [15, 0] DstBlock "Subsystem IO" DstPort 3 } Line { SrcBlock "Demux1" SrcPort 1 Points [1, 11; 120, 0] DstBlock "Subsystem IO" DstPort 4 } Line { SrcBlock "Subsystem IO" SrcPort 2 Points [0, -10] DstBlock "IOcurrent" DstPort 1 } Line { SrcBlock "Par max Poisson2" SrcPort 1 Points [15, 0] DstBlock "Subsystem IO" DstPort 5 } Line { SrcBlock "Demux" SrcPort 2 Points [80, 0; 0, -35] DstBlock "Subsystem IO" DstPort 6 } Line { SrcBlock "Par cerb aplicado2" SrcPort 1 Points [10, 0] DstBlock "Subsystem IO" DstPort 7 } Line { SrcBlock "Subsystem IO" SrcPort 3 Points [0, -10] DstBlock "IOcurrent1" DstPort 1 } Line { SrcBlock "Par max Poisson3" SrcPort 1 Points [10, 0] DstBlock "Subsystem IO" DstPort 9 } Line { SrcBlock "Demux" SrcPort 3 Points [0, 45] DstBlock "Subsystem IO" DstPort 10 } Line { SrcBlock "Par cerb aplicado3" SrcPort 1 Points [10, 0] DstBlock "Subsystem IO" DstPort 11 } Line { SrcBlock "Subsystem IO" SrcPort 4 Points [0, -10] DstBlock "IOcurrent2" DstPort 1 } Line { SrcBlock "Demux1" SrcPort 3 Points [0, 190] DstBlock "Subsystem IO" DstPort 12 } Line { SrcBlock "Pares deseados" SrcPort 1 DstBlock "Demux1" 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 [70, 0; 0, 35] DstBlock "ErrorModel" DstPort 1 } Line { SrcBlock "qdreal" SrcPort 1 DstBlock "ErrorModel" DstPort 2 } Line { SrcBlock "Demux1" SrcPort 2 Points [35, 0; 0, 110] DstBlock "Subsystem IO" DstPort 8 } Line { SrcBlock "MossyInputsSubsystem" SrcPort 2 DstBlock "Mux" DstPort 1 } Line { SrcBlock "MossyInputsSubsystem" SrcPort 4 DstBlock "Mux" DstPort 2 } Line { SrcBlock "MossyInputsSubsystem" SrcPort 6 DstBlock "Mux" DstPort 3 } Line { SrcBlock "MossyInputsSubsystem" SrcPort 8 DstBlock "Mux" DstPort 4 } Line { SrcBlock "MossyInputsSubsystem" SrcPort 10 DstBlock "Mux" DstPort 5 } Line { SrcBlock "MossyInputsSubsystem" SrcPort 12 DstBlock "Mux" DstPort 6 } Line { SrcBlock "MossyContextSubsystem" SrcPort 2 Points [65, 0; 0, -100] DstBlock "Mux" DstPort 7 } Line { SrcBlock "MossyContextSubsystem" SrcPort 4 Points [100, 0; 0, -120] DstBlock "Mux" DstPort 8 } Line { SrcBlock "Mux" SrcPort 1 Points [95, 0; 0, 105] DstBlock "MFtiming" DstPort 1 } Line { Labels [0, 0] SrcBlock "MossyInputsSubsystem" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "MossyInputsSubsystem" SrcPort 3 DstBlock "Mux1" DstPort 2 } Line { SrcBlock "MossyInputsSubsystem" SrcPort 5 DstBlock "Mux1" DstPort 3 } Line { SrcBlock "MossyInputsSubsystem" SrcPort 7 DstBlock "Mux1" DstPort 4 } Line { Labels [0, 0] SrcBlock "MossyInputsSubsystem" SrcPort 9 DstBlock "Mux1" DstPort 5 } Line { SrcBlock "MossyInputsSubsystem" SrcPort 11 DstBlock "Mux1" DstPort 6 } Line { SrcBlock "MossyContextSubsystem" SrcPort 1 Points [155, 0; 0, -90] DstBlock "Mux1" DstPort 7 } Line { SrcBlock "MossyContextSubsystem" SrcPort 3 Points [155, 0; 0, -110] DstBlock "Mux1" DstPort 8 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "MFcurrent" DstPort 1 } 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] ZOrder -37 ShowName off IconShape "round" Inputs "++|" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum1" SID "4459" Ports [2, 1] Position [770, 310, 790, 330] ZOrder -38 ShowName off IconShape "round" Inputs "-+|" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum2" SID "4468" Ports [2, 1] Position [1755, 805, 1775, 825] ZOrder -39 ShowName off IconShape "round" Inputs "+-|" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum3" SID "4418" Ports [2, 1] Position [380, 485, 400, 505] ZOrder -40 ShowName off IconShape "round" Inputs "-+|" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum4" SID "4469" Ports [2, 1] Position [1755, 860, 1775, 880] ZOrder -41 ShowName off IconShape "round" Inputs "+-|" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum5" SID "4470" Ports [2, 1] Position [1755, 910, 1775, 930] ZOrder -42 ShowName off IconShape "round" Inputs "+-|" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum6" SID "4494" Ports [2, 1] Position [1220, 1005, 1240, 1025] ZOrder -43 ShowName off IconShape "round" Inputs "+-|" InputSameDT off OutDataTypeStr "uint16" SaturateOnIntegerOverflow off } Block { BlockType SubSystem Name "System Delay" SID "1321" Ports [3, 3] Position [935, 401, 1060, 499] ZOrder -44 BlockMirror on NamePlacement "alternate" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off Object { $PropName "MaskObject" $ObjectID 262 $ClassName "Simulink.Mask" Object { $PropName "Parameters" $ObjectID 263 $ClassName "Simulink.MaskParameter" Type "edit" Name "delta1" Prompt "Delay delta1" Value "0" } } System { Name "System Delay" Location [365, 123, 729, 571] 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 "torqueCer" SID "1322" Position [25, 33, 55, 47] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "torqueCer1" SID "1323" Position [40, 118, 70, 132] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "torqueCer2" SID "1324" Position [105, 198, 135, 212] ZOrder -3 Port "3" IconDisplay "Port number" } Block { BlockType TransportDelay Name "Transport\nDelay1" SID "1325" Ports [1, 1] Position [140, 25, 170, 55] ZOrder -4 DelayTime "delta1" } Block { BlockType TransportDelay Name "Transport\nDelay2" SID "1326" Ports [1, 1] Position [150, 95, 180, 125] ZOrder -5 DelayTime "delta1" } Block { BlockType TransportDelay Name "Transport\nDelay3" SID "1327" Ports [1, 1] Position [215, 175, 245, 205] ZOrder -6 DelayTime "delta1" } Block { BlockType Outport Name "torqueCerdelay" SID "1328" Position [195, 33, 225, 47] ZOrder -7 IconDisplay "Port number" } Block { BlockType Outport Name "torqueCerdelay1" SID "1329" Position [210, 103, 240, 117] ZOrder -8 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "torqueCerdelay2" SID "1330" Position [275, 183, 305, 197] ZOrder -9 Port "3" IconDisplay "Port number" } Line { SrcBlock "torqueCer" SrcPort 1 DstBlock "Transport\nDelay1" DstPort 1 } Line { SrcBlock "Transport\nDelay1" SrcPort 1 DstBlock "torqueCerdelay" DstPort 1 } Line { SrcBlock "torqueCer1" SrcPort 1 Points [5, 0; 0, -15] DstBlock "Transport\nDelay2" DstPort 1 } Line { SrcBlock "Transport\nDelay2" SrcPort 1 DstBlock "torqueCerdelay1" DstPort 1 } Line { SrcBlock "torqueCer2" SrcPort 1 Points [5, 0; 0, -15] DstBlock "Transport\nDelay3" DstPort 1 } Line { SrcBlock "Transport\nDelay3" SrcPort 1 DstBlock "torqueCerdelay2" DstPort 1 } } } Block { BlockType Terminator Name "Terminator1" SID "4472" Position [1040, 690, 1060, 710] ZOrder -45 } Block { BlockType Terminator Name "Terminator2" SID "4474" Position [1040, 800, 1060, 820] ZOrder -46 } Block { BlockType Terminator Name "Terminator3" SID "2298" Position [1015, 730, 1035, 750] ZOrder -47 } Block { BlockType Terminator Name "Terminator4" SID "2299" Position [615, 375, 635, 395] ZOrder -48 } Block { BlockType ToFile Name "ToFileMFDCN" SID "4483" Ports [1] Position [1670, 1025, 1730, 1055] ZOrder -49 Filename "./Register/MFDCNWeightAllLearning10.mat" } Block { BlockType ToFile Name "ToFilePC" SID "4482" Ports [1] Position [1670, 975, 1730, 1005] ZOrder -50 NamePlacement "alternate" Filename "./Register/PCActivityAllLearning10.mat" } Block { BlockType ToFile Name "ToFilePCDCN" SID "4484" Ports [1] Position [1670, 1080, 1730, 1110] ZOrder -51 Filename "./Register/PCDCNWeightAllLearning10.mat" } Block { BlockType ToFile Name "ToFileTorque" SID "4486" Ports [1] Position [680, 240, 740, 270] ZOrder -52 Filename "./Register/TorqueAllLearning10.mat" } Block { BlockType ToFile Name "ToFileTorqueInd" SID "4485" Ports [1] Position [980, 279, 1055, 311] ZOrder -53 Filename "./Register/Torque1AllLearning10.mat" } Block { BlockType ZeroOrderHold Name "Zero-Order\nHold" SID "4406" Position [1300, 970, 1325, 1000] ZOrder -54 SampleTime "0.002" } Block { BlockType SignalViewerScope Name "Scope1" SID "4350" Ports [] Position [20, 15, 60, 55] ZOrder -55 IOType "viewer" Location [188, 365, 512, 604] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } ShowDataMarkers off ShowLegends off MaxDataPoints "7500" RefreshTime 0.035000 } Line { SrcBlock "3 sin" SrcPort 1 Points [60, 0] Branch { DstBlock "RNE " DstPort 1 } Branch { Labels [0, 0] Points [0, 105] Branch { Points [0, 110] DstBlock "Subsystem" DstPort 1 } Branch { DstBlock "RNE 1" DstPort 1 } } } Line { SrcBlock "3 sin" SrcPort 2 Points [40, 0] Branch { DstBlock "RNE " DstPort 2 } Branch { Labels [0, 0] Points [0, 105] Branch { Points [0, 110] DstBlock "Subsystem" DstPort 2 } Branch { DstBlock "RNE 1" DstPort 2 } } } Line { SrcBlock "3 sin" SrcPort 3 Points [85, 0] Branch { DstBlock "RNE " DstPort 3 } Branch { Points [0, 105] DstBlock "RNE 1" 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 } Branch { Points [0, 240] DstBlock "Subsystem" DstPort 3 } } } Line { SrcBlock "ROBOT RR" SrcPort 1 Points [100, 0] DstBlock "Subsystem" DstPort 4 } Line { SrcBlock "ROBOT RR" SrcPort 2 Points [65, 0; 0, 320] DstBlock "Subsystem" DstPort 5 } Line { SrcBlock "Constant" SrcPort 1 Points [115, 0] DstBlock "Subsystem" DstPort 6 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Subsystem" DstPort 8 } Line { SrcBlock "Constant4" SrcPort 1 Points [120, 0] DstBlock "Subsystem" DstPort 10 } Line { SrcBlock "System Delay" SrcPort 1 Points [-310, 0; 0, 310] DstBlock "Subsystem" DstPort 7 } Line { SrcBlock "System Delay" SrcPort 2 Points [-285, 0; 0, 330] DstBlock "Subsystem" DstPort 9 } Line { SrcBlock "System Delay" SrcPort 3 Points [-260, 0; 0, 350] DstBlock "Subsystem" DstPort 11 } Line { SrcBlock "Sum" SrcPort 1 Points [5, 0] DstBlock "ROBOT RR" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 6 DstBlock "Terminator3" DstPort 1 } Line { SrcBlock "ROBOT RR" SrcPort 3 DstBlock "Terminator4" DstPort 1 } Line { SrcBlock "Mux2" SrcPort 1 Points [0, 5; 70, 0] Branch { Points [35, 0; 0, 15] Branch { DstBlock "Sum" DstPort 1 } Branch { DstBlock "Sum1" DstPort 1 } } Branch { Points [0, -35] DstBlock "Mux" DstPort 1 } } Line { SrcBlock "Mux" SrcPort 1 DstBlock "ToFileTorque" DstPort 1 } Line { SrcBlock "Mux1" SrcPort 1 Points [0, 10; -105, 0] DstBlock "ToFileTorqueInd" DstPort 1 } Line { Labels [0, 0] SrcBlock "Constant2" SrcPort 1 Points [0, 35] DstBlock "S-Function" DstPort 1 } Line { SrcBlock "S-Function" SrcPort 1 Points [65, 0; 0, -5] Branch { DstBlock "Demux" DstPort 1 } Branch { Points [15, 0] DstBlock "Scope8" DstPort 1 } } Line { SrcBlock "S-Function" SrcPort 2 Points [0, -5; 10, 0] Branch { Points [30, 0] DstBlock "Scope2" DstPort 1 } Branch { Points [0, 25] DstBlock "ToFilePC" DstPort 1 } } Line { SrcBlock "S-Function" SrcPort 3 Points [10, 0; 0, 20] Branch { DstBlock "Scope3" DstPort 1 } Branch { Points [0, 25] DstBlock "ToFileMFDCN" DstPort 1 } } Line { SrcBlock "S-Function" SrcPort 4 Points [0, 45] Branch { DstBlock "Scope4" DstPort 1 } Branch { Points [0, 30] DstBlock "ToFilePCDCN" DstPort 1 } } Line { SrcBlock "RNE 1" SrcPort 1 DstBlock "Sum3" DstPort 2 } Line { SrcBlock "Sum3" SrcPort 1 Points [0, -175] Branch { DstBlock "Sum1" DstPort 2 } Branch { Points [0, -55] 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; -600, 0] Branch { DstBlock "System Delay" DstPort 1 } Branch { Points [0, -125] DstBlock "Mux1" DstPort 1 } } Line { SrcBlock "Mux7" SrcPort 1 Points [95, 0; 0, -180; -575, 0] Branch { DstBlock "System Delay" DstPort 2 } Branch { Points [0, -125] DstBlock "Mux1" DstPort 2 } } Line { SrcBlock "Mux8" SrcPort 1 Points [40, 0; 0, -210; -565, 0] Branch { DstBlock "System Delay" DstPort 3 } Branch { Points [0, -125] DstBlock "Mux1" DstPort 3 } } Line { SrcBlock "Sum1" SrcPort 1 Points [35, 0; 0, -15] DstBlock "Scope6" DstPort 1 } 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, -165] 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, -175] 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 "Mux5" SrcPort 1 DstBlock "Terminator1" DstPort 1 } Line { SrcBlock "Mux4" SrcPort 1 Points [15, 0] Branch { DstBlock "Terminator2" DstPort 1 } Branch { Points [0, 80] DstBlock "Scope7" DstPort 1 } } Line { SrcBlock "Subsystem" SrcPort 5 Points [15, 0; 0, 25] DstBlock "Mux5" DstPort 2 } Line { SrcBlock "Subsystem" SrcPort 4 DstBlock "Mux5" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 7 DstBlock "Mux4" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 8 DstBlock "Mux4" DstPort 2 } Line { SrcBlock "Subsystem" SrcPort 9 DstBlock "Mux4" DstPort 3 } Line { SrcBlock "Mux3" SrcPort 1 DstBlock "Demux1" DstPort 1 } Line { SrcBlock "Mux9" SrcPort 1 Points [55, 0; 0, 110] Branch { Points [0, 275] DstBlock "Zero-Order\nHold" DstPort 1 } Branch { DstBlock "Scope5" 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 DstBlock "Mux3" DstPort 2 } Line { SrcBlock "Subsystem" SrcPort 3 DstBlock "Mux3" DstPort 3 } Line { SrcBlock "Digital Clock" SrcPort 1 Points [65, 0; 0, -15] DstBlock "Display" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [50, 0] DstBlock "Sum6" DstPort 1 } Line { SrcBlock "Counter\nLimited" SrcPort 1 Points [35, 0; 0, 30; 170, 0] DstBlock "S-Function" DstPort 3 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Q1 Gain" DstPort 1 } Line { SrcBlock "Q1 Gain" SrcPort 1 Points [10, 0; 0, -650; -1610, 0] DstBlock "Mux2" DstPort 1 } Line { SrcBlock "Sum4" SrcPort 1 DstBlock "Q2 Gain" DstPort 1 } Line { SrcBlock "Q2 Gain" SrcPort 1 Points [15, 0; 0, -715; -1625, 0; 0, 120] DstBlock "Mux2" DstPort 2 } Line { SrcBlock "Sum5" SrcPort 1 DstBlock "Q3 Gain" DstPort 1 } Line { SrcBlock "Q3 Gain" SrcPort 1 Points [20, 0; 0, -770; -1640, 0; 0, 150] DstBlock "Mux2" DstPort 3 } } } # Finite State Machines # # Stateflow Version 7.6 (R2013a) dated Jan 19 2013, 14:18:25 # # Stateflow { machine { id 1 name "EdLuTSimulink" created "15-Apr-2011 13:22:27" isLibrary 0 firstTarget 2 sfVersion 76014001.0015 } target { id 2 name "sfun" description "Default Simulink S-Function Target." machine 1 linkNode [1 0 0] } }