Model { Name "GPESTN1_GPEDBS" Version 6.1 MdlSubVersion 0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.347" NumModelReferences 0 NumTestPointedSignals 0 } SavedCharacterEncoding "ibm-5348_P100-1997" SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ShowTestPointIcons on ShowViewerIcons on SortedOrder off ExecutionContextIcon off ShowLinearizationAnnotations on RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar off BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Wed Sep 28 18:25:24 2005" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%<Auto>" LastModifiedBy "marco" ModifiedDateFormat "%<Auto>" LastModifiedDate "Thu Feb 22 12:30:39 2007" ModelVersionFormat "1.%<AutoIncrement:347>" ConfigurationManager "None" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeBatchMode off ExtModeEnableFloating on ExtModeTrigType "manual" ExtModeTrigMode "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 off BufferReuse on StrictBusMsg "None" ProdHWDeviceType "32-bit Generic" ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 1 Version "1.0.4" Array { Type "Handle" Dimension 7 Simulink.SolverCC { $ObjectID 2 Version "1.0.4" StartTime "0.0" StopTime "1000.0" AbsTol "auto" FixedStep "auto" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep "0.01" MinStep "0.005" RelTol "1e-3" SolverMode "Auto" Solver "ode45" SolverName "ode45" ZeroCrossControl "UseLocalSettings" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" RateTranMode "Deterministic" } Simulink.DataIOCC { $ObjectID 3 Version "1.0.4" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints on MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveFormat "Array" SaveOutput on SaveState off SignalLogging on SaveTime on StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "sigsOut" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" } Simulink.OptimizationCC { $ObjectID 4 Array { Type "Cell" Dimension 5 Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "InitFltsAndDblsToZero" Cell "OptimizeModelRefInitCode" Cell "NoFixptDivByZeroProtection" PropName "DisabledProps" } Version "1.0.4" BlockReduction on BooleanDataType off ConditionallyExecuteInputs on ConditionalExecOptimization "on_for_testing" InlineParams off InlineInvariantSignals off OptimizeBlockIOStorage on BufferReuse on EnforceIntegerDowncast on ExpressionFolding on FoldNonRolledExpr on LocalBlockOutputs on ParameterPooling on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero on NoFixptDivByZeroProtection off OptimizeModelRefInitCode off LifeSpan "inf" } Simulink.DebuggingCC { $ObjectID 5 Version "1.0.4" RTPrefix "error" ConsistencyChecking "none" ArrayBoundsChecking "none" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" CheckSSInitialOutputMsg on CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "TryResolveAllWithWarning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" SolverPrmCheckMsg "none" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterPrecisionLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" FcnCallInpInsideContextMsg "Use local settings" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SFcnCompatibilityMsg "none" UniqueDataStoreMsg "none" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" ModelReferenceSimTargetVerbose off UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" } Simulink.HardwareCC { $ObjectID 6 Version "1.0.4" ProdBitPerChar 8 ProdBitPerShort 16 ProdBitPerInt 32 ProdBitPerLong 32 ProdIntDivRoundTo "Undefined" ProdEndianess "Unspecified" ProdWordSize 32 ProdShiftRightIntArith on ProdHWDeviceType "32-bit Generic" TargetBitPerChar 8 TargetBitPerShort 16 TargetBitPerInt 32 TargetBitPerLong 32 TargetShiftRightIntArith on TargetIntDivRoundTo "Undefined" TargetEndianess "Unspecified" TargetWordSize 32 TargetTypeEmulationWarnSuppressLevel 0 TargetPreprocMaxBitsSint 32 TargetPreprocMaxBitsUint 32 TargetHWDeviceType "Specified" TargetUnknown on ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 7 Version "1.0.4" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" ModelReferenceNumInstancesAllowed "Multi" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 8 Array { Type "Cell" Dimension 1 Cell "IncludeHyperlinkInReport" PropName "DisabledProps" } Version "1.0.4" SystemTargetFile "grt.tlc" GenCodeOnly off MakeCommand "make_rtw" 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 IncludeHyperlinkInReport off LaunchReport off Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 9 Array { Type "Cell" Dimension 9 Cell "IgnoreCustomStorageClasses" Cell "InsertBlockDesc" Cell "SFDataObjDesc" Cell "SimulinkDataObjDesc" Cell "DefineNamingRule" Cell "SignalNamingRule" Cell "ParamNamingRule" Cell "InlinedPrmAccess" Cell "CustomSymbolStr" PropName "DisabledProps" } Version "1.0.4" ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses on IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off IncDataTypeInIds off PrefixModelToSubsysFcnNames on CustomSymbolStr "$R$N$M" MangleLength 1 DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off SimulinkBlockComments on EnableCustomComments off InlinedPrmAccess "Literals" ReqsInCode off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 10 Array { Type "Cell" Dimension 12 Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "MultiInstanceERTCode" Cell "PurelyIntegerCode" Cell "SupportNonFinite" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" PropName "DisabledProps" } Version "1.0.4" TargetFcnLib "ansi_tfl_tmw.mat" GenFloatMathFcnCalls "ANSI_C" UtilityFuncGeneration "Auto" GenerateFullHeader on GenerateSampleERTMain off IsPILTarget off ModelReferenceCompliant on IncludeMdlTerminateFcn on CombineOutputUpdateFcns off SuppressErrorStatus off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off GenerateASAP2 off } PropName "Components" } } PropName "Components" } Name "Configuration" SimulationMode "normal" CurrentDlgPage "Solver" } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 1 } BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType Clock DisplayTime off } Block { BlockType Constant Value "1" VectorParams1D on OutDataTypeMode "Inherit from 'Constant value'" OutDataType "sfix(16)" ConRadixGroup "Use specified scaling" OutScaling "2^0" SampleTime "inf" } Block { BlockType From IconDisplay "Tag" } Block { BlockType FromWorkspace VariableName "simulink_input" SampleTime "-1" Interpolate on OutputAfterFinalValue "Extrapolation" } Block { BlockType Fcn Expr "sin(u[1])" SampleTime "-1" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ParameterDataTypeMode "Same as input" ParameterDataType "sfix(16)" ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "2^0" OutDataTypeMode "Same as input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Goto IconDisplay "Tag" } Block { BlockType Inport BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" 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 } Block { BlockType Mux Inputs "4" DisplayOption "none" BusObject "BusObject" NonVirtualBus off } Block { BlockType Outport Port "1" BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Scope Floating off ModelBased off TickLabels "OneTimeTick" ZoomMode "on" Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Selector InputType "Vector" IndexMode "One-based" ElementSrc "Internal" Elements "1" RowSrc "Internal" Rows "1" ColumnSrc "Internal" Columns "1" InputPortWidth "-1" IndexIsStartValue off OutputPortSize "1" } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" PermitHierarchicalResolution "All" SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType ToWorkspace VariableName "simulink_output" MaxDataPoints "1000" Decimation "1" SampleTime "0" FixptAsFi off } } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "GPESTN1_GPEDBS" Location [2, 82, 1253, 751] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Clock Name "Clock" Position [20, 20, 40, 40] Decimation "10" } Block { BlockType Constant Name "Constant" Position [325, 260, 355, 290] ForegroundColor "green" Value "0" } Block { BlockType Constant Name "Constant1" Position [305, 410, 335, 440] ForegroundColor "green" } Block { BlockType Constant Name "Constant10" Position [300, 2110, 330, 2140] ForegroundColor "green" Value "11" } Block { BlockType Constant Name "Constant11" Position [295, 2235, 325, 2265] ForegroundColor "green" Value "12" } Block { BlockType Constant Name "Constant12" Position [290, 2430, 320, 2460] ForegroundColor "green" Value "13" } Block { BlockType Constant Name "Constant13" Position [295, 2575, 325, 2605] ForegroundColor "green" Value "14" } Block { BlockType Constant Name "Constant14" Position [290, 2695, 320, 2725] ForegroundColor "green" Value "15" } Block { BlockType Constant Name "Constant15" Position [310, 1755, 340, 1785] ForegroundColor "green" Value "9" } Block { BlockType Constant Name "Constant2" Position [305, 580, 335, 610] ForegroundColor "green" Value "2" } Block { BlockType Constant Name "Constant3" Position [295, 745, 325, 775] ForegroundColor "green" Value "3" } Block { BlockType Constant Name "Constant4" Position [300, 915, 330, 945] ForegroundColor "green" Value "4" } Block { BlockType Constant Name "Constant5" Position [305, 1070, 335, 1100] ForegroundColor "green" Value "5" } Block { BlockType Constant Name "Constant6" Position [305, 1235, 335, 1265] ForegroundColor "green" Value "6" } Block { BlockType Constant Name "Constant7" Position [310, 1375, 340, 1405] ForegroundColor "green" Value "7" } Block { BlockType Constant Name "Constant8" Position [300, 1595, 330, 1625] ForegroundColor "green" Value "8" } Block { BlockType Constant Name "Constant9" Position [300, 1920, 330, 1950] ForegroundColor "green" Value "10" } Block { BlockType From Name "From1" Position [645, 127, 710, 143] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe1" } Block { BlockType From Name "From105" Position [660, 1462, 725, 1478] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe9" } Block { BlockType From Name "From108" Position [875, 1557, 935, 1573] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn8" } Block { BlockType From Name "From109" Position [850, 1752, 915, 1768] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn9" } Block { BlockType From Name "From110" Position [860, 1892, 925, 1908] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn10" } Block { BlockType From Name "From111" Position [870, 2047, 935, 2063] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn11" } Block { BlockType From Name "From112" Position [855, 2207, 920, 2223] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn12" } Block { BlockType From Name "From113" Position [865, 2362, 930, 2378] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn13" } Block { BlockType From Name "From114" Position [860, 2527, 925, 2543] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn14" } Block { BlockType From Name "From115" Position [855, 2687, 920, 2703] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn15" } Block { BlockType From Name "From116" Position [660, 1507, 725, 1523] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe10" } Block { BlockType From Name "From117" Position [665, 1667, 730, 1683] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe12" } Block { BlockType From Name "From118" Position [1165, 2207, 1230, 2223] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe13" } Block { BlockType From Name "From119" Position [1160, 2362, 1225, 2378] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe14" } Block { BlockType From Name "From12" Position [860, 222, 920, 238] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn0" } Block { BlockType From Name "From120" Position [1170, 2537, 1240, 2553] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe15" } Block { BlockType From Name "From121" Position [1170, 1442, 1235, 1458] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn15" } Block { BlockType From Name "From122" Position [1170, 1472, 1235, 1488] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn11" } Block { BlockType From Name "From123" Position [1170, 1502, 1235, 1518] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn7" } Block { BlockType From Name "From124" Position [1165, 1567, 1230, 1583] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe9" } Block { BlockType From Name "From125" Position [665, 1802, 730, 1818] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe11" } Block { BlockType From Name "From127" Position [670, 1837, 735, 1853] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe15" } Block { BlockType From Name "From128" Position [670, 1962, 735, 1978] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe10" } Block { BlockType From Name "From129" Position [670, 1997, 735, 2013] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe8" } Block { BlockType From Name "From13" Position [835, 417, 900, 433] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn1" } Block { BlockType From Name "From130" Position [670, 2122, 735, 2138] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe13" } Block { BlockType From Name "From131" Position [670, 2157, 735, 2173] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe14" } Block { BlockType From Name "From132" Position [675, 2282, 740, 2298] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe12" } Block { BlockType From Name "From133" Position [680, 2317, 745, 2333] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe9" } Block { BlockType From Name "From134" Position [670, 2442, 735, 2458] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe15" } Block { BlockType From Name "From135" Position [675, 2477, 740, 2493] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe10" } Block { BlockType From Name "From136" Position [675, 2602, 740, 2618] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe14" } Block { BlockType From Name "From137" Position [665, 1627, 730, 1643] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe8" } Block { BlockType From Name "From138" Position [675, 2637, 740, 2653] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe11" } Block { BlockType From Name "From139" Position [735, 1482, 800, 1498] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe12" } Block { BlockType From Name "From14" Position [845, 557, 910, 573] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn2" } Block { BlockType From Name "From140" Position [735, 1512, 800, 1528] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe9" } Block { BlockType From Name "From141" Position [735, 1632, 800, 1648] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe13" } Block { BlockType From Name "From142" Position [735, 1662, 800, 1678] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe8" } Block { BlockType From Name "From143" Position [740, 1797, 805, 1813] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe15" } Block { BlockType From Name "From144" Position [740, 1832, 805, 1848] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe11" } Block { BlockType From Name "From145" Position [755, 1967, 820, 1983] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe14" } Block { BlockType From Name "From146" Position [755, 1997, 820, 2013] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe10" } Block { BlockType From Name "From147" Position [760, 2132, 825, 2148] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe9" } Block { BlockType From Name "From149" Position [760, 2162, 825, 2178] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe13" } Block { BlockType From Name "From15" Position [855, 712, 920, 728] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn3" } Block { BlockType From Name "From150" Position [755, 2287, 820, 2303] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe8" } Block { BlockType From Name "From151" Position [755, 2317, 820, 2333] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe12" } Block { BlockType From Name "From152" Position [755, 2457, 820, 2473] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe10" } Block { BlockType From Name "From153" Position [755, 2487, 820, 2503] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe15" } Block { BlockType From Name "From154" Position [760, 2612, 825, 2628] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe11" } Block { BlockType From Name "From155" Position [760, 2642, 825, 2658] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe14" } Block { BlockType From Name "From158" Position [1160, 1602, 1225, 1618] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn14" } Block { BlockType From Name "From159" Position [1175, 1632, 1240, 1648] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn10" } Block { BlockType From Name "From16" Position [840, 872, 905, 888] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn4" } Block { BlockType From Name "From160" Position [1160, 1662, 1225, 1678] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn6" } Block { BlockType From Name "From161" Position [1165, 1762, 1230, 1778] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn8" } Block { BlockType From Name "From162" Position [1165, 1792, 1230, 1808] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn12" } Block { BlockType From Name "From163" Position [1165, 1822, 1230, 1838] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn0" } Block { BlockType From Name "From164" Position [1170, 1917, 1235, 1933] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn9" } Block { BlockType From Name "From166" Position [1170, 1947, 1235, 1963] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn13" } Block { BlockType From Name "From167" Position [1170, 1977, 1235, 1993] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn1" } Block { BlockType From Name "From168" Position [1175, 2087, 1240, 2103] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn11" } Block { BlockType From Name "From169" Position [1155, 1717, 1220, 1733] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe10" } Block { BlockType From Name "From17" Position [850, 1027, 915, 1043] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn5" } Block { BlockType From Name "From170" Position [1175, 2117, 1240, 2133] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn15" } Block { BlockType From Name "From171" Position [1175, 2147, 1240, 2163] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn3" } Block { BlockType From Name "From172" Position [1180, 2242, 1245, 2258] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn10" } Block { BlockType From Name "From173" Position [1180, 2272, 1245, 2288] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn14" } Block { BlockType From Name "From174" Position [1180, 2302, 1245, 2318] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn2" } Block { BlockType From Name "From175" Position [1175, 2397, 1240, 2413] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn12" } Block { BlockType From Name "From177" Position [1175, 2427, 1240, 2443] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn9" } Block { BlockType From Name "From178" Position [1175, 2457, 1240, 2473] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn4" } Block { BlockType From Name "From179" Position [1180, 2567, 1245, 2583] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn13" } Block { BlockType From Name "From18" Position [845, 1192, 910, 1208] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn6" } Block { BlockType From Name "From180" Position [1180, 2597, 1245, 2613] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn8" } Block { BlockType From Name "From181" Position [1160, 1882, 1225, 1898] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe11" } Block { BlockType From Name "From182" Position [1180, 2627, 1245, 2643] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn5" } Block { BlockType From Name "From183" Position [1165, 2057, 1230, 2073] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe12" } Block { BlockType From Name "From19" Position [840, 1352, 905, 1368] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn7" } Block { BlockType From Name "From2" Position [645, 162, 710, 178] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe2" } Block { BlockType From Name "From20" Position [650, 322, 715, 338] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe4" } Block { BlockType From Name "From202" Position [460, 3077, 525, 3093] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe8" } Block { BlockType From Name "From203" Position [470, 3107, 535, 3123] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe9" } Block { BlockType From Name "From204" Position [465, 3142, 530, 3158] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe10" } Block { BlockType From Name "From205" Position [465, 3172, 530, 3188] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe11" } Block { BlockType From Name "From206" Position [470, 3212, 535, 3228] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe12" } Block { BlockType From Name "From207" Position [465, 3252, 530, 3268] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe13" } Block { BlockType From Name "From208" Position [470, 3287, 535, 3303] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe14" } Block { BlockType From Name "From209" Position [470, 3322, 535, 3338] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe15" } Block { BlockType From Name "From21" Position [1150, 872, 1215, 888] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe5" } Block { BlockType From Name "From210" Position [805, 3077, 870, 3093] ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn8" } Block { BlockType From Name "From211" Position [805, 3102, 870, 3118] ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn9" } Block { BlockType From Name "From212" Position [805, 3127, 870, 3143] ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn10" } Block { BlockType From Name "From213" Position [805, 3157, 870, 3173] ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn11" } Block { BlockType From Name "From214" Position [805, 3182, 870, 3198] ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn12" } Block { BlockType From Name "From215" Position [800, 3217, 865, 3233] ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn13" } Block { BlockType From Name "From216" Position [805, 3252, 870, 3268] ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn14" } Block { BlockType From Name "From217" Position [805, 3292, 870, 3308] ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn15" } Block { BlockType From Name "From22" Position [1145, 1027, 1210, 1043] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe6" } Block { BlockType From Name "From226" Position [1165, 1407, 1230, 1423] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe8" } Block { BlockType From Name "From23" Position [1155, 1202, 1225, 1218] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe7" } Block { BlockType From Name "From24" Position [1150, 72, 1215, 88] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe0" } Block { BlockType From Name "From25" Position [1155, 107, 1220, 123] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn7" } Block { BlockType From Name "From26" Position [1155, 137, 1220, 153] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn3" } Block { BlockType From Name "From27" Position [1155, 167, 1220, 183] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn15" } Block { BlockType From Name "From28" Position [1165, 232, 1230, 248] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe1" } Block { BlockType From Name "From29" Position [650, 467, 715, 483] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe3" } Block { BlockType From Name "From30" Position [650, 502, 715, 518] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe7" } Block { BlockType From Name "From31" Position [655, 627, 720, 643] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe2" } Block { BlockType From Name "From32" Position [655, 662, 720, 678] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe0" } Block { BlockType From Name "From33" Position [655, 787, 720, 803] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe5" } Block { BlockType From Name "From34" Position [655, 822, 720, 838] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe6" } Block { BlockType From Name "From35" Position [660, 947, 725, 963] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe4" } Block { BlockType From Name "From36" Position [665, 982, 730, 998] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe1" } Block { BlockType From Name "From37" Position [655, 1107, 720, 1123] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe7" } Block { BlockType From Name "From38" Position [655, 1142, 720, 1158] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe2" } Block { BlockType From Name "From39" Position [660, 1267, 725, 1283] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe6" } Block { BlockType From Name "From4" Position [650, 292, 715, 308] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe0" } Block { BlockType From Name "From40" Position [660, 1302, 725, 1318] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe3" } Block { BlockType From Name "From41" Position [720, 147, 785, 163] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe1" } Block { BlockType From Name "From42" Position [720, 177, 785, 193] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe4" } Block { BlockType From Name "From43" Position [720, 297, 785, 313] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe0" } Block { BlockType From Name "From44" Position [720, 327, 785, 343] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe5" } Block { BlockType From Name "From45" Position [725, 462, 790, 478] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe7" } Block { BlockType From Name "From46" Position [725, 497, 790, 513] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe3" } Block { BlockType From Name "From47" Position [740, 632, 805, 648] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe6" } Block { BlockType From Name "From48" Position [740, 662, 805, 678] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe2" } Block { BlockType From Name "From49" Position [745, 797, 810, 813] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe1" } Block { BlockType From Name "From50" Position [745, 827, 810, 843] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe5" } Block { BlockType From Name "From51" Position [740, 952, 805, 968] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe0" } Block { BlockType From Name "From52" Position [740, 982, 805, 998] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe4" } Block { BlockType From Name "From53" Position [740, 1122, 805, 1138] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe2" } Block { BlockType From Name "From54" Position [740, 1152, 805, 1168] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe7" } Block { BlockType From Name "From55" Position [745, 1277, 810, 1293] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe3" } Block { BlockType From Name "From56" Position [745, 1307, 810, 1323] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "syngpe6" } Block { BlockType From Name "From57" Position [455, 2807, 520, 2823] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe0" } Block { BlockType From Name "From58" Position [450, 2842, 515, 2858] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe1" } Block { BlockType From Name "From59" Position [455, 2872, 520, 2888] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe2" } Block { BlockType From Name "From60" Position [455, 2907, 520, 2923] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe3" } Block { BlockType From Name "From61" Position [460, 2942, 525, 2958] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe4" } Block { BlockType From Name "From62" Position [460, 2972, 525, 2988] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe5" } Block { BlockType From Name "From63" Position [460, 3007, 525, 3023] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe6" } Block { BlockType From Name "From64" Position [460, 3037, 525, 3053] ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe7" } Block { BlockType From Name "From65" Position [805, 2802, 870, 2818] ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn0" } Block { BlockType From Name "From66" Position [805, 2837, 870, 2853] ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn1" } Block { BlockType From Name "From67" Position [805, 2872, 870, 2888] ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn2" } Block { BlockType From Name "From68" Position [805, 2907, 870, 2923] ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn3" } Block { BlockType From Name "From69" Position [805, 2942, 870, 2958] ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn4" } Block { BlockType From Name "From70" Position [805, 2977, 870, 2993] ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn5" } Block { BlockType From Name "From71" Position [805, 3012, 870, 3028] ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn6" } Block { BlockType From Name "From72" Position [805, 3047, 870, 3063] ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outstn7" } Block { BlockType From Name "From73" Position [1175, 267, 1240, 283] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn6" } Block { BlockType From Name "From74" Position [1185, 297, 1250, 313] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn2" } Block { BlockType From Name "From75" Position [1165, 327, 1230, 343] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn14" } Block { BlockType From Name "From76" Position [1150, 427, 1215, 443] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn0" } Block { BlockType From Name "From77" Position [1150, 457, 1215, 473] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn4" } Block { BlockType From Name "From78" Position [1150, 487, 1215, 503] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn8" } Block { BlockType From Name "From79" Position [1155, 582, 1220, 598] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn1" } Block { BlockType From Name "From80" Position [1155, 612, 1220, 628] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn5" } Block { BlockType From Name "From81" Position [1155, 642, 1220, 658] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn9" } Block { BlockType From Name "From82" Position [1160, 752, 1225, 768] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn3" } Block { BlockType From Name "From83" Position [1150, 382, 1215, 398] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe2" } Block { BlockType From Name "From84" Position [1160, 782, 1225, 798] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn7" } Block { BlockType From Name "From85" Position [1160, 812, 1225, 828] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn11" } Block { BlockType From Name "From86" Position [1165, 907, 1230, 923] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn2" } Block { BlockType From Name "From87" Position [1165, 937, 1230, 953] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn6" } Block { BlockType From Name "From88" Position [1165, 967, 1230, 983] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn10" } Block { BlockType From Name "From89" Position [1160, 1062, 1225, 1078] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn4" } Block { BlockType From Name "From90" Position [1160, 1092, 1225, 1108] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn1" } Block { BlockType From Name "From91" Position [1160, 1122, 1225, 1138] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn12" } Block { BlockType From Name "From92" Position [1165, 1232, 1230, 1248] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn5" } Block { BlockType From Name "From93" Position [1165, 1262, 1230, 1278] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn0" } Block { BlockType From Name "From94" Position [1145, 547, 1210, 563] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe3" } Block { BlockType From Name "From95" Position [1165, 1292, 1230, 1308] Orientation "left" ForegroundColor "blue" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "synstn13" } Block { BlockType From Name "From96" Position [1150, 722, 1215, 738] Orientation "left" ForegroundColor "red" DialogController "Simulink.DDGSource" CloseFcn "tagdialog Close" GotoTag "outgpe4" } Block { BlockType SubSystem Name "GPE_cell" Ports [5, 2] Position [465, 194, 505, 276] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "GPE_cell" Location [2, 82, 1270, 772] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 33, 65, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 53, 65, 67] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 73, 55, 87] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [25, 93, 55, 107] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [30, 228, 60, 242] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 200, 165, 230] Value "sg0" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [225, 216, 265, 254] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "gpe_cell" Ports [5, 1] Position [90, 26, 140, 114] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "gpe_cell" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 283, 80, 297] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 308, 80, 322] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 333, 80, 347] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [50, 358, 80, 372] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [115, 743, 145, 757] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant1" Position [50, 460, 80, 490] Value "ng0" } Block { BlockType Constant Name "Constant16" Position [55, 390, 85, 420] Value "vg0" } Block { BlockType Constant Name "Constant2" Position [55, 525, 85, 555] Value "hg0" } Block { BlockType Constant Name "Constant3" Position [50, 605, 80, 635] Value "rg0" } Block { BlockType Constant Name "Constant4" Position [50, 680, 80, 710] Value "cag0" } Block { BlockType Gain Name "Gain" Position [195, 231, 265, 269] Gain "1/c_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [285, 222, 315, 273] InitialConditionSource "external" InitialCondition "vg01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Scope Name "Scope16" Ports [1] Position [655, 404, 685, 436] Location [5, 56, 1285, 769] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } YMin "-80" YMax "60" SaveName "ScopeData2" DataFormat "StructureWithTime" } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [210, 466, 250, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [210, 536, 250, 574] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [210, 606, 250, 644] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [205, 681, 245, 719] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [205, 396, 245, 434] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [10, 1] Position [105, 130, 165, 375] ShowName off Inputs "--------++" } Block { BlockType ToWorkspace Name "To Workspace" Position [615, 315, 675, 345] VariableName "iahpgpe" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Structure" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 133, 60, 147] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_gpe)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_gpe)*gahp_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [2, 78, 1270, 764] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [30, 198, 60, 212] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_gpe" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cag01" IgnoreLimit off } Block { BlockType Scope Name "Scope16" Ports [1] Position [395, 219, 425, 251] Location [5, 56, 1285, 769] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } YMin "-80" YMax "60" SaveName "ScopeData3" DataFormat "StructureWithTime" } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType ToWorkspace Name "To Workspace" Position [375, 150, 435, 180] VariableName "cagpe" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Structure" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 85] Branch { DstBlock "Gain2" DstPort 1 } Branch { Points [0, 5] Branch { DstBlock "To Workspace" DstPort 1 } Branch { Points [0, 70] DstBlock "Scope16" DstPort 1 } } } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [0, 5; 190, 0; 0, -125] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_gpe" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_gpe" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_gpe)/sigmas_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_gpe" DstPort 1 } } Line { SrcBlock "ica_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [20, 153, 50, 167] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_gpe" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_gpe" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_gpe" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_gpe" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [380, 403, 410, 417] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_gpe+ taun1_gpe/(1+exp(-(" "u-thetataun_gpe)/sigmataun_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "ng01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_gpe)/sigman" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [220, 0; 0, -100] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_gpe" SrcPort 1 DstBlock "ik_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_gpe" DstPort 1 } Branch { Points [0, 75] DstBlock "n_gpe" DstPort 1 } } Line { SrcBlock "ik_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "n_gpe" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_gpe*(u-el_gpe)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [0, 86, 1012, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [20, 163, 50, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_gpe" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [125, 398, 155, 412] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_gpe + tauh1_gpe/(1+exp(-" "(u-thetatauh_gpe)/sigmatauh_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_gpe)/sigmah" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [475, 0; 0, -95] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_gpe" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_gpe" Location [2, 82, 513, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_gpe" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_gpe)/sigmam_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_gpe" SrcPort 1 DstBlock "ina_gpe" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_gpe" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_gpe" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_gpe" DstPort 1 } } Line { SrcBlock "ina_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_gpe" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 128, 45, 142] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Scope Name "Scope16" Ports [1] Position [430, 389, 460, 421] Location [5, 56, 1285, 769] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } YMin "-80" YMax "60" SaveName "ScopeData1" DataFormat "StructureWithTime" } Block { BlockType ToWorkspace Name "To Workspace" Position [480, 285, 540, 315] VariableName "rgpe" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Structure" } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_gpe)/sigmaa_g" "pe))" } Block { BlockType SubSystem Name "it_gpe" Ports [3, 1] Position [480, 23, 540, 187] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_gpe" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_gpe" Ports [2, 1] Position [90, 65, 190, 125] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [130, 383, 160, 397] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/taur_gpe" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_gpe)/sigmar" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [0, 25; 460, 0; 0, -60; 15, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_gpe" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [0, -10] DstBlock "r_gpe" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -40] DstBlock "it_gpe" DstPort 1 } } Line { SrcBlock "it_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_gpe" SrcPort 1 Points [0, 10; 140, 0] Branch { DstBlock "it_gpe" DstPort 2 } Branch { Points [0, 195] Branch { DstBlock "To Workspace" DstPort 1 } Branch { Points [0, 105] DstBlock "Scope16" DstPort 1 } } } Line { SrcBlock "In1" SrcPort 1 Points [25, 0] DstBlock "r_gpe" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [435, 608, 465, 622] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [0, -5] DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [40, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 210] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 25] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 95] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 130] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [5, 0; 0, -300; -435, 0; 0, 200] DstBlock "Sum" DstPort 5 } Branch { Points [15, 0; 0, -30] DstBlock "iahp" DstPort 2 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 165] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0] Branch { Points [0, -5] Branch { Points [0, -300; -555, 0; 0, 235] DstBlock "Sum" DstPort 6 } Branch { DstBlock "To Workspace" DstPort 1 } } Branch { Points [0, 85] DstBlock "Scope16" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "In4" SrcPort 1 DstBlock "Sum" DstPort 10 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, 5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant16" SrcPort 1 DstBlock "Selector5" DstPort 1 } Line { SrcBlock "In5" SrcPort 1 Points [35, 0; 0, -45] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] DstBlock "Selector5" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { DstBlock "Selector3" DstPort 2 } } Branch { Points [5, 0] DstBlock "Selector4" DstPort 2 } } Line { SrcBlock "Selector5" SrcPort 1 Points [20, 0] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [65, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -350] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [85, 0; 0, -345] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [95, 0; 0, -290] DstBlock "iahp" DstPort 4 } } } Block { BlockType SubSystem Name "synap_gpe" Ports [2, 1] Position [360, 18, 435, 47] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_gpe" Location [2, 166, 582, 436] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [375, 118, 405, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sig" "magh_gpe))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_gpe*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "sg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [485, 28, 515, 42] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [215, 63, 245, 77] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "gpe_cell" SrcPort 1 Points [0, 0; 50, 0] Branch { Points [0, -45] DstBlock "synap_gpe" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "gpe_cell" DstPort 3 } Line { SrcBlock "In4" SrcPort 1 Points [5, 0; 0, -15] DstBlock "gpe_cell" DstPort 4 } Line { SrcBlock "synap_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "gpe_cell" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "gpe_cell" DstPort 2 } Line { SrcBlock "Selector5" SrcPort 1 Points [25, 0; 0, -195] DstBlock "synap_gpe" DstPort 2 } Line { SrcBlock "In5" SrcPort 1 Points [10, 0; 0, -5] Branch { DstBlock "gpe_cell" DstPort 5 } Branch { Points [0, 25; 135, 0] DstBlock "Selector5" DstPort 2 } } Line { SrcBlock "Constant" SrcPort 1 Points [45, 0; 0, 10] DstBlock "Selector5" DstPort 1 } } } Block { BlockType SubSystem Name "GPE_cell1" Ports [5, 2] Position [455, 344, 495, 426] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "GPE_cell1" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 33, 65, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 53, 65, 67] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 73, 55, 87] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [25, 93, 55, 107] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [30, 228, 60, 242] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 200, 165, 230] Value "sg0" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [225, 216, 265, 254] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "gpe_cell" Ports [5, 1] Position [90, 26, 140, 114] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "gpe_cell" Location [2, 83, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 283, 70, 297] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 308, 70, 322] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [40, 333, 70, 347] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [35, 358, 65, 372] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [115, 743, 145, 757] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant1" Position [50, 460, 80, 490] Value "ng0" } Block { BlockType Constant Name "Constant16" Position [55, 390, 85, 420] Value "vg0" } Block { BlockType Constant Name "Constant2" Position [55, 525, 85, 555] Value "hg0" } Block { BlockType Constant Name "Constant3" Position [50, 605, 80, 635] Value "rg0" } Block { BlockType Constant Name "Constant4" Position [50, 680, 80, 710] Value "cag0" } Block { BlockType Gain Name "Gain" Position [195, 231, 265, 269] Gain "1/c_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [285, 222, 315, 273] InitialConditionSource "external" InitialCondition "vg01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [210, 466, 250, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [210, 536, 250, 574] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [210, 606, 250, 644] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [205, 681, 245, 719] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [205, 396, 245, 434] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [10, 1] Position [105, 130, 165, 375] ShowName off Inputs "--------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 133, 60, 147] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_gpe)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_gpe)*gahp_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [30, 198, 60, 212] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_gpe" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cag01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [0, 5; 190, 0; 0, -125] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_gpe" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_gpe" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_gpe)/sigmas_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_gpe" DstPort 1 } } Line { SrcBlock "ica_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [20, 153, 50, 167] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_gpe" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_gpe" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_gpe" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_gpe" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [380, 403, 410, 417] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_gpe+ taun1_gpe/(1+exp(-(" "u-thetataun_gpe)/sigmataun_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "ng01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_gpe)/sigman" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [220, 0; 0, -100] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_gpe" SrcPort 1 DstBlock "ik_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_gpe" DstPort 1 } Branch { Points [0, 75] DstBlock "n_gpe" DstPort 1 } } Line { SrcBlock "ik_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "n_gpe" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_gpe*(u-el_gpe)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [0, 86, 1012, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [20, 163, 50, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_gpe" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [125, 398, 155, 412] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_gpe + tauh1_gpe/(1+exp(-" "(u-thetatauh_gpe)/sigmatauh_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_gpe)/sigmah" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [475, 0; 0, -95] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_gpe" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_gpe" Location [2, 82, 513, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_gpe" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_gpe)/sigmam_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_gpe" SrcPort 1 DstBlock "ina_gpe" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_gpe" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_gpe" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_gpe" DstPort 1 } } Line { SrcBlock "ina_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_gpe" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 128, 45, 142] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_gpe)/sigmaa_g" "pe))" } Block { BlockType SubSystem Name "it_gpe" Ports [3, 1] Position [480, 23, 540, 187] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_gpe" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_gpe" Ports [2, 1] Position [90, 65, 190, 125] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [130, 383, 160, 397] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/taur_gpe" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_gpe)/sigmar" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [0, 25; 460, 0; 0, -60; 15, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_gpe" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [0, -10] DstBlock "r_gpe" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -40] DstBlock "it_gpe" DstPort 1 } } Line { SrcBlock "it_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_gpe" SrcPort 1 Points [0, 10] DstBlock "it_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [25, 0] DstBlock "r_gpe" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [435, 608, 465, 622] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [0, -5] DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [40, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 45] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 230] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 25] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 95] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 130] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [5, 0; 0, -300; -435, 0; 0, 200] DstBlock "Sum" DstPort 5 } Branch { Points [15, 0; 0, -30] DstBlock "iahp" DstPort 2 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 165] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 235] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "In4" SrcPort 1 DstBlock "Sum" DstPort 10 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, 5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant16" SrcPort 1 DstBlock "Selector5" DstPort 1 } Line { SrcBlock "In5" SrcPort 1 Points [35, 0; 0, -45] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] DstBlock "Selector5" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { DstBlock "Selector3" DstPort 2 } } Branch { Points [5, 0] DstBlock "Selector4" DstPort 2 } } Line { SrcBlock "Selector5" SrcPort 1 Points [20, 0] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [65, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -350] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [85, 0; 0, -345] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [95, 0; 0, -290] DstBlock "iahp" DstPort 4 } } } Block { BlockType SubSystem Name "synap_gpe" Ports [2, 1] Position [360, 18, 435, 47] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_gpe" Location [2, 166, 582, 436] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [375, 118, 405, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sig" "magh_gpe))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_gpe*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "sg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [485, 28, 515, 42] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [215, 63, 245, 77] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "gpe_cell" SrcPort 1 Points [0, 0; 50, 0] Branch { Points [0, -45] DstBlock "synap_gpe" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "gpe_cell" DstPort 3 } Line { SrcBlock "In4" SrcPort 1 Points [5, 0; 0, -15] DstBlock "gpe_cell" DstPort 4 } Line { SrcBlock "synap_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "gpe_cell" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "gpe_cell" DstPort 2 } Line { SrcBlock "Selector5" SrcPort 1 Points [25, 0; 0, -195] DstBlock "synap_gpe" DstPort 2 } Line { SrcBlock "In5" SrcPort 1 Points [10, 0; 0, -5] Branch { DstBlock "gpe_cell" DstPort 5 } Branch { Points [0, 25; 135, 0] DstBlock "Selector5" DstPort 2 } } Line { SrcBlock "Constant" SrcPort 1 Points [45, 0; 0, 10] DstBlock "Selector5" DstPort 1 } } } Block { BlockType SubSystem Name "GPE_cell10" Ports [5, 2] Position [470, 1859, 510, 1941] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "GPE_cell10" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 33, 65, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 53, 65, 67] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 73, 55, 87] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [25, 93, 55, 107] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [30, 228, 60, 242] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 200, 165, 230] Value "sg0" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [225, 216, 265, 254] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "gpe_cell" Ports [5, 1] Position [90, 26, 140, 114] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "gpe_cell" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 283, 80, 297] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 308, 80, 322] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 333, 80, 347] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [50, 358, 80, 372] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [115, 743, 145, 757] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant1" Position [50, 460, 80, 490] Value "ng0" } Block { BlockType Constant Name "Constant16" Position [55, 390, 85, 420] Value "vg0" } Block { BlockType Constant Name "Constant2" Position [55, 525, 85, 555] Value "hg0" } Block { BlockType Constant Name "Constant3" Position [50, 605, 80, 635] Value "rg0" } Block { BlockType Constant Name "Constant4" Position [50, 680, 80, 710] Value "cag0" } Block { BlockType Gain Name "Gain" Position [195, 231, 265, 269] Gain "1/c_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [285, 222, 315, 273] InitialConditionSource "external" InitialCondition "vg01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [210, 466, 250, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [210, 536, 250, 574] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [210, 606, 250, 644] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [205, 681, 245, 719] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [205, 396, 245, 434] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [10, 1] Position [105, 130, 165, 375] ShowName off Inputs "--------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 133, 60, 147] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_gpe)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_gpe)*gahp_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [30, 198, 60, 212] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_gpe" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cag01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [0, 5; 190, 0; 0, -125] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_gpe" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_gpe" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_gpe)/sigmas_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_gpe" DstPort 1 } } Line { SrcBlock "ica_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [20, 153, 50, 167] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_gpe" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_gpe" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_gpe" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_gpe" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [380, 403, 410, 417] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_gpe+ taun1_gpe/(1+exp(-(" "u-thetataun_gpe)/sigmataun_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "ng01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_gpe)/sigman" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [220, 0; 0, -100] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_gpe" SrcPort 1 DstBlock "ik_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_gpe" DstPort 1 } Branch { Points [0, 75] DstBlock "n_gpe" DstPort 1 } } Line { SrcBlock "ik_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "n_gpe" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_gpe*(u-el_gpe)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [0, 86, 1012, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [20, 163, 50, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_gpe" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [125, 398, 155, 412] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_gpe + tauh1_gpe/(1+exp(-" "(u-thetatauh_gpe)/sigmatauh_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_gpe)/sigmah" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [475, 0; 0, -95] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_gpe" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_gpe" Location [2, 82, 513, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_gpe" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_gpe)/sigmam_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_gpe" SrcPort 1 DstBlock "ina_gpe" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_gpe" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_gpe" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_gpe" DstPort 1 } } Line { SrcBlock "ina_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_gpe" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 128, 45, 142] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_gpe)/sigmaa_g" "pe))" } Block { BlockType SubSystem Name "it_gpe" Ports [3, 1] Position [480, 23, 540, 187] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_gpe" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_gpe" Ports [2, 1] Position [90, 65, 190, 125] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [130, 383, 160, 397] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/taur_gpe" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_gpe)/sigmar" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [0, 25; 460, 0; 0, -60; 15, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_gpe" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [0, -10] DstBlock "r_gpe" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -40] DstBlock "it_gpe" DstPort 1 } } Line { SrcBlock "it_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_gpe" SrcPort 1 Points [0, 10] DstBlock "it_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [25, 0] DstBlock "r_gpe" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [435, 608, 465, 622] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [0, -5] DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [40, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 210] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 25] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 95] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 130] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [5, 0; 0, -300; -435, 0; 0, 200] DstBlock "Sum" DstPort 5 } Branch { Points [15, 0; 0, -30] DstBlock "iahp" DstPort 2 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 165] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 235] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "In4" SrcPort 1 DstBlock "Sum" DstPort 10 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, 5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant16" SrcPort 1 DstBlock "Selector5" DstPort 1 } Line { SrcBlock "In5" SrcPort 1 Points [35, 0; 0, -45] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] DstBlock "Selector5" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { DstBlock "Selector3" DstPort 2 } } Branch { Points [5, 0] DstBlock "Selector4" DstPort 2 } } Line { SrcBlock "Selector5" SrcPort 1 Points [20, 0] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [65, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -350] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [85, 0; 0, -345] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [95, 0; 0, -290] DstBlock "iahp" DstPort 4 } } } Block { BlockType SubSystem Name "synap_gpe" Ports [2, 1] Position [360, 18, 435, 47] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_gpe" Location [2, 166, 582, 436] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [375, 118, 405, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sig" "magh_gpe))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_gpe*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "sg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [485, 28, 515, 42] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [215, 63, 245, 77] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "gpe_cell" SrcPort 1 Points [0, 0; 50, 0] Branch { Points [0, -45] DstBlock "synap_gpe" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "gpe_cell" DstPort 3 } Line { SrcBlock "In4" SrcPort 1 Points [5, 0; 0, -15] DstBlock "gpe_cell" DstPort 4 } Line { SrcBlock "synap_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "gpe_cell" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "gpe_cell" DstPort 2 } Line { SrcBlock "Selector5" SrcPort 1 Points [25, 0; 0, -195] DstBlock "synap_gpe" DstPort 2 } Line { SrcBlock "In5" SrcPort 1 Points [10, 0; 0, -5] Branch { DstBlock "gpe_cell" DstPort 5 } Branch { Points [0, 25; 135, 0] DstBlock "Selector5" DstPort 2 } } Line { SrcBlock "Constant" SrcPort 1 Points [45, 0; 0, 10] DstBlock "Selector5" DstPort 1 } } } Block { BlockType SubSystem Name "GPE_cell11" Ports [5, 2] Position [470, 2034, 510, 2116] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "GPE_cell11" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 33, 65, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 53, 65, 67] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 73, 55, 87] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [25, 93, 55, 107] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [30, 228, 60, 242] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 200, 165, 230] Value "sg0" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [225, 216, 265, 254] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "gpe_cell" Ports [5, 1] Position [90, 26, 140, 114] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "gpe_cell" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 283, 80, 297] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 308, 80, 322] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 333, 80, 347] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [50, 358, 80, 372] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [115, 743, 145, 757] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant1" Position [50, 460, 80, 490] Value "ng0" } Block { BlockType Constant Name "Constant16" Position [55, 390, 85, 420] Value "vg0" } Block { BlockType Constant Name "Constant2" Position [55, 525, 85, 555] Value "hg0" } Block { BlockType Constant Name "Constant3" Position [50, 605, 80, 635] Value "rg0" } Block { BlockType Constant Name "Constant4" Position [50, 680, 80, 710] Value "cag0" } Block { BlockType Gain Name "Gain" Position [195, 231, 265, 269] Gain "1/c_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [285, 222, 315, 273] InitialConditionSource "external" InitialCondition "vg01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [210, 466, 250, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [210, 536, 250, 574] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [210, 606, 250, 644] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [205, 681, 245, 719] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [205, 396, 245, 434] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [10, 1] Position [105, 130, 165, 375] ShowName off Inputs "--------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 133, 60, 147] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_gpe)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_gpe)*gahp_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [30, 198, 60, 212] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_gpe" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cag01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [0, 5; 190, 0; 0, -125] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_gpe" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_gpe" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_gpe)/sigmas_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_gpe" DstPort 1 } } Line { SrcBlock "ica_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [20, 153, 50, 167] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_gpe" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_gpe" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_gpe" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_gpe" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [380, 403, 410, 417] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_gpe+ taun1_gpe/(1+exp(-(" "u-thetataun_gpe)/sigmataun_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "ng01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_gpe)/sigman" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [220, 0; 0, -100] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_gpe" SrcPort 1 DstBlock "ik_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_gpe" DstPort 1 } Branch { Points [0, 75] DstBlock "n_gpe" DstPort 1 } } Line { SrcBlock "ik_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "n_gpe" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_gpe*(u-el_gpe)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [0, 86, 1012, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [20, 163, 50, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_gpe" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [125, 398, 155, 412] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_gpe + tauh1_gpe/(1+exp(-" "(u-thetatauh_gpe)/sigmatauh_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_gpe)/sigmah" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [475, 0; 0, -95] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_gpe" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_gpe" Location [2, 82, 513, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_gpe" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_gpe)/sigmam_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_gpe" SrcPort 1 DstBlock "ina_gpe" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_gpe" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_gpe" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_gpe" DstPort 1 } } Line { SrcBlock "ina_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_gpe" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 128, 45, 142] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_gpe)/sigmaa_g" "pe))" } Block { BlockType SubSystem Name "it_gpe" Ports [3, 1] Position [480, 23, 540, 187] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_gpe" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_gpe" Ports [2, 1] Position [90, 65, 190, 125] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [130, 383, 160, 397] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/taur_gpe" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_gpe)/sigmar" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [0, 25; 460, 0; 0, -60; 15, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_gpe" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [0, -10] DstBlock "r_gpe" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -40] DstBlock "it_gpe" DstPort 1 } } Line { SrcBlock "it_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_gpe" SrcPort 1 Points [0, 10] DstBlock "it_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [25, 0] DstBlock "r_gpe" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [435, 608, 465, 622] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [0, -5] DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [40, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 210] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 25] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 95] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 130] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [5, 0; 0, -300; -435, 0; 0, 200] DstBlock "Sum" DstPort 5 } Branch { Points [15, 0; 0, -30] DstBlock "iahp" DstPort 2 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 165] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 235] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "In4" SrcPort 1 DstBlock "Sum" DstPort 10 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, 5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant16" SrcPort 1 DstBlock "Selector5" DstPort 1 } Line { SrcBlock "In5" SrcPort 1 Points [35, 0; 0, -45] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] DstBlock "Selector5" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { DstBlock "Selector3" DstPort 2 } } Branch { Points [5, 0] DstBlock "Selector4" DstPort 2 } } Line { SrcBlock "Selector5" SrcPort 1 Points [20, 0] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [65, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -350] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [85, 0; 0, -345] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [95, 0; 0, -290] DstBlock "iahp" DstPort 4 } } } Block { BlockType SubSystem Name "synap_gpe" Ports [2, 1] Position [360, 18, 435, 47] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_gpe" Location [2, 166, 582, 436] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [375, 118, 405, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sig" "magh_gpe))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_gpe*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "sg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [485, 28, 515, 42] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [215, 63, 245, 77] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "gpe_cell" SrcPort 1 Points [0, 0; 50, 0] Branch { Points [0, -45] DstBlock "synap_gpe" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "gpe_cell" DstPort 3 } Line { SrcBlock "In4" SrcPort 1 Points [5, 0; 0, -15] DstBlock "gpe_cell" DstPort 4 } Line { SrcBlock "synap_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "gpe_cell" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "gpe_cell" DstPort 2 } Line { SrcBlock "Selector5" SrcPort 1 Points [25, 0; 0, -195] DstBlock "synap_gpe" DstPort 2 } Line { SrcBlock "In5" SrcPort 1 Points [10, 0; 0, -5] Branch { DstBlock "gpe_cell" DstPort 5 } Branch { Points [0, 25; 135, 0] DstBlock "Selector5" DstPort 2 } } Line { SrcBlock "Constant" SrcPort 1 Points [45, 0; 0, 10] DstBlock "Selector5" DstPort 1 } } } Block { BlockType SubSystem Name "GPE_cell12" Ports [5, 2] Position [475, 2189, 515, 2271] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "GPE_cell12" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 33, 65, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 53, 65, 67] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 73, 55, 87] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [25, 93, 55, 107] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [30, 228, 60, 242] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 200, 165, 230] Value "sg0" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [225, 216, 265, 254] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "gpe_cell" Ports [5, 1] Position [90, 26, 140, 114] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "gpe_cell" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 283, 80, 297] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 308, 80, 322] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 333, 80, 347] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [50, 358, 80, 372] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [115, 743, 145, 757] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant1" Position [50, 460, 80, 490] Value "ng0" } Block { BlockType Constant Name "Constant16" Position [55, 390, 85, 420] Value "vg0" } Block { BlockType Constant Name "Constant2" Position [55, 525, 85, 555] Value "hg0" } Block { BlockType Constant Name "Constant3" Position [50, 605, 80, 635] Value "rg0" } Block { BlockType Constant Name "Constant4" Position [50, 680, 80, 710] Value "cag0" } Block { BlockType Gain Name "Gain" Position [195, 231, 265, 269] Gain "1/c_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [285, 222, 315, 273] InitialConditionSource "external" InitialCondition "vg01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [210, 466, 250, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [210, 536, 250, 574] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [210, 606, 250, 644] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [205, 681, 245, 719] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [205, 396, 245, 434] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [10, 1] Position [105, 130, 165, 375] ShowName off Inputs "--------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 133, 60, 147] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_gpe)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_gpe)*gahp_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [30, 198, 60, 212] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_gpe" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cag01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [0, 5; 190, 0; 0, -125] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_gpe" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_gpe" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_gpe)/sigmas_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_gpe" DstPort 1 } } Line { SrcBlock "ica_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [20, 153, 50, 167] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_gpe" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_gpe" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_gpe" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_gpe" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [380, 403, 410, 417] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_gpe+ taun1_gpe/(1+exp(-(" "u-thetataun_gpe)/sigmataun_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "ng01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_gpe)/sigman" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [220, 0; 0, -100] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_gpe" SrcPort 1 DstBlock "ik_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_gpe" DstPort 1 } Branch { Points [0, 75] DstBlock "n_gpe" DstPort 1 } } Line { SrcBlock "ik_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "n_gpe" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_gpe*(u-el_gpe)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [0, 86, 1012, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [20, 163, 50, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_gpe" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [125, 398, 155, 412] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_gpe + tauh1_gpe/(1+exp(-" "(u-thetatauh_gpe)/sigmatauh_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_gpe)/sigmah" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [475, 0; 0, -95] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_gpe" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_gpe" Location [2, 82, 513, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_gpe" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_gpe)/sigmam_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_gpe" SrcPort 1 DstBlock "ina_gpe" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_gpe" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_gpe" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_gpe" DstPort 1 } } Line { SrcBlock "ina_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_gpe" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 128, 45, 142] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_gpe)/sigmaa_g" "pe))" } Block { BlockType SubSystem Name "it_gpe" Ports [3, 1] Position [480, 23, 540, 187] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_gpe" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_gpe" Ports [2, 1] Position [90, 65, 190, 125] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [130, 383, 160, 397] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/taur_gpe" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_gpe)/sigmar" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [0, 25; 460, 0; 0, -60; 15, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_gpe" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [0, -10] DstBlock "r_gpe" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -40] DstBlock "it_gpe" DstPort 1 } } Line { SrcBlock "it_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_gpe" SrcPort 1 Points [0, 10] DstBlock "it_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [25, 0] DstBlock "r_gpe" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [435, 608, 465, 622] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [0, -5] DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [40, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 210] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 25] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 95] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 130] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [5, 0; 0, -300; -435, 0; 0, 200] DstBlock "Sum" DstPort 5 } Branch { Points [15, 0; 0, -30] DstBlock "iahp" DstPort 2 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 165] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 235] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "In4" SrcPort 1 DstBlock "Sum" DstPort 10 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, 5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant16" SrcPort 1 DstBlock "Selector5" DstPort 1 } Line { SrcBlock "In5" SrcPort 1 Points [35, 0; 0, -45] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] DstBlock "Selector5" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { DstBlock "Selector3" DstPort 2 } } Branch { Points [5, 0] DstBlock "Selector4" DstPort 2 } } Line { SrcBlock "Selector5" SrcPort 1 Points [20, 0] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [65, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -350] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [85, 0; 0, -345] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [95, 0; 0, -290] DstBlock "iahp" DstPort 4 } } } Block { BlockType SubSystem Name "synap_gpe" Ports [2, 1] Position [360, 18, 435, 47] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_gpe" Location [2, 166, 582, 436] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [375, 118, 405, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sig" "magh_gpe))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_gpe*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "sg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [485, 28, 515, 42] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [215, 63, 245, 77] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "gpe_cell" SrcPort 1 Points [0, 0; 50, 0] Branch { Points [0, -45] DstBlock "synap_gpe" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "gpe_cell" DstPort 3 } Line { SrcBlock "In4" SrcPort 1 Points [5, 0; 0, -15] DstBlock "gpe_cell" DstPort 4 } Line { SrcBlock "synap_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "gpe_cell" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "gpe_cell" DstPort 2 } Line { SrcBlock "Selector5" SrcPort 1 Points [25, 0; 0, -195] DstBlock "synap_gpe" DstPort 2 } Line { SrcBlock "In5" SrcPort 1 Points [10, 0; 0, -5] Branch { DstBlock "gpe_cell" DstPort 5 } Branch { Points [0, 25; 135, 0] DstBlock "Selector5" DstPort 2 } } Line { SrcBlock "Constant" SrcPort 1 Points [45, 0; 0, 10] DstBlock "Selector5" DstPort 1 } } } Block { BlockType SubSystem Name "GPE_cell13" Ports [5, 2] Position [480, 2344, 520, 2426] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "GPE_cell13" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 33, 65, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 53, 65, 67] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 73, 55, 87] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [25, 93, 55, 107] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [30, 228, 60, 242] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 200, 165, 230] Value "sg0" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [225, 216, 265, 254] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "gpe_cell" Ports [5, 1] Position [90, 26, 140, 114] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "gpe_cell" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 283, 80, 297] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 308, 80, 322] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 333, 80, 347] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [50, 358, 80, 372] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [115, 743, 145, 757] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant1" Position [50, 460, 80, 490] Value "ng0" } Block { BlockType Constant Name "Constant16" Position [55, 390, 85, 420] Value "vg0" } Block { BlockType Constant Name "Constant2" Position [55, 525, 85, 555] Value "hg0" } Block { BlockType Constant Name "Constant3" Position [50, 605, 80, 635] Value "rg0" } Block { BlockType Constant Name "Constant4" Position [50, 680, 80, 710] Value "cag0" } Block { BlockType Gain Name "Gain" Position [195, 231, 265, 269] Gain "1/c_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [285, 222, 315, 273] InitialConditionSource "external" InitialCondition "vg01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [210, 466, 250, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [210, 536, 250, 574] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [210, 606, 250, 644] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [205, 681, 245, 719] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [205, 396, 245, 434] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [10, 1] Position [105, 130, 165, 375] ShowName off Inputs "--------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 133, 60, 147] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_gpe)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_gpe)*gahp_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [30, 198, 60, 212] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_gpe" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cag01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [0, 5; 190, 0; 0, -125] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_gpe" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_gpe" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_gpe)/sigmas_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_gpe" DstPort 1 } } Line { SrcBlock "ica_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [20, 153, 50, 167] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_gpe" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_gpe" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_gpe" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_gpe" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [380, 403, 410, 417] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_gpe+ taun1_gpe/(1+exp(-(" "u-thetataun_gpe)/sigmataun_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "ng01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_gpe)/sigman" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [220, 0; 0, -100] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_gpe" SrcPort 1 DstBlock "ik_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_gpe" DstPort 1 } Branch { Points [0, 75] DstBlock "n_gpe" DstPort 1 } } Line { SrcBlock "ik_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "n_gpe" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_gpe*(u-el_gpe)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [0, 86, 1012, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [20, 163, 50, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_gpe" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [125, 398, 155, 412] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_gpe + tauh1_gpe/(1+exp(-" "(u-thetatauh_gpe)/sigmatauh_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_gpe)/sigmah" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [475, 0; 0, -95] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_gpe" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_gpe" Location [2, 82, 513, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_gpe" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_gpe)/sigmam_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_gpe" SrcPort 1 DstBlock "ina_gpe" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_gpe" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_gpe" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_gpe" DstPort 1 } } Line { SrcBlock "ina_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_gpe" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 128, 45, 142] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_gpe)/sigmaa_g" "pe))" } Block { BlockType SubSystem Name "it_gpe" Ports [3, 1] Position [480, 23, 540, 187] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_gpe" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_gpe" Ports [2, 1] Position [90, 65, 190, 125] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [130, 383, 160, 397] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/taur_gpe" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_gpe)/sigmar" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [0, 25; 460, 0; 0, -60; 15, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_gpe" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [0, -10] DstBlock "r_gpe" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -40] DstBlock "it_gpe" DstPort 1 } } Line { SrcBlock "it_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_gpe" SrcPort 1 Points [0, 10] DstBlock "it_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [25, 0] DstBlock "r_gpe" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [435, 608, 465, 622] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [0, -5] DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [40, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 210] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 25] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 95] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 130] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [5, 0; 0, -300; -435, 0; 0, 200] DstBlock "Sum" DstPort 5 } Branch { Points [15, 0; 0, -30] DstBlock "iahp" DstPort 2 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 165] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 235] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "In4" SrcPort 1 DstBlock "Sum" DstPort 10 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, 5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant16" SrcPort 1 DstBlock "Selector5" DstPort 1 } Line { SrcBlock "In5" SrcPort 1 Points [35, 0; 0, -45] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] DstBlock "Selector5" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { DstBlock "Selector3" DstPort 2 } } Branch { Points [5, 0] DstBlock "Selector4" DstPort 2 } } Line { SrcBlock "Selector5" SrcPort 1 Points [20, 0] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [65, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -350] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [85, 0; 0, -345] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [95, 0; 0, -290] DstBlock "iahp" DstPort 4 } } } Block { BlockType SubSystem Name "synap_gpe" Ports [2, 1] Position [360, 18, 435, 47] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_gpe" Location [2, 166, 582, 436] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [375, 118, 405, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sig" "magh_gpe))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_gpe*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "sg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [485, 28, 515, 42] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [215, 63, 245, 77] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "gpe_cell" SrcPort 1 Points [0, 0; 50, 0] Branch { Points [0, -45] DstBlock "synap_gpe" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "gpe_cell" DstPort 3 } Line { SrcBlock "In4" SrcPort 1 Points [5, 0; 0, -15] DstBlock "gpe_cell" DstPort 4 } Line { SrcBlock "synap_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "gpe_cell" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "gpe_cell" DstPort 2 } Line { SrcBlock "Selector5" SrcPort 1 Points [25, 0; 0, -195] DstBlock "synap_gpe" DstPort 2 } Line { SrcBlock "In5" SrcPort 1 Points [10, 0; 0, -5] Branch { DstBlock "gpe_cell" DstPort 5 } Branch { Points [0, 25; 135, 0] DstBlock "Selector5" DstPort 2 } } Line { SrcBlock "Constant" SrcPort 1 Points [45, 0; 0, 10] DstBlock "Selector5" DstPort 1 } } } Block { BlockType SubSystem Name "GPE_cell14" Ports [5, 2] Position [475, 2514, 515, 2596] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "GPE_cell14" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 33, 65, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 53, 65, 67] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 73, 55, 87] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [25, 93, 55, 107] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [30, 228, 60, 242] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 200, 165, 230] Value "sg0" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [225, 216, 265, 254] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "gpe_cell" Ports [5, 1] Position [90, 26, 140, 114] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "gpe_cell" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 283, 80, 297] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 308, 80, 322] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 333, 80, 347] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [50, 358, 80, 372] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [115, 743, 145, 757] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant1" Position [50, 460, 80, 490] Value "ng0" } Block { BlockType Constant Name "Constant16" Position [55, 390, 85, 420] Value "vg0" } Block { BlockType Constant Name "Constant2" Position [55, 525, 85, 555] Value "hg0" } Block { BlockType Constant Name "Constant3" Position [50, 605, 80, 635] Value "rg0" } Block { BlockType Constant Name "Constant4" Position [50, 680, 80, 710] Value "cag0" } Block { BlockType Gain Name "Gain" Position [195, 231, 265, 269] Gain "1/c_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [285, 222, 315, 273] InitialConditionSource "external" InitialCondition "vg01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [210, 466, 250, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [210, 536, 250, 574] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [210, 606, 250, 644] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [205, 681, 245, 719] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [205, 396, 245, 434] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [10, 1] Position [105, 130, 165, 375] ShowName off Inputs "--------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 133, 60, 147] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_gpe)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_gpe)*gahp_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [30, 198, 60, 212] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_gpe" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cag01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [0, 5; 190, 0; 0, -125] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_gpe" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_gpe" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_gpe)/sigmas_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_gpe" DstPort 1 } } Line { SrcBlock "ica_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [20, 153, 50, 167] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_gpe" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_gpe" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_gpe" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_gpe" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [380, 403, 410, 417] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_gpe+ taun1_gpe/(1+exp(-(" "u-thetataun_gpe)/sigmataun_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "ng01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_gpe)/sigman" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [220, 0; 0, -100] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_gpe" SrcPort 1 DstBlock "ik_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_gpe" DstPort 1 } Branch { Points [0, 75] DstBlock "n_gpe" DstPort 1 } } Line { SrcBlock "ik_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "n_gpe" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_gpe*(u-el_gpe)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [0, 86, 1012, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [20, 163, 50, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_gpe" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [125, 398, 155, 412] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_gpe + tauh1_gpe/(1+exp(-" "(u-thetatauh_gpe)/sigmatauh_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_gpe)/sigmah" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [475, 0; 0, -95] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_gpe" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_gpe" Location [2, 82, 513, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_gpe" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_gpe)/sigmam_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_gpe" SrcPort 1 DstBlock "ina_gpe" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_gpe" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_gpe" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_gpe" DstPort 1 } } Line { SrcBlock "ina_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_gpe" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 128, 45, 142] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_gpe)/sigmaa_g" "pe))" } Block { BlockType SubSystem Name "it_gpe" Ports [3, 1] Position [480, 23, 540, 187] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_gpe" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_gpe" Ports [2, 1] Position [90, 65, 190, 125] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [130, 383, 160, 397] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/taur_gpe" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_gpe)/sigmar" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [0, 25; 460, 0; 0, -60; 15, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_gpe" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [0, -10] DstBlock "r_gpe" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -40] DstBlock "it_gpe" DstPort 1 } } Line { SrcBlock "it_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_gpe" SrcPort 1 Points [0, 10] DstBlock "it_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [25, 0] DstBlock "r_gpe" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [435, 608, 465, 622] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [0, -5] DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [40, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 210] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 25] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 95] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 130] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [5, 0; 0, -300; -435, 0; 0, 200] DstBlock "Sum" DstPort 5 } Branch { Points [15, 0; 0, -30] DstBlock "iahp" DstPort 2 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 165] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 235] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "In4" SrcPort 1 DstBlock "Sum" DstPort 10 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, 5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant16" SrcPort 1 DstBlock "Selector5" DstPort 1 } Line { SrcBlock "In5" SrcPort 1 Points [35, 0; 0, -45] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] DstBlock "Selector5" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { DstBlock "Selector3" DstPort 2 } } Branch { Points [5, 0] DstBlock "Selector4" DstPort 2 } } Line { SrcBlock "Selector5" SrcPort 1 Points [20, 0] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [65, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -350] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [85, 0; 0, -345] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [95, 0; 0, -290] DstBlock "iahp" DstPort 4 } } } Block { BlockType SubSystem Name "synap_gpe" Ports [2, 1] Position [360, 18, 435, 47] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_gpe" Location [2, 166, 582, 436] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [375, 118, 405, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sig" "magh_gpe))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_gpe*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "sg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [485, 28, 515, 42] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [215, 63, 245, 77] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "gpe_cell" SrcPort 1 Points [0, 0; 50, 0] Branch { Points [0, -45] DstBlock "synap_gpe" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "gpe_cell" DstPort 3 } Line { SrcBlock "In4" SrcPort 1 Points [5, 0; 0, -15] DstBlock "gpe_cell" DstPort 4 } Line { SrcBlock "synap_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "gpe_cell" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "gpe_cell" DstPort 2 } Line { SrcBlock "Selector5" SrcPort 1 Points [25, 0; 0, -195] DstBlock "synap_gpe" DstPort 2 } Line { SrcBlock "In5" SrcPort 1 Points [10, 0; 0, -5] Branch { DstBlock "gpe_cell" DstPort 5 } Branch { Points [0, 25; 135, 0] DstBlock "Selector5" DstPort 2 } } Line { SrcBlock "Constant" SrcPort 1 Points [45, 0; 0, 10] DstBlock "Selector5" DstPort 1 } } } Block { BlockType SubSystem Name "GPE_cell15" Ports [5, 2] Position [480, 2634, 520, 2716] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "GPE_cell15" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 33, 65, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 53, 65, 67] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 73, 55, 87] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [25, 93, 55, 107] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [30, 228, 60, 242] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 200, 165, 230] Value "sg0" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [225, 216, 265, 254] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "gpe_cell" Ports [5, 1] Position [90, 26, 140, 114] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "gpe_cell" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 283, 80, 297] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 308, 80, 322] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 333, 80, 347] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [50, 358, 80, 372] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [115, 743, 145, 757] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant1" Position [50, 460, 80, 490] Value "ng0" } Block { BlockType Constant Name "Constant16" Position [55, 390, 85, 420] Value "vg0" } Block { BlockType Constant Name "Constant2" Position [55, 525, 85, 555] Value "hg0" } Block { BlockType Constant Name "Constant3" Position [50, 605, 80, 635] Value "rg0" } Block { BlockType Constant Name "Constant4" Position [50, 680, 80, 710] Value "cag0" } Block { BlockType Gain Name "Gain" Position [195, 231, 265, 269] Gain "1/c_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [285, 222, 315, 273] InitialConditionSource "external" InitialCondition "vg01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [210, 466, 250, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [210, 536, 250, 574] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [210, 606, 250, 644] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [205, 681, 245, 719] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [205, 396, 245, 434] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [10, 1] Position [105, 130, 165, 375] ShowName off Inputs "--------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 133, 60, 147] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_gpe)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_gpe)*gahp_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [30, 198, 60, 212] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_gpe" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cag01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [0, 5; 190, 0; 0, -125] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_gpe" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_gpe" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_gpe)/sigmas_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_gpe" DstPort 1 } } Line { SrcBlock "ica_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [20, 153, 50, 167] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_gpe" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_gpe" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_gpe" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_gpe" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [380, 403, 410, 417] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_gpe+ taun1_gpe/(1+exp(-(" "u-thetataun_gpe)/sigmataun_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "ng01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_gpe)/sigman" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [220, 0; 0, -100] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_gpe" SrcPort 1 DstBlock "ik_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_gpe" DstPort 1 } Branch { Points [0, 75] DstBlock "n_gpe" DstPort 1 } } Line { SrcBlock "ik_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "n_gpe" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_gpe*(u-el_gpe)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [0, 86, 1012, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [20, 163, 50, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_gpe" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [125, 398, 155, 412] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_gpe + tauh1_gpe/(1+exp(-" "(u-thetatauh_gpe)/sigmatauh_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_gpe)/sigmah" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [475, 0; 0, -95] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_gpe" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_gpe" Location [2, 82, 513, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_gpe" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_gpe)/sigmam_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_gpe" SrcPort 1 DstBlock "ina_gpe" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_gpe" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_gpe" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_gpe" DstPort 1 } } Line { SrcBlock "ina_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_gpe" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 128, 45, 142] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_gpe)/sigmaa_g" "pe))" } Block { BlockType SubSystem Name "it_gpe" Ports [3, 1] Position [480, 23, 540, 187] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_gpe" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_gpe" Ports [2, 1] Position [90, 65, 190, 125] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [130, 383, 160, 397] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/taur_gpe" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_gpe)/sigmar" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [0, 25; 460, 0; 0, -60; 15, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_gpe" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [0, -10] DstBlock "r_gpe" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -40] DstBlock "it_gpe" DstPort 1 } } Line { SrcBlock "it_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_gpe" SrcPort 1 Points [0, 10] DstBlock "it_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [25, 0] DstBlock "r_gpe" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [435, 608, 465, 622] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [0, -5] DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [40, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 210] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 25] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 95] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 130] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [5, 0; 0, -300; -435, 0; 0, 200] DstBlock "Sum" DstPort 5 } Branch { Points [15, 0; 0, -30] DstBlock "iahp" DstPort 2 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 165] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 235] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "In4" SrcPort 1 DstBlock "Sum" DstPort 10 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, 5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant16" SrcPort 1 DstBlock "Selector5" DstPort 1 } Line { SrcBlock "In5" SrcPort 1 Points [35, 0; 0, -45] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] DstBlock "Selector5" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { DstBlock "Selector3" DstPort 2 } } Branch { Points [5, 0] DstBlock "Selector4" DstPort 2 } } Line { SrcBlock "Selector5" SrcPort 1 Points [20, 0] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [65, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -350] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [85, 0; 0, -345] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [95, 0; 0, -290] DstBlock "iahp" DstPort 4 } } } Block { BlockType SubSystem Name "synap_gpe" Ports [2, 1] Position [360, 18, 435, 47] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_gpe" Location [2, 166, 582, 436] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [375, 118, 405, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sig" "magh_gpe))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_gpe*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "sg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [485, 28, 515, 42] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [215, 63, 245, 77] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "gpe_cell" SrcPort 1 Points [0, 0; 50, 0] Branch { Points [0, -45] DstBlock "synap_gpe" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "gpe_cell" DstPort 3 } Line { SrcBlock "In4" SrcPort 1 Points [5, 0; 0, -15] DstBlock "gpe_cell" DstPort 4 } Line { SrcBlock "synap_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "gpe_cell" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "gpe_cell" DstPort 2 } Line { SrcBlock "Selector5" SrcPort 1 Points [25, 0; 0, -195] DstBlock "synap_gpe" DstPort 2 } Line { SrcBlock "In5" SrcPort 1 Points [10, 0; 0, -5] Branch { DstBlock "gpe_cell" DstPort 5 } Branch { Points [0, 25; 135, 0] DstBlock "Selector5" DstPort 2 } } Line { SrcBlock "Constant" SrcPort 1 Points [45, 0; 0, 10] DstBlock "Selector5" DstPort 1 } } } Block { BlockType SubSystem Name "GPE_cell2" Ports [5, 2] Position [465, 514, 505, 596] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "GPE_cell2" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 33, 65, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 53, 65, 67] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 73, 55, 87] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [25, 93, 55, 107] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [30, 228, 60, 242] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 200, 165, 230] Value "sg0" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [225, 216, 265, 254] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "gpe_cell" Ports [5, 1] Position [90, 26, 140, 114] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "gpe_cell" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 283, 80, 297] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 308, 80, 322] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 333, 80, 347] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [50, 358, 80, 372] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [115, 743, 145, 757] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant1" Position [50, 460, 80, 490] Value "ng0" } Block { BlockType Constant Name "Constant16" Position [55, 390, 85, 420] Value "vg0" } Block { BlockType Constant Name "Constant2" Position [55, 525, 85, 555] Value "hg0" } Block { BlockType Constant Name "Constant3" Position [50, 605, 80, 635] Value "rg0" } Block { BlockType Constant Name "Constant4" Position [50, 680, 80, 710] Value "cag0" } Block { BlockType Gain Name "Gain" Position [195, 231, 265, 269] Gain "1/c_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [285, 222, 315, 273] InitialConditionSource "external" InitialCondition "vg01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [210, 466, 250, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [210, 536, 250, 574] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [210, 606, 250, 644] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [205, 681, 245, 719] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [205, 396, 245, 434] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [10, 1] Position [105, 130, 165, 375] ShowName off Inputs "--------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 133, 60, 147] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_gpe)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_gpe)*gahp_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [30, 198, 60, 212] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_gpe" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cag01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [0, 5; 190, 0; 0, -125] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_gpe" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_gpe" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_gpe)/sigmas_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_gpe" DstPort 1 } } Line { SrcBlock "ica_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [20, 153, 50, 167] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_gpe" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_gpe" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_gpe" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_gpe" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [380, 403, 410, 417] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_gpe+ taun1_gpe/(1+exp(-(" "u-thetataun_gpe)/sigmataun_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "ng01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_gpe)/sigman" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [220, 0; 0, -100] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_gpe" SrcPort 1 DstBlock "ik_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_gpe" DstPort 1 } Branch { Points [0, 75] DstBlock "n_gpe" DstPort 1 } } Line { SrcBlock "ik_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "n_gpe" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_gpe*(u-el_gpe)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [0, 86, 1012, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [20, 163, 50, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_gpe" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [125, 398, 155, 412] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_gpe + tauh1_gpe/(1+exp(-" "(u-thetatauh_gpe)/sigmatauh_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_gpe)/sigmah" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [475, 0; 0, -95] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_gpe" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_gpe" Location [2, 82, 513, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_gpe" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_gpe)/sigmam_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_gpe" SrcPort 1 DstBlock "ina_gpe" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_gpe" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_gpe" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_gpe" DstPort 1 } } Line { SrcBlock "ina_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_gpe" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 128, 45, 142] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_gpe)/sigmaa_g" "pe))" } Block { BlockType SubSystem Name "it_gpe" Ports [3, 1] Position [480, 23, 540, 187] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_gpe" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_gpe" Ports [2, 1] Position [90, 65, 190, 125] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [130, 383, 160, 397] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/taur_gpe" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_gpe)/sigmar" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [0, 25; 460, 0; 0, -60; 15, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_gpe" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [0, -10] DstBlock "r_gpe" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -40] DstBlock "it_gpe" DstPort 1 } } Line { SrcBlock "it_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_gpe" SrcPort 1 Points [0, 10] DstBlock "it_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [25, 0] DstBlock "r_gpe" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [435, 608, 465, 622] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [0, -5] DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [40, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 210] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 25] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 95] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 130] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [5, 0; 0, -300; -435, 0; 0, 200] DstBlock "Sum" DstPort 5 } Branch { Points [15, 0; 0, -30] DstBlock "iahp" DstPort 2 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 165] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 235] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "In4" SrcPort 1 DstBlock "Sum" DstPort 10 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, 5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant16" SrcPort 1 DstBlock "Selector5" DstPort 1 } Line { SrcBlock "In5" SrcPort 1 Points [35, 0; 0, -45] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] DstBlock "Selector5" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { DstBlock "Selector3" DstPort 2 } } Branch { Points [5, 0] DstBlock "Selector4" DstPort 2 } } Line { SrcBlock "Selector5" SrcPort 1 Points [20, 0] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [65, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -350] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [85, 0; 0, -345] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [95, 0; 0, -290] DstBlock "iahp" DstPort 4 } } } Block { BlockType SubSystem Name "synap_gpe" Ports [2, 1] Position [360, 18, 435, 47] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_gpe" Location [2, 166, 582, 436] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [375, 118, 405, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sig" "magh_gpe))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_gpe*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "sg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [485, 28, 515, 42] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [215, 63, 245, 77] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "gpe_cell" SrcPort 1 Points [0, 0; 50, 0] Branch { Points [0, -45] DstBlock "synap_gpe" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "gpe_cell" DstPort 3 } Line { SrcBlock "In4" SrcPort 1 Points [5, 0; 0, -15] DstBlock "gpe_cell" DstPort 4 } Line { SrcBlock "synap_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "gpe_cell" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "gpe_cell" DstPort 2 } Line { SrcBlock "Selector5" SrcPort 1 Points [25, 0; 0, -195] DstBlock "synap_gpe" DstPort 2 } Line { SrcBlock "In5" SrcPort 1 Points [10, 0; 0, -5] Branch { DstBlock "gpe_cell" DstPort 5 } Branch { Points [0, 25; 135, 0] DstBlock "Selector5" DstPort 2 } } Line { SrcBlock "Constant" SrcPort 1 Points [45, 0; 0, 10] DstBlock "Selector5" DstPort 1 } } } Block { BlockType SubSystem Name "GPE_cell3" Ports [5, 2] Position [455, 689, 495, 771] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "GPE_cell3" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 33, 65, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 53, 65, 67] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 73, 55, 87] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [25, 93, 55, 107] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [30, 228, 60, 242] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 200, 165, 230] Value "sg0" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [225, 216, 265, 254] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "gpe_cell" Ports [5, 1] Position [90, 26, 140, 114] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "gpe_cell" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 283, 80, 297] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 308, 80, 322] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 333, 80, 347] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [50, 358, 80, 372] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [115, 743, 145, 757] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant1" Position [50, 460, 80, 490] Value "ng0" } Block { BlockType Constant Name "Constant16" Position [55, 390, 85, 420] Value "vg0" } Block { BlockType Constant Name "Constant2" Position [55, 525, 85, 555] Value "hg0" } Block { BlockType Constant Name "Constant3" Position [50, 605, 80, 635] Value "rg0" } Block { BlockType Constant Name "Constant4" Position [50, 680, 80, 710] Value "cag0" } Block { BlockType Gain Name "Gain" Position [195, 231, 265, 269] Gain "1/c_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [285, 222, 315, 273] InitialConditionSource "external" InitialCondition "vg01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [210, 466, 250, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [210, 536, 250, 574] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [210, 606, 250, 644] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [205, 681, 245, 719] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [205, 396, 245, 434] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [10, 1] Position [105, 130, 165, 375] ShowName off Inputs "--------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 133, 60, 147] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_gpe)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_gpe)*gahp_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [30, 198, 60, 212] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_gpe" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cag01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [0, 5; 190, 0; 0, -125] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_gpe" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_gpe" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_gpe)/sigmas_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_gpe" DstPort 1 } } Line { SrcBlock "ica_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [20, 153, 50, 167] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_gpe" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_gpe" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_gpe" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_gpe" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [380, 403, 410, 417] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_gpe+ taun1_gpe/(1+exp(-(" "u-thetataun_gpe)/sigmataun_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "ng01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_gpe)/sigman" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [220, 0; 0, -100] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_gpe" SrcPort 1 DstBlock "ik_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_gpe" DstPort 1 } Branch { Points [0, 75] DstBlock "n_gpe" DstPort 1 } } Line { SrcBlock "ik_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "n_gpe" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_gpe*(u-el_gpe)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [0, 86, 1012, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [20, 163, 50, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_gpe" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [125, 398, 155, 412] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_gpe + tauh1_gpe/(1+exp(-" "(u-thetatauh_gpe)/sigmatauh_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_gpe)/sigmah" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [475, 0; 0, -95] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_gpe" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_gpe" Location [2, 82, 513, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_gpe" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_gpe)/sigmam_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_gpe" SrcPort 1 DstBlock "ina_gpe" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_gpe" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_gpe" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_gpe" DstPort 1 } } Line { SrcBlock "ina_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_gpe" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 128, 45, 142] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_gpe)/sigmaa_g" "pe))" } Block { BlockType SubSystem Name "it_gpe" Ports [3, 1] Position [480, 23, 540, 187] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_gpe" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_gpe" Ports [2, 1] Position [90, 65, 190, 125] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [130, 383, 160, 397] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/taur_gpe" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_gpe)/sigmar" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [0, 25; 460, 0; 0, -60; 15, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_gpe" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [0, -10] DstBlock "r_gpe" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -40] DstBlock "it_gpe" DstPort 1 } } Line { SrcBlock "it_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_gpe" SrcPort 1 Points [0, 10] DstBlock "it_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [25, 0] DstBlock "r_gpe" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [435, 608, 465, 622] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [0, -5] DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [40, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 210] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 25] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 95] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 130] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [5, 0; 0, -300; -435, 0; 0, 200] DstBlock "Sum" DstPort 5 } Branch { Points [15, 0; 0, -30] DstBlock "iahp" DstPort 2 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 165] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 235] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "In4" SrcPort 1 DstBlock "Sum" DstPort 10 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, 5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant16" SrcPort 1 DstBlock "Selector5" DstPort 1 } Line { SrcBlock "In5" SrcPort 1 Points [35, 0; 0, -45] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] DstBlock "Selector5" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { DstBlock "Selector3" DstPort 2 } } Branch { Points [5, 0] DstBlock "Selector4" DstPort 2 } } Line { SrcBlock "Selector5" SrcPort 1 Points [20, 0] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [65, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -350] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [85, 0; 0, -345] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [95, 0; 0, -290] DstBlock "iahp" DstPort 4 } } } Block { BlockType SubSystem Name "synap_gpe" Ports [2, 1] Position [360, 18, 435, 47] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_gpe" Location [2, 166, 582, 436] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [375, 118, 405, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sig" "magh_gpe))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_gpe*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "sg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [485, 28, 515, 42] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [215, 63, 245, 77] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "gpe_cell" SrcPort 1 Points [0, 0; 50, 0] Branch { Points [0, -45] DstBlock "synap_gpe" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "gpe_cell" DstPort 3 } Line { SrcBlock "In4" SrcPort 1 Points [5, 0; 0, -15] DstBlock "gpe_cell" DstPort 4 } Line { SrcBlock "synap_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "gpe_cell" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "gpe_cell" DstPort 2 } Line { SrcBlock "Selector5" SrcPort 1 Points [25, 0; 0, -195] DstBlock "synap_gpe" DstPort 2 } Line { SrcBlock "In5" SrcPort 1 Points [10, 0; 0, -5] Branch { DstBlock "gpe_cell" DstPort 5 } Branch { Points [0, 25; 135, 0] DstBlock "Selector5" DstPort 2 } } Line { SrcBlock "Constant" SrcPort 1 Points [45, 0; 0, 10] DstBlock "Selector5" DstPort 1 } } } Block { BlockType SubSystem Name "GPE_cell4" Ports [5, 2] Position [460, 844, 500, 926] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "GPE_cell4" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 33, 65, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 53, 65, 67] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 73, 55, 87] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [25, 93, 55, 107] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [30, 228, 60, 242] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 200, 165, 230] Value "sg0" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [225, 216, 265, 254] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "gpe_cell" Ports [5, 1] Position [90, 26, 140, 114] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "gpe_cell" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 283, 80, 297] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 308, 80, 322] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 333, 80, 347] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [50, 358, 80, 372] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [115, 743, 145, 757] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant1" Position [50, 460, 80, 490] Value "ng0" } Block { BlockType Constant Name "Constant16" Position [55, 390, 85, 420] Value "vg0" } Block { BlockType Constant Name "Constant2" Position [55, 525, 85, 555] Value "hg0" } Block { BlockType Constant Name "Constant3" Position [50, 605, 80, 635] Value "rg0" } Block { BlockType Constant Name "Constant4" Position [50, 680, 80, 710] Value "cag0" } Block { BlockType Gain Name "Gain" Position [195, 231, 265, 269] Gain "1/c_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [285, 222, 315, 273] InitialConditionSource "external" InitialCondition "vg01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [210, 466, 250, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [210, 536, 250, 574] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [210, 606, 250, 644] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [205, 681, 245, 719] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [205, 396, 245, 434] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [10, 1] Position [105, 130, 165, 375] ShowName off Inputs "--------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 133, 60, 147] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_gpe)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_gpe)*gahp_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [30, 198, 60, 212] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_gpe" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cag01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [0, 5; 190, 0; 0, -125] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_gpe" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_gpe" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_gpe)/sigmas_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_gpe" DstPort 1 } } Line { SrcBlock "ica_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [20, 153, 50, 167] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_gpe" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_gpe" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_gpe" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_gpe" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [380, 403, 410, 417] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_gpe+ taun1_gpe/(1+exp(-(" "u-thetataun_gpe)/sigmataun_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "ng01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_gpe)/sigman" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [220, 0; 0, -100] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_gpe" SrcPort 1 DstBlock "ik_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_gpe" DstPort 1 } Branch { Points [0, 75] DstBlock "n_gpe" DstPort 1 } } Line { SrcBlock "ik_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "n_gpe" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_gpe*(u-el_gpe)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [0, 86, 1012, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [20, 163, 50, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_gpe" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [125, 398, 155, 412] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_gpe + tauh1_gpe/(1+exp(-" "(u-thetatauh_gpe)/sigmatauh_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_gpe)/sigmah" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [475, 0; 0, -95] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_gpe" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_gpe" Location [2, 82, 513, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_gpe" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_gpe)/sigmam_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_gpe" SrcPort 1 DstBlock "ina_gpe" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_gpe" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_gpe" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_gpe" DstPort 1 } } Line { SrcBlock "ina_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_gpe" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 128, 45, 142] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_gpe)/sigmaa_g" "pe))" } Block { BlockType SubSystem Name "it_gpe" Ports [3, 1] Position [480, 23, 540, 187] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_gpe" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_gpe" Ports [2, 1] Position [90, 65, 190, 125] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [130, 383, 160, 397] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/taur_gpe" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_gpe)/sigmar" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [0, 25; 460, 0; 0, -60; 15, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_gpe" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [0, -10] DstBlock "r_gpe" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -40] DstBlock "it_gpe" DstPort 1 } } Line { SrcBlock "it_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_gpe" SrcPort 1 Points [0, 10] DstBlock "it_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [25, 0] DstBlock "r_gpe" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [435, 608, 465, 622] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [0, -5] DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [40, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 210] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 25] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 95] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 130] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [5, 0; 0, -300; -435, 0; 0, 200] DstBlock "Sum" DstPort 5 } Branch { Points [15, 0; 0, -30] DstBlock "iahp" DstPort 2 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 165] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 235] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "In4" SrcPort 1 DstBlock "Sum" DstPort 10 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, 5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant16" SrcPort 1 DstBlock "Selector5" DstPort 1 } Line { SrcBlock "In5" SrcPort 1 Points [35, 0; 0, -45] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] DstBlock "Selector5" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { DstBlock "Selector3" DstPort 2 } } Branch { Points [5, 0] DstBlock "Selector4" DstPort 2 } } Line { SrcBlock "Selector5" SrcPort 1 Points [20, 0] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [65, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -350] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [85, 0; 0, -345] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [95, 0; 0, -290] DstBlock "iahp" DstPort 4 } } } Block { BlockType SubSystem Name "synap_gpe" Ports [2, 1] Position [360, 18, 435, 47] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_gpe" Location [2, 166, 582, 436] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [375, 118, 405, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sig" "magh_gpe))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_gpe*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "sg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [485, 28, 515, 42] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [215, 63, 245, 77] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "gpe_cell" SrcPort 1 Points [0, 0; 50, 0] Branch { Points [0, -45] DstBlock "synap_gpe" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "gpe_cell" DstPort 3 } Line { SrcBlock "In4" SrcPort 1 Points [5, 0; 0, -15] DstBlock "gpe_cell" DstPort 4 } Line { SrcBlock "synap_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "gpe_cell" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "gpe_cell" DstPort 2 } Line { SrcBlock "Selector5" SrcPort 1 Points [25, 0; 0, -195] DstBlock "synap_gpe" DstPort 2 } Line { SrcBlock "In5" SrcPort 1 Points [10, 0; 0, -5] Branch { DstBlock "gpe_cell" DstPort 5 } Branch { Points [0, 25; 135, 0] DstBlock "Selector5" DstPort 2 } } Line { SrcBlock "Constant" SrcPort 1 Points [45, 0; 0, 10] DstBlock "Selector5" DstPort 1 } } } Block { BlockType SubSystem Name "GPE_cell5" Ports [5, 2] Position [465, 1004, 505, 1086] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "GPE_cell5" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 33, 65, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 53, 65, 67] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 73, 55, 87] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [25, 93, 55, 107] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [30, 228, 60, 242] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 200, 165, 230] Value "sg0" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [225, 216, 265, 254] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "gpe_cell" Ports [5, 1] Position [90, 26, 140, 114] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "gpe_cell" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 283, 80, 297] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 308, 80, 322] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 333, 80, 347] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [50, 358, 80, 372] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [115, 743, 145, 757] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant1" Position [50, 460, 80, 490] Value "ng0" } Block { BlockType Constant Name "Constant16" Position [55, 390, 85, 420] Value "vg0" } Block { BlockType Constant Name "Constant2" Position [55, 525, 85, 555] Value "hg0" } Block { BlockType Constant Name "Constant3" Position [50, 605, 80, 635] Value "rg0" } Block { BlockType Constant Name "Constant4" Position [50, 680, 80, 710] Value "cag0" } Block { BlockType Gain Name "Gain" Position [195, 231, 265, 269] Gain "1/c_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [285, 222, 315, 273] InitialConditionSource "external" InitialCondition "vg01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [210, 466, 250, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [210, 536, 250, 574] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [210, 606, 250, 644] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [205, 681, 245, 719] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [205, 396, 245, 434] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [10, 1] Position [105, 130, 165, 375] ShowName off Inputs "--------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 133, 60, 147] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_gpe)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_gpe)*gahp_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [30, 198, 60, 212] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_gpe" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cag01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [0, 5; 190, 0; 0, -125] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_gpe" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_gpe" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_gpe)/sigmas_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_gpe" DstPort 1 } } Line { SrcBlock "ica_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [20, 153, 50, 167] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_gpe" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_gpe" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_gpe" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_gpe" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [380, 403, 410, 417] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_gpe+ taun1_gpe/(1+exp(-(" "u-thetataun_gpe)/sigmataun_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "ng01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_gpe)/sigman" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [220, 0; 0, -100] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_gpe" SrcPort 1 DstBlock "ik_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_gpe" DstPort 1 } Branch { Points [0, 75] DstBlock "n_gpe" DstPort 1 } } Line { SrcBlock "ik_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "n_gpe" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_gpe*(u-el_gpe)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [0, 86, 1012, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [20, 163, 50, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_gpe" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [125, 398, 155, 412] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_gpe + tauh1_gpe/(1+exp(-" "(u-thetatauh_gpe)/sigmatauh_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_gpe)/sigmah" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [475, 0; 0, -95] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_gpe" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_gpe" Location [2, 82, 513, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_gpe" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_gpe)/sigmam_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_gpe" SrcPort 1 DstBlock "ina_gpe" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_gpe" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_gpe" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_gpe" DstPort 1 } } Line { SrcBlock "ina_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_gpe" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 128, 45, 142] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_gpe)/sigmaa_g" "pe))" } Block { BlockType SubSystem Name "it_gpe" Ports [3, 1] Position [480, 23, 540, 187] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_gpe" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_gpe" Ports [2, 1] Position [90, 65, 190, 125] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [130, 383, 160, 397] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/taur_gpe" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_gpe)/sigmar" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [0, 25; 460, 0; 0, -60; 15, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_gpe" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [0, -10] DstBlock "r_gpe" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -40] DstBlock "it_gpe" DstPort 1 } } Line { SrcBlock "it_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_gpe" SrcPort 1 Points [0, 10] DstBlock "it_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [25, 0] DstBlock "r_gpe" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [435, 608, 465, 622] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [0, -5] DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [40, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 210] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 25] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 95] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 130] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [5, 0; 0, -300; -435, 0; 0, 200] DstBlock "Sum" DstPort 5 } Branch { Points [15, 0; 0, -30] DstBlock "iahp" DstPort 2 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 165] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 235] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "In4" SrcPort 1 DstBlock "Sum" DstPort 10 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, 5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant16" SrcPort 1 DstBlock "Selector5" DstPort 1 } Line { SrcBlock "In5" SrcPort 1 Points [35, 0; 0, -45] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] DstBlock "Selector5" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { DstBlock "Selector3" DstPort 2 } } Branch { Points [5, 0] DstBlock "Selector4" DstPort 2 } } Line { SrcBlock "Selector5" SrcPort 1 Points [20, 0] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [65, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -350] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [85, 0; 0, -345] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [95, 0; 0, -290] DstBlock "iahp" DstPort 4 } } } Block { BlockType SubSystem Name "synap_gpe" Ports [2, 1] Position [360, 18, 435, 47] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_gpe" Location [2, 166, 582, 436] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [375, 118, 405, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sig" "magh_gpe))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_gpe*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "sg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [485, 28, 515, 42] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [215, 63, 245, 77] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "gpe_cell" SrcPort 1 Points [0, 0; 50, 0] Branch { Points [0, -45] DstBlock "synap_gpe" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "gpe_cell" DstPort 3 } Line { SrcBlock "In4" SrcPort 1 Points [5, 0; 0, -15] DstBlock "gpe_cell" DstPort 4 } Line { SrcBlock "synap_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "gpe_cell" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "gpe_cell" DstPort 2 } Line { SrcBlock "Selector5" SrcPort 1 Points [25, 0; 0, -195] DstBlock "synap_gpe" DstPort 2 } Line { SrcBlock "In5" SrcPort 1 Points [10, 0; 0, -5] Branch { DstBlock "gpe_cell" DstPort 5 } Branch { Points [0, 25; 135, 0] DstBlock "Selector5" DstPort 2 } } Line { SrcBlock "Constant" SrcPort 1 Points [45, 0; 0, 10] DstBlock "Selector5" DstPort 1 } } } Block { BlockType SubSystem Name "GPE_cell6" Ports [5, 2] Position [460, 1174, 500, 1256] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "GPE_cell6" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 33, 65, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 53, 65, 67] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 73, 55, 87] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [25, 93, 55, 107] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [30, 228, 60, 242] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 200, 165, 230] Value "sg0" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [225, 216, 265, 254] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "gpe_cell" Ports [5, 1] Position [90, 26, 140, 114] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "gpe_cell" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 283, 80, 297] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 308, 80, 322] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 333, 80, 347] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [50, 358, 80, 372] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [115, 743, 145, 757] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant1" Position [50, 460, 80, 490] Value "ng0" } Block { BlockType Constant Name "Constant16" Position [55, 390, 85, 420] Value "vg0" } Block { BlockType Constant Name "Constant2" Position [55, 525, 85, 555] Value "hg0" } Block { BlockType Constant Name "Constant3" Position [50, 605, 80, 635] Value "rg0" } Block { BlockType Constant Name "Constant4" Position [50, 680, 80, 710] Value "cag0" } Block { BlockType Gain Name "Gain" Position [195, 231, 265, 269] Gain "1/c_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [285, 222, 315, 273] InitialConditionSource "external" InitialCondition "vg01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [210, 466, 250, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [210, 536, 250, 574] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [210, 606, 250, 644] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [205, 681, 245, 719] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [205, 396, 245, 434] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [10, 1] Position [105, 130, 165, 375] ShowName off Inputs "--------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 133, 60, 147] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_gpe)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_gpe)*gahp_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [30, 198, 60, 212] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_gpe" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cag01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [0, 5; 190, 0; 0, -125] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_gpe" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_gpe" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_gpe)/sigmas_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_gpe" DstPort 1 } } Line { SrcBlock "ica_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [20, 153, 50, 167] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_gpe" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_gpe" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_gpe" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_gpe" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [380, 403, 410, 417] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_gpe+ taun1_gpe/(1+exp(-(" "u-thetataun_gpe)/sigmataun_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "ng01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_gpe)/sigman" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [220, 0; 0, -100] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_gpe" SrcPort 1 DstBlock "ik_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_gpe" DstPort 1 } Branch { Points [0, 75] DstBlock "n_gpe" DstPort 1 } } Line { SrcBlock "ik_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "n_gpe" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_gpe*(u-el_gpe)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [0, 86, 1012, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [20, 163, 50, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_gpe" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [125, 398, 155, 412] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_gpe + tauh1_gpe/(1+exp(-" "(u-thetatauh_gpe)/sigmatauh_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_gpe)/sigmah" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [475, 0; 0, -95] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_gpe" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_gpe" Location [2, 82, 513, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_gpe" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_gpe)/sigmam_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_gpe" SrcPort 1 DstBlock "ina_gpe" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_gpe" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_gpe" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_gpe" DstPort 1 } } Line { SrcBlock "ina_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_gpe" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 128, 45, 142] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_gpe)/sigmaa_g" "pe))" } Block { BlockType SubSystem Name "it_gpe" Ports [3, 1] Position [480, 23, 540, 187] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_gpe" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_gpe" Ports [2, 1] Position [90, 65, 190, 125] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [130, 383, 160, 397] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/taur_gpe" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_gpe)/sigmar" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [0, 25; 460, 0; 0, -60; 15, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_gpe" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [0, -10] DstBlock "r_gpe" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -40] DstBlock "it_gpe" DstPort 1 } } Line { SrcBlock "it_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_gpe" SrcPort 1 Points [0, 10] DstBlock "it_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [25, 0] DstBlock "r_gpe" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [435, 608, 465, 622] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [0, -5] DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [40, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 210] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 25] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 95] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 130] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [5, 0; 0, -300; -435, 0; 0, 200] DstBlock "Sum" DstPort 5 } Branch { Points [15, 0; 0, -30] DstBlock "iahp" DstPort 2 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 165] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 235] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "In4" SrcPort 1 DstBlock "Sum" DstPort 10 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, 5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant16" SrcPort 1 DstBlock "Selector5" DstPort 1 } Line { SrcBlock "In5" SrcPort 1 Points [35, 0; 0, -45] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] DstBlock "Selector5" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { DstBlock "Selector3" DstPort 2 } } Branch { Points [5, 0] DstBlock "Selector4" DstPort 2 } } Line { SrcBlock "Selector5" SrcPort 1 Points [20, 0] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [65, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -350] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [85, 0; 0, -345] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [95, 0; 0, -290] DstBlock "iahp" DstPort 4 } } } Block { BlockType SubSystem Name "synap_gpe" Ports [2, 1] Position [360, 18, 435, 47] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_gpe" Location [2, 166, 582, 436] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [375, 118, 405, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sig" "magh_gpe))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_gpe*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "sg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [485, 28, 515, 42] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [215, 63, 245, 77] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "gpe_cell" SrcPort 1 Points [0, 0; 50, 0] Branch { Points [0, -45] DstBlock "synap_gpe" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "gpe_cell" DstPort 3 } Line { SrcBlock "In4" SrcPort 1 Points [5, 0; 0, -15] DstBlock "gpe_cell" DstPort 4 } Line { SrcBlock "synap_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "gpe_cell" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "gpe_cell" DstPort 2 } Line { SrcBlock "Selector5" SrcPort 1 Points [25, 0; 0, -195] DstBlock "synap_gpe" DstPort 2 } Line { SrcBlock "In5" SrcPort 1 Points [10, 0; 0, -5] Branch { DstBlock "gpe_cell" DstPort 5 } Branch { Points [0, 25; 135, 0] DstBlock "Selector5" DstPort 2 } } Line { SrcBlock "Constant" SrcPort 1 Points [45, 0; 0, 10] DstBlock "Selector5" DstPort 1 } } } Block { BlockType SubSystem Name "GPE_cell7" Ports [5, 2] Position [460, 1314, 500, 1396] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "GPE_cell7" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 33, 65, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 53, 65, 67] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 73, 55, 87] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [25, 93, 55, 107] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [30, 228, 60, 242] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 200, 165, 230] Value "sg0" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [225, 216, 265, 254] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "gpe_cell" Ports [5, 1] Position [90, 26, 140, 114] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "gpe_cell" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 283, 80, 297] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 308, 80, 322] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 333, 80, 347] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [50, 358, 80, 372] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [115, 743, 145, 757] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant1" Position [50, 460, 80, 490] Value "ng0" } Block { BlockType Constant Name "Constant16" Position [55, 390, 85, 420] Value "vg0" } Block { BlockType Constant Name "Constant2" Position [55, 525, 85, 555] Value "hg0" } Block { BlockType Constant Name "Constant3" Position [50, 605, 80, 635] Value "rg0" } Block { BlockType Constant Name "Constant4" Position [50, 680, 80, 710] Value "cag0" } Block { BlockType Gain Name "Gain" Position [195, 231, 265, 269] Gain "1/c_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [285, 222, 315, 273] InitialConditionSource "external" InitialCondition "vg01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [210, 466, 250, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [210, 536, 250, 574] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [210, 606, 250, 644] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [205, 681, 245, 719] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [205, 396, 245, 434] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [10, 1] Position [105, 130, 165, 375] ShowName off Inputs "--------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 133, 60, 147] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_gpe)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_gpe)*gahp_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [30, 198, 60, 212] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_gpe" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cag01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [0, 5; 190, 0; 0, -125] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_gpe" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_gpe" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_gpe)/sigmas_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_gpe" DstPort 1 } } Line { SrcBlock "ica_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [20, 153, 50, 167] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_gpe" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_gpe" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_gpe" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_gpe" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [380, 403, 410, 417] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_gpe+ taun1_gpe/(1+exp(-(" "u-thetataun_gpe)/sigmataun_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "ng01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_gpe)/sigman" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [220, 0; 0, -100] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_gpe" SrcPort 1 DstBlock "ik_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_gpe" DstPort 1 } Branch { Points [0, 75] DstBlock "n_gpe" DstPort 1 } } Line { SrcBlock "ik_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "n_gpe" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_gpe*(u-el_gpe)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [0, 86, 1012, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [20, 163, 50, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_gpe" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [125, 398, 155, 412] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_gpe + tauh1_gpe/(1+exp(-" "(u-thetatauh_gpe)/sigmatauh_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_gpe)/sigmah" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [475, 0; 0, -95] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_gpe" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_gpe" Location [2, 82, 513, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_gpe" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_gpe)/sigmam_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_gpe" SrcPort 1 DstBlock "ina_gpe" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_gpe" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_gpe" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_gpe" DstPort 1 } } Line { SrcBlock "ina_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_gpe" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 128, 45, 142] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_gpe)/sigmaa_g" "pe))" } Block { BlockType SubSystem Name "it_gpe" Ports [3, 1] Position [480, 23, 540, 187] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_gpe" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_gpe" Ports [2, 1] Position [90, 65, 190, 125] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [130, 383, 160, 397] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/taur_gpe" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_gpe)/sigmar" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [0, 25; 460, 0; 0, -60; 15, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_gpe" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [0, -10] DstBlock "r_gpe" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -40] DstBlock "it_gpe" DstPort 1 } } Line { SrcBlock "it_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_gpe" SrcPort 1 Points [0, 10] DstBlock "it_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [25, 0] DstBlock "r_gpe" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [435, 608, 465, 622] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [0, -5] DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [40, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 210] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 25] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 95] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 130] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [5, 0; 0, -300; -435, 0; 0, 200] DstBlock "Sum" DstPort 5 } Branch { Points [15, 0; 0, -30] DstBlock "iahp" DstPort 2 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 165] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 235] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "In4" SrcPort 1 DstBlock "Sum" DstPort 10 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, 5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant16" SrcPort 1 DstBlock "Selector5" DstPort 1 } Line { SrcBlock "In5" SrcPort 1 Points [35, 0; 0, -45] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] DstBlock "Selector5" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { DstBlock "Selector3" DstPort 2 } } Branch { Points [5, 0] DstBlock "Selector4" DstPort 2 } } Line { SrcBlock "Selector5" SrcPort 1 Points [20, 0] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [65, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -350] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [85, 0; 0, -345] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [95, 0; 0, -290] DstBlock "iahp" DstPort 4 } } } Block { BlockType SubSystem Name "synap_gpe" Ports [2, 1] Position [360, 18, 435, 47] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_gpe" Location [2, 166, 582, 436] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [375, 118, 405, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sig" "magh_gpe))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_gpe*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "sg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [485, 28, 515, 42] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [215, 63, 245, 77] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "gpe_cell" SrcPort 1 Points [0, 0; 50, 0] Branch { Points [0, -45] DstBlock "synap_gpe" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "gpe_cell" DstPort 3 } Line { SrcBlock "In4" SrcPort 1 Points [5, 0; 0, -15] DstBlock "gpe_cell" DstPort 4 } Line { SrcBlock "synap_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "gpe_cell" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "gpe_cell" DstPort 2 } Line { SrcBlock "Selector5" SrcPort 1 Points [25, 0; 0, -195] DstBlock "synap_gpe" DstPort 2 } Line { SrcBlock "In5" SrcPort 1 Points [10, 0; 0, -5] Branch { DstBlock "gpe_cell" DstPort 5 } Branch { Points [0, 25; 135, 0] DstBlock "Selector5" DstPort 2 } } Line { SrcBlock "Constant" SrcPort 1 Points [45, 0; 0, 10] DstBlock "Selector5" DstPort 1 } } } Block { BlockType SubSystem Name "GPE_cell8" Ports [5, 2] Position [475, 1529, 515, 1611] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "GPE_cell8" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 33, 65, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 53, 65, 67] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 73, 55, 87] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [25, 93, 55, 107] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [30, 228, 60, 242] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 200, 165, 230] Value "sg0" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [225, 216, 265, 254] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "gpe_cell" Ports [5, 1] Position [90, 26, 140, 114] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "gpe_cell" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 283, 80, 297] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 308, 80, 322] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 333, 80, 347] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [50, 358, 80, 372] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [115, 743, 145, 757] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant1" Position [50, 460, 80, 490] Value "ng0" } Block { BlockType Constant Name "Constant16" Position [55, 390, 85, 420] Value "vg0" } Block { BlockType Constant Name "Constant2" Position [55, 525, 85, 555] Value "hg0" } Block { BlockType Constant Name "Constant3" Position [50, 605, 80, 635] Value "rg0" } Block { BlockType Constant Name "Constant4" Position [50, 680, 80, 710] Value "cag0" } Block { BlockType Gain Name "Gain" Position [195, 231, 265, 269] Gain "1/c_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [285, 222, 315, 273] InitialConditionSource "external" InitialCondition "vg01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [210, 466, 250, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [210, 536, 250, 574] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [210, 606, 250, 644] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [205, 681, 245, 719] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [205, 396, 245, 434] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [10, 1] Position [105, 130, 165, 375] ShowName off Inputs "--------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 133, 60, 147] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_gpe)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_gpe)*gahp_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [30, 198, 60, 212] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_gpe" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cag01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [0, 5; 190, 0; 0, -125] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_gpe" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_gpe" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_gpe)/sigmas_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_gpe" DstPort 1 } } Line { SrcBlock "ica_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [20, 153, 50, 167] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_gpe" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_gpe" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_gpe" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_gpe" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [380, 403, 410, 417] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_gpe+ taun1_gpe/(1+exp(-(" "u-thetataun_gpe)/sigmataun_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "ng01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_gpe)/sigman" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [220, 0; 0, -100] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_gpe" SrcPort 1 DstBlock "ik_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_gpe" DstPort 1 } Branch { Points [0, 75] DstBlock "n_gpe" DstPort 1 } } Line { SrcBlock "ik_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "n_gpe" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_gpe*(u-el_gpe)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [0, 86, 1012, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [20, 163, 50, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_gpe" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [125, 398, 155, 412] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_gpe + tauh1_gpe/(1+exp(-" "(u-thetatauh_gpe)/sigmatauh_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_gpe)/sigmah" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [475, 0; 0, -95] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_gpe" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_gpe" Location [2, 82, 513, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_gpe" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_gpe)/sigmam_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_gpe" SrcPort 1 DstBlock "ina_gpe" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_gpe" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_gpe" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_gpe" DstPort 1 } } Line { SrcBlock "ina_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_gpe" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 128, 45, 142] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_gpe)/sigmaa_g" "pe))" } Block { BlockType SubSystem Name "it_gpe" Ports [3, 1] Position [480, 23, 540, 187] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_gpe" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_gpe" Ports [2, 1] Position [90, 65, 190, 125] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [130, 383, 160, 397] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/taur_gpe" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_gpe)/sigmar" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [0, 25; 460, 0; 0, -60; 15, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_gpe" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [0, -10] DstBlock "r_gpe" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -40] DstBlock "it_gpe" DstPort 1 } } Line { SrcBlock "it_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_gpe" SrcPort 1 Points [0, 10] DstBlock "it_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [25, 0] DstBlock "r_gpe" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [435, 608, 465, 622] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [0, -5] DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [40, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 210] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 25] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 95] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 130] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [5, 0; 0, -300; -435, 0; 0, 200] DstBlock "Sum" DstPort 5 } Branch { Points [15, 0; 0, -30] DstBlock "iahp" DstPort 2 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 165] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 235] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "In4" SrcPort 1 DstBlock "Sum" DstPort 10 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, 5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant16" SrcPort 1 DstBlock "Selector5" DstPort 1 } Line { SrcBlock "In5" SrcPort 1 Points [35, 0; 0, -45] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] DstBlock "Selector5" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { DstBlock "Selector3" DstPort 2 } } Branch { Points [5, 0] DstBlock "Selector4" DstPort 2 } } Line { SrcBlock "Selector5" SrcPort 1 Points [20, 0] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [65, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -350] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [85, 0; 0, -345] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [95, 0; 0, -290] DstBlock "iahp" DstPort 4 } } } Block { BlockType SubSystem Name "synap_gpe" Ports [2, 1] Position [360, 18, 435, 47] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_gpe" Location [2, 166, 582, 436] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [375, 118, 405, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sig" "magh_gpe))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_gpe*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "sg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [485, 28, 515, 42] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [215, 63, 245, 77] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "gpe_cell" SrcPort 1 Points [0, 0; 50, 0] Branch { Points [0, -45] DstBlock "synap_gpe" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "gpe_cell" DstPort 3 } Line { SrcBlock "In4" SrcPort 1 Points [5, 0; 0, -15] DstBlock "gpe_cell" DstPort 4 } Line { SrcBlock "synap_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "gpe_cell" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "gpe_cell" DstPort 2 } Line { SrcBlock "Selector5" SrcPort 1 Points [25, 0; 0, -195] DstBlock "synap_gpe" DstPort 2 } Line { SrcBlock "In5" SrcPort 1 Points [10, 0; 0, -5] Branch { DstBlock "gpe_cell" DstPort 5 } Branch { Points [0, 25; 135, 0] DstBlock "Selector5" DstPort 2 } } Line { SrcBlock "Constant" SrcPort 1 Points [45, 0; 0, 10] DstBlock "Selector5" DstPort 1 } } } Block { BlockType SubSystem Name "GPE_cell9" Ports [5, 2] Position [470, 1694, 510, 1776] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "GPE_cell9" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 33, 65, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 53, 65, 67] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 73, 55, 87] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [25, 93, 55, 107] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [30, 228, 60, 242] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 200, 165, 230] Value "sg0" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [225, 216, 265, 254] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "gpe_cell" Ports [5, 1] Position [90, 26, 140, 114] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "gpe_cell" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 283, 80, 297] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 308, 80, 322] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 333, 80, 347] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [50, 358, 80, 372] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In5" Position [115, 743, 145, 757] Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant1" Position [50, 460, 80, 490] Value "ng0" } Block { BlockType Constant Name "Constant16" Position [55, 390, 85, 420] Value "vg0" } Block { BlockType Constant Name "Constant2" Position [55, 525, 85, 555] Value "hg0" } Block { BlockType Constant Name "Constant3" Position [50, 605, 80, 635] Value "rg0" } Block { BlockType Constant Name "Constant4" Position [50, 680, 80, 710] Value "cag0" } Block { BlockType Gain Name "Gain" Position [195, 231, 265, 269] Gain "1/c_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [285, 222, 315, 273] InitialConditionSource "external" InitialCondition "vg01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [210, 466, 250, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [210, 536, 250, 574] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [210, 606, 250, 644] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [205, 681, 245, 719] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector5" Ports [2, 1] Position [205, 396, 245, 434] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [10, 1] Position [105, 130, 165, 375] ShowName off Inputs "--------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 133, 60, 147] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_gpe)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_gpe)*gahp_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [30, 198, 60, 212] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_gpe" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cag01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [0, 5; 190, 0; 0, -125] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_gpe" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_gpe" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_gpe)/sigmas_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_gpe" DstPort 1 } } Line { SrcBlock "ica_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [20, 153, 50, 167] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_gpe" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_gpe" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_gpe" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_gpe" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_gpe" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_gpe" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [380, 403, 410, 417] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_gpe+ taun1_gpe/(1+exp(-(" "u-thetataun_gpe)/sigmataun_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "ng01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_gpe)/sigman" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [220, 0; 0, -100] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_gpe" SrcPort 1 DstBlock "ik_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_gpe" DstPort 1 } Branch { Points [0, 75] DstBlock "n_gpe" DstPort 1 } } Line { SrcBlock "ik_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "n_gpe" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_gpe*(u-el_gpe)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [0, 86, 1012, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [20, 163, 50, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_gpe" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [125, 398, 155, 412] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_gpe + tauh1_gpe/(1+exp(-" "(u-thetatauh_gpe)/sigmatauh_gpe)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_gpe)/sigmah" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [475, 0; 0, -95] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_gpe" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_gpe" Location [2, 82, 513, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_gpe" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_gpe)/sigmam_g" "pe))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_gpe" SrcPort 1 DstBlock "ina_gpe" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_gpe" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_gpe" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_gpe" DstPort 1 } } Line { SrcBlock "ina_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_gpe" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 128, 45, 142] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_gpe)/sigmaa_g" "pe))" } Block { BlockType SubSystem Name "it_gpe" Ports [3, 1] Position [480, 23, 540, 187] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_gpe" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_gpe" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_gpe" Ports [2, 1] Position [90, 65, 190, 125] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_gpe" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [130, 383, 160, 397] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/taur_gpe" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_gpe" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_gpe)/sigmar" "_gpe))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [0, 25; 460, 0; 0, -60; 15, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_gpe" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [0, -10] DstBlock "r_gpe" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -40] DstBlock "it_gpe" DstPort 1 } } Line { SrcBlock "it_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_gpe" SrcPort 1 Points [0, 10] DstBlock "it_gpe" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [25, 0] DstBlock "r_gpe" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [435, 608, 465, 622] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [0, -5] DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [40, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 210] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 25] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 95] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 130] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [5, 0; 0, -300; -435, 0; 0, 200] DstBlock "Sum" DstPort 5 } Branch { Points [15, 0; 0, -30] DstBlock "iahp" DstPort 2 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 165] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 235] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "In4" SrcPort 1 DstBlock "Sum" DstPort 10 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, 5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant16" SrcPort 1 DstBlock "Selector5" DstPort 1 } Line { SrcBlock "In5" SrcPort 1 Points [35, 0; 0, -45] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] Branch { Points [0, -70] DstBlock "Selector5" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { DstBlock "Selector3" DstPort 2 } } Branch { Points [5, 0] DstBlock "Selector4" DstPort 2 } } Line { SrcBlock "Selector5" SrcPort 1 Points [20, 0] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [65, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -350] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [85, 0; 0, -345] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [95, 0; 0, -290] DstBlock "iahp" DstPort 4 } } } Block { BlockType SubSystem Name "synap_gpe" Ports [2, 1] Position [360, 18, 435, 47] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_gpe" Location [2, 166, 582, 436] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [375, 118, 405, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_gpe-thetagh_gpe)/sig" "magh_gpe))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_gpe*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_gpe" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "sg01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [485, 28, 515, 42] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [215, 63, 245, 77] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "gpe_cell" SrcPort 1 Points [0, 0; 50, 0] Branch { Points [0, -45] DstBlock "synap_gpe" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "gpe_cell" DstPort 3 } Line { SrcBlock "In4" SrcPort 1 Points [5, 0; 0, -15] DstBlock "gpe_cell" DstPort 4 } Line { SrcBlock "synap_gpe" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "gpe_cell" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "gpe_cell" DstPort 2 } Line { SrcBlock "Selector5" SrcPort 1 Points [25, 0; 0, -195] DstBlock "synap_gpe" DstPort 2 } Line { SrcBlock "In5" SrcPort 1 Points [10, 0; 0, -5] Branch { DstBlock "gpe_cell" DstPort 5 } Branch { Points [0, 25; 135, 0] DstBlock "Selector5" DstPort 2 } } Line { SrcBlock "Constant" SrcPort 1 Points [45, 0; 0, 10] DstBlock "Selector5" DstPort 1 } } } Block { BlockType Goto Name "Goto1" Position [530, 207, 595, 223] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "syngpe0" TagVisibility "local" } Block { BlockType Goto Name "Goto10" Position [640, 1337, 705, 1353] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "outgpe7" TagVisibility "local" } Block { BlockType Goto Name "Goto11" Position [525, 352, 590, 368] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "syngpe1" TagVisibility "local" } Block { BlockType Goto Name "Goto12" Position [530, 522, 595, 538] ForegroundColor "orange" DialogController "Simulink.DDGSource" GotoTag "syngpe2" TagVisibility "local" } Block { BlockType Goto Name "Goto13" Position [1230, 212, 1295, 228] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "outstn0" TagVisibility "local" } Block { BlockType Goto Name "Goto14" Position [1220, 367, 1285, 383] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "outstn1" TagVisibility "local" } Block { BlockType Goto Name "Goto15" Position [1235, 522, 1300, 538] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "outstn2" TagVisibility "local" } Block { BlockType Goto Name "Goto16" Position [1235, 702, 1300, 718] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "outstn3" TagVisibility "local" } Block { BlockType Goto Name "Goto17" Position [1240, 862, 1305, 878] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "outstn4" TagVisibility "local" } Block { BlockType Goto Name "Goto18" Position [1230, 1012, 1295, 1028] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "outstn5" TagVisibility "local" } Block { BlockType Goto Name "Goto19" Position [1235, 1182, 1300, 1198] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "outstn6" TagVisibility "local" } Block { BlockType Goto Name "Goto2" Position [535, 1308, 605, 1322] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "syngpe7" TagVisibility "local" } Block { BlockType Goto Name "Goto20" Position [1265, 1332, 1330, 1348] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "outstn7" TagVisibility "local" } Block { BlockType Goto Name "Goto21" Position [530, 687, 595, 703] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "syngpe3" TagVisibility "local" } Block { BlockType Goto Name "Goto22" Position [525, 847, 590, 863] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "syngpe4" TagVisibility "local" } Block { BlockType Goto Name "Goto23" Position [530, 1002, 595, 1018] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "syngpe5" TagVisibility "local" } Block { BlockType Goto Name "Goto24" Position [535, 1172, 600, 1188] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "syngpe6" TagVisibility "local" } Block { BlockType Goto Name "Goto25" Position [1065, 182, 1130, 198] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "synstn0" TagVisibility "local" } Block { BlockType Goto Name "Goto26" Position [1065, 337, 1130, 353] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "synstn1" TagVisibility "local" } Block { BlockType Goto Name "Goto27" Position [1055, 492, 1120, 508] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "synstn2" TagVisibility "local" } Block { BlockType Goto Name "Goto28" Position [1065, 662, 1130, 678] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "synstn3" TagVisibility "local" } Block { BlockType Goto Name "Goto29" Position [1065, 832, 1130, 848] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "synstn4" TagVisibility "local" } Block { BlockType Goto Name "Goto3" Position [650, 237, 715, 253] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "outgpe0" TagVisibility "local" } Block { BlockType Goto Name "Goto30" Position [1060, 982, 1125, 998] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "synstn5" TagVisibility "local" } Block { BlockType Goto Name "Goto31" Position [1055, 1152, 1120, 1168] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "synstn6" TagVisibility "local" } Block { BlockType Goto Name "Goto32" Position [1060, 1302, 1125, 1318] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "synstn7" TagVisibility "local" } Block { BlockType Goto Name "Goto4" Position [645, 382, 710, 398] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "outgpe1" TagVisibility "local" } Block { BlockType Goto Name "Goto41" Position [545, 1542, 610, 1558] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "syngpe8" TagVisibility "local" } Block { BlockType Goto Name "Goto42" Position [655, 2672, 720, 2688] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "outgpe15" TagVisibility "local" } Block { BlockType Goto Name "Goto43" Position [540, 1687, 605, 1703] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "syngpe9" TagVisibility "local" } Block { BlockType Goto Name "Goto44" Position [545, 1857, 610, 1873] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "syngpe10" TagVisibility "local" } Block { BlockType Goto Name "Goto45" Position [1245, 1547, 1310, 1563] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "outstn8" TagVisibility "local" } Block { BlockType Goto Name "Goto46" Position [1260, 1702, 1325, 1718] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "outstn9" TagVisibility "local" } Block { BlockType Goto Name "Goto47" Position [1250, 1857, 1315, 1873] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "outstn10" TagVisibility "local" } Block { BlockType Goto Name "Goto48" Position [1250, 2037, 1315, 2053] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "outstn11" TagVisibility "local" } Block { BlockType Goto Name "Goto49" Position [1255, 2197, 1320, 2213] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "outstn12" TagVisibility "local" } Block { BlockType Goto Name "Goto5" Position [645, 552, 710, 568] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "outgpe2" TagVisibility "local" } Block { BlockType Goto Name "Goto50" Position [1245, 2347, 1310, 2363] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "outstn13" TagVisibility "local" } Block { BlockType Goto Name "Goto51" Position [1265, 2517, 1330, 2533] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "outstn14" TagVisibility "local" } Block { BlockType Goto Name "Goto52" Position [550, 2643, 620, 2657] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "syngpe15" TagVisibility "local" } Block { BlockType Goto Name "Goto53" Position [1280, 2667, 1345, 2683] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "outstn15" TagVisibility "local" } Block { BlockType Goto Name "Goto54" Position [545, 2022, 610, 2038] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "syngpe11" TagVisibility "local" } Block { BlockType Goto Name "Goto55" Position [540, 2182, 605, 2198] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "syngpe12" TagVisibility "local" } Block { BlockType Goto Name "Goto56" Position [545, 2337, 610, 2353] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "syngpe13" TagVisibility "local" } Block { BlockType Goto Name "Goto57" Position [550, 2507, 615, 2523] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "syngpe14" TagVisibility "local" } Block { BlockType Goto Name "Goto58" Position [1080, 1517, 1145, 1533] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "synstn8" TagVisibility "local" } Block { BlockType Goto Name "Goto59" Position [1080, 1672, 1145, 1688] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "synstn9" TagVisibility "local" } Block { BlockType Goto Name "Goto6" Position [655, 717, 720, 733] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "outgpe3" TagVisibility "local" } Block { BlockType Goto Name "Goto60" Position [1070, 1827, 1135, 1843] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "synstn10" TagVisibility "local" } Block { BlockType Goto Name "Goto61" Position [1080, 1997, 1145, 2013] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "synstn11" TagVisibility "local" } Block { BlockType Goto Name "Goto62" Position [1080, 2167, 1145, 2183] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "synstn12" TagVisibility "local" } Block { BlockType Goto Name "Goto63" Position [665, 1572, 730, 1588] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "outgpe8" TagVisibility "local" } Block { BlockType Goto Name "Goto64" Position [1075, 2317, 1140, 2333] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "synstn13" TagVisibility "local" } Block { BlockType Goto Name "Goto65" Position [1070, 2487, 1135, 2503] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "synstn14" TagVisibility "local" } Block { BlockType Goto Name "Goto66" Position [1075, 2637, 1140, 2653] ForegroundColor "blue" DialogController "Simulink.DDGSource" GotoTag "synstn15" TagVisibility "local" } Block { BlockType Goto Name "Goto67" Position [660, 1717, 725, 1733] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "outgpe9" TagVisibility "local" } Block { BlockType Goto Name "Goto68" Position [660, 1887, 725, 1903] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "outgpe10" TagVisibility "local" } Block { BlockType Goto Name "Goto69" Position [670, 2052, 735, 2068] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "outgpe11" TagVisibility "local" } Block { BlockType Goto Name "Goto7" Position [660, 877, 725, 893] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "outgpe4" TagVisibility "local" } Block { BlockType Goto Name "Goto70" Position [675, 2212, 740, 2228] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "outgpe12" TagVisibility "local" } Block { BlockType Goto Name "Goto71" Position [670, 2367, 735, 2383] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "outgpe13" TagVisibility "local" } Block { BlockType Goto Name "Goto72" Position [675, 2537, 740, 2553] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "outgpe14" TagVisibility "local" } Block { BlockType Goto Name "Goto8" Position [655, 1032, 720, 1048] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "outgpe5" TagVisibility "local" } Block { BlockType Goto Name "Goto9" Position [660, 1202, 725, 1218] ForegroundColor "red" DialogController "Simulink.DDGSource" GotoTag "outgpe6" TagVisibility "local" } Block { BlockType FromWorkspace Name "IDBS" Position [970, 13, 1035, 37] Orientation "left" BackgroundColor "yellow" VariableName "input3" SampleTime "0.01" } Block { BlockType Mux Name "Mux" Ports [16, 1] Position [610, 2801, 615, 3334] ShowName off Inputs "16" DisplayOption "bar" } Block { BlockType Mux Name "Mux1" Ports [16, 1] Position [935, 2802, 940, 3328] ShowName off Inputs "16" DisplayOption "bar" } Block { BlockType SubSystem Name "STN_cell1" Ports [4, 2] Position [995, 182, 1035, 258] ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "STN_cell1" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 43, 65, 57] ForegroundColor "blue" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 63, 55, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 83, 55, 97] ForegroundColor "blue" Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [15, 213, 45, 227] ForegroundColor "blue" Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 155, 165, 185] Value "ss0" } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [200, 176, 240, 214] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "Subsystem" Ports [4, 1] Position [90, 39, 130, 106] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 293, 80, 307] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 318, 80, 332] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 343, 80, 357] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [155, 688, 185, 702] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [55, 395, 85, 425] Value "vs0" } Block { BlockType Constant Name "Constant1" Position [55, 460, 85, 490] Value "ns0" } Block { BlockType Constant Name "Constant2" Position [55, 515, 85, 545] Value "hs0" } Block { BlockType Constant Name "Constant3" Position [55, 575, 85, 605] Value "rs0" } Block { BlockType Constant Name "Constant4" Position [55, 630, 85, 660] Value "cas0" } Block { BlockType Gain Name "Gain" Position [180, 231, 250, 269] Gain "1/c_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [295, 237, 325, 268] InitialConditionSource "external" InitialCondition "vs01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [220, 401, 260, 439] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [220, 466, 260, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [220, 516, 260, 554] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [220, 576, 260, 614] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [220, 631, 260, 669] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [9, 1] Position [105, 128, 165, 372] ShowName off Inputs "-------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [828, 385, 1243, 566] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 118, 60, 132] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_stn)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_stn)*gahp_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [210, 108, 240, 122] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_stn" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cas01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_stn1" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_stn1" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_stn)/sigmas_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_stn1" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_stn1" DstPort 1 } } Line { SrcBlock "ica_stn1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [15, 158, 45, 172] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_stn" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_stn" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_stn" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_stn" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 353, 610, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_stn + taun1_stn/(1+exp(-" "(u-thetataun_stn)/sigmataun_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 292, 685, 323] InitialConditionSource "external" InitialCondition "ns01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_stn)/sigman" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -10; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_stn" SrcPort 1 DstBlock "ik_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_stn" DstPort 1 } Branch { Points [0, 75] DstBlock "n_stn" DstPort 1 } } Line { SrcBlock "ik_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, -5] DstBlock "n_stn" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_stn*(u-el_stn)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [-2, 82, 1014, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 163, 45, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_stn" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 348, 610, 362] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_stn + tauh1_stn/(1+exp(-" "(u-thetatauh_stn)/sigmatauh_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_stn)/sigmah" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_stn" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_stn" Location [2, 82, 513, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_stn" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_stn)/sigmam_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_stn" SrcPort 1 DstBlock "ina_stn" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_stn" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_stn" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_stn" DstPort 1 } } Line { SrcBlock "ina_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_stn" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 167, 40, 183] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_stn)/sigmaa_s" "tn))" } Block { BlockType Fcn Name "binf" Position [215, 72, 445, 108] Expr "(1/(1 + exp((u-thetab_stn)/sigmab_s" "tn))) - (1/(1 + exp(-thetab_stn/sigmab_stn)))" } Block { BlockType SubSystem Name "it_stn" Ports [3, 1] Position [480, 34, 535, 186] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_stn" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_stn1" Ports [2, 1] Position [90, 60, 190, 120] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_stn1" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [570, 353, 600, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/(taur0_stn + taur1_stn/(1+exp(-" "(u-thetataur_stn)/sigmataur_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_stn)/sigmar" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [35, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_stn" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [15, 0] DstBlock "r_stn1" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -45; 405, 0] DstBlock "it_stn" DstPort 1 } } Line { SrcBlock "it_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_stn1" SrcPort 1 DstBlock "binf" DstPort 1 } Line { SrcBlock "binf" SrcPort 1 Points [0, -5; 15, 0] DstBlock "it_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [30, 0] DstBlock "r_stn1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [380, 418, 410, 432] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 Points [25, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 30, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 20] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 35] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 105] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 140] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [20, 0] DstBlock "iahp" DstPort 2 } Branch { Points [5, 0; 0, -300; -435, 0; 0, 210] DstBlock "Sum" DstPort 5 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 175] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 245] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, -5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Selector" DstPort 1 } Line { SrcBlock "Selector" SrcPort 1 Points [5, 0; 0, -160] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [70, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -330] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [80, 0; 0, -315] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [85, 0; 0, -240] DstBlock "iahp" DstPort 4 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0; 0, -35] Branch { Points [0, -60] Branch { Points [0, -55] Branch { Points [0, -50] Branch { Points [0, -65] DstBlock "Selector" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { Points [0, 5] DstBlock "Selector3" DstPort 2 } } Branch { DstBlock "Selector4" DstPort 2 } } } } Block { BlockType SubSystem Name "synap_stn" Ports [2, 1] Position [250, 21, 335, 74] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_stn" Location [0, 172, 584, 438] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [370, 123, 400, 137] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_stn-thetagh_stn)/sig" "magh_stn))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_stn*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "ss01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, -25] DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [430, 43, 460, 57] ForegroundColor "blue" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [160, 63, 190, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, -35] DstBlock "synap_stn" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "synap_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, 5; 25, 0; 0, -20] Branch { DstBlock "Subsystem" DstPort 4 } Branch { DstBlock "Selector" DstPort 2 } } Line { SrcBlock "Selector" SrcPort 1 Points [0, -110; -10, 0] DstBlock "synap_stn" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 Points [5, 0; 0, 15] DstBlock "Selector" DstPort 1 } } } Block { BlockType SubSystem Name "STN_cell10" Ports [4, 2] Position [1010, 1517, 1050, 1593] ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "STN_cell10" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 43, 65, 57] ForegroundColor "blue" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 63, 55, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 83, 55, 97] ForegroundColor "blue" Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [15, 213, 45, 227] ForegroundColor "blue" Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 155, 165, 185] Value "ss0" } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [200, 176, 240, 214] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "Subsystem" Ports [4, 1] Position [90, 39, 130, 106] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 293, 80, 307] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 318, 80, 332] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 343, 80, 357] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [155, 688, 185, 702] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [55, 395, 85, 425] Value "vs0" } Block { BlockType Constant Name "Constant1" Position [55, 460, 85, 490] Value "ns0" } Block { BlockType Constant Name "Constant2" Position [55, 515, 85, 545] Value "hs0" } Block { BlockType Constant Name "Constant3" Position [55, 575, 85, 605] Value "rs0" } Block { BlockType Constant Name "Constant4" Position [55, 630, 85, 660] Value "cas0" } Block { BlockType Gain Name "Gain" Position [180, 231, 250, 269] Gain "1/c_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [295, 237, 325, 268] InitialConditionSource "external" InitialCondition "vs01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [220, 401, 260, 439] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [220, 466, 260, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [220, 516, 260, 554] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [220, 576, 260, 614] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [220, 631, 260, 669] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [9, 1] Position [105, 128, 165, 372] ShowName off Inputs "-------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [828, 385, 1243, 566] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 118, 60, 132] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_stn)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_stn)*gahp_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [210, 108, 240, 122] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_stn" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cas01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_stn1" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_stn1" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_stn)/sigmas_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_stn1" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_stn1" DstPort 1 } } Line { SrcBlock "ica_stn1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [15, 158, 45, 172] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_stn" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_stn" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_stn" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_stn" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 353, 610, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_stn + taun1_stn/(1+exp(-" "(u-thetataun_stn)/sigmataun_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 292, 685, 323] InitialConditionSource "external" InitialCondition "ns01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_stn)/sigman" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -10; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_stn" SrcPort 1 DstBlock "ik_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_stn" DstPort 1 } Branch { Points [0, 75] DstBlock "n_stn" DstPort 1 } } Line { SrcBlock "ik_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, -5] DstBlock "n_stn" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_stn*(u-el_stn)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [-2, 82, 1014, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 163, 45, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_stn" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 348, 610, 362] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_stn + tauh1_stn/(1+exp(-" "(u-thetatauh_stn)/sigmatauh_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_stn)/sigmah" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_stn" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_stn" Location [2, 82, 513, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_stn" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_stn)/sigmam_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_stn" SrcPort 1 DstBlock "ina_stn" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_stn" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_stn" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_stn" DstPort 1 } } Line { SrcBlock "ina_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_stn" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 167, 40, 183] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_stn)/sigmaa_s" "tn))" } Block { BlockType Fcn Name "binf" Position [215, 72, 445, 108] Expr "(1/(1 + exp((u-thetab_stn)/sigmab_s" "tn))) - (1/(1 + exp(-thetab_stn/sigmab_stn)))" } Block { BlockType SubSystem Name "it_stn" Ports [3, 1] Position [480, 34, 535, 186] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_stn" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_stn1" Ports [2, 1] Position [90, 60, 190, 120] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_stn1" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [570, 353, 600, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/(taur0_stn + taur1_stn/(1+exp(-" "(u-thetataur_stn)/sigmataur_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_stn)/sigmar" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [35, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_stn" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [15, 0] DstBlock "r_stn1" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -45; 405, 0] DstBlock "it_stn" DstPort 1 } } Line { SrcBlock "it_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_stn1" SrcPort 1 DstBlock "binf" DstPort 1 } Line { SrcBlock "binf" SrcPort 1 Points [0, -5; 15, 0] DstBlock "it_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [30, 0] DstBlock "r_stn1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [380, 418, 410, 432] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 Points [25, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 30, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 20] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 35] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 105] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 140] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [20, 0] DstBlock "iahp" DstPort 2 } Branch { Points [5, 0; 0, -300; -435, 0; 0, 210] DstBlock "Sum" DstPort 5 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 175] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 245] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, -5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Selector" DstPort 1 } Line { SrcBlock "Selector" SrcPort 1 Points [5, 0; 0, -160] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [70, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -330] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [80, 0; 0, -315] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [85, 0; 0, -240] DstBlock "iahp" DstPort 4 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0; 0, -35] Branch { Points [0, -60] Branch { Points [0, -55] Branch { Points [0, -50] Branch { Points [0, -65] DstBlock "Selector" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { Points [0, 5] DstBlock "Selector3" DstPort 2 } } Branch { DstBlock "Selector4" DstPort 2 } } } } Block { BlockType SubSystem Name "synap_stn" Ports [2, 1] Position [250, 21, 335, 74] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_stn" Location [0, 172, 584, 438] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [370, 123, 400, 137] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_stn-thetagh_stn)/sig" "magh_stn))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_stn*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "ss01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, -25] DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [430, 43, 460, 57] ForegroundColor "blue" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [160, 63, 190, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, -35] DstBlock "synap_stn" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "synap_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, 5; 25, 0; 0, -20] Branch { DstBlock "Subsystem" DstPort 4 } Branch { DstBlock "Selector" DstPort 2 } } Line { SrcBlock "Selector" SrcPort 1 Points [0, -110; -10, 0] DstBlock "synap_stn" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 Points [5, 0; 0, 15] DstBlock "Selector" DstPort 1 } } } Block { BlockType SubSystem Name "STN_cell11" Ports [4, 2] Position [1005, 1672, 1045, 1748] ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "STN_cell11" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 43, 65, 57] ForegroundColor "blue" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 63, 55, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 83, 55, 97] ForegroundColor "blue" Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [15, 213, 45, 227] ForegroundColor "blue" Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 155, 165, 185] Value "ss0" } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [200, 176, 240, 214] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "Subsystem" Ports [4, 1] Position [90, 39, 130, 106] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 293, 80, 307] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 318, 80, 332] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 343, 80, 357] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [155, 688, 185, 702] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [55, 395, 85, 425] Value "vs0" } Block { BlockType Constant Name "Constant1" Position [55, 460, 85, 490] Value "ns0" } Block { BlockType Constant Name "Constant2" Position [55, 515, 85, 545] Value "hs0" } Block { BlockType Constant Name "Constant3" Position [55, 575, 85, 605] Value "rs0" } Block { BlockType Constant Name "Constant4" Position [55, 630, 85, 660] Value "cas0" } Block { BlockType Gain Name "Gain" Position [180, 231, 250, 269] Gain "1/c_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [295, 237, 325, 268] InitialConditionSource "external" InitialCondition "vs01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [220, 401, 260, 439] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [220, 466, 260, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [220, 516, 260, 554] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [220, 576, 260, 614] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [220, 631, 260, 669] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [9, 1] Position [105, 128, 165, 372] ShowName off Inputs "-------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [828, 385, 1243, 566] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 118, 60, 132] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_stn)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_stn)*gahp_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [210, 108, 240, 122] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_stn" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cas01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_stn1" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_stn1" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_stn)/sigmas_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_stn1" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_stn1" DstPort 1 } } Line { SrcBlock "ica_stn1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [15, 158, 45, 172] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_stn" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_stn" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_stn" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_stn" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 353, 610, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_stn + taun1_stn/(1+exp(-" "(u-thetataun_stn)/sigmataun_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 292, 685, 323] InitialConditionSource "external" InitialCondition "ns01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_stn)/sigman" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -10; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_stn" SrcPort 1 DstBlock "ik_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_stn" DstPort 1 } Branch { Points [0, 75] DstBlock "n_stn" DstPort 1 } } Line { SrcBlock "ik_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, -5] DstBlock "n_stn" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_stn*(u-el_stn)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [-2, 82, 1014, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 163, 45, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_stn" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 348, 610, 362] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_stn + tauh1_stn/(1+exp(-" "(u-thetatauh_stn)/sigmatauh_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_stn)/sigmah" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_stn" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_stn" Location [2, 82, 513, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_stn" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_stn)/sigmam_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_stn" SrcPort 1 DstBlock "ina_stn" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_stn" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_stn" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_stn" DstPort 1 } } Line { SrcBlock "ina_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_stn" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 167, 40, 183] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_stn)/sigmaa_s" "tn))" } Block { BlockType Fcn Name "binf" Position [215, 72, 445, 108] Expr "(1/(1 + exp((u-thetab_stn)/sigmab_s" "tn))) - (1/(1 + exp(-thetab_stn/sigmab_stn)))" } Block { BlockType SubSystem Name "it_stn" Ports [3, 1] Position [480, 34, 535, 186] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_stn" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_stn1" Ports [2, 1] Position [90, 60, 190, 120] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_stn1" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [570, 353, 600, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/(taur0_stn + taur1_stn/(1+exp(-" "(u-thetataur_stn)/sigmataur_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_stn)/sigmar" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [35, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_stn" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [15, 0] DstBlock "r_stn1" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -45; 405, 0] DstBlock "it_stn" DstPort 1 } } Line { SrcBlock "it_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_stn1" SrcPort 1 DstBlock "binf" DstPort 1 } Line { SrcBlock "binf" SrcPort 1 Points [0, -5; 15, 0] DstBlock "it_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [30, 0] DstBlock "r_stn1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [380, 418, 410, 432] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 Points [25, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 30, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 20] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 35] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 105] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 140] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [20, 0] DstBlock "iahp" DstPort 2 } Branch { Points [5, 0; 0, -300; -435, 0; 0, 210] DstBlock "Sum" DstPort 5 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 175] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 245] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, -5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Selector" DstPort 1 } Line { SrcBlock "Selector" SrcPort 1 Points [5, 0; 0, -160] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [70, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -330] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [80, 0; 0, -315] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [85, 0; 0, -240] DstBlock "iahp" DstPort 4 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0; 0, -35] Branch { Points [0, -60] Branch { Points [0, -55] Branch { Points [0, -50] Branch { Points [0, -65] DstBlock "Selector" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { Points [0, 5] DstBlock "Selector3" DstPort 2 } } Branch { DstBlock "Selector4" DstPort 2 } } } } Block { BlockType SubSystem Name "synap_stn" Ports [2, 1] Position [250, 21, 335, 74] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_stn" Location [0, 172, 584, 438] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [370, 123, 400, 137] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_stn-thetagh_stn)/sig" "magh_stn))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_stn*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "ss01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, -25] DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [430, 43, 460, 57] ForegroundColor "blue" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [160, 63, 190, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, -35] DstBlock "synap_stn" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "synap_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, 5; 25, 0; 0, -20] Branch { DstBlock "Subsystem" DstPort 4 } Branch { DstBlock "Selector" DstPort 2 } } Line { SrcBlock "Selector" SrcPort 1 Points [0, -110; -10, 0] DstBlock "synap_stn" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 Points [5, 0; 0, 15] DstBlock "Selector" DstPort 1 } } } Block { BlockType SubSystem Name "STN_cell12" Ports [4, 2] Position [1005, 1817, 1045, 1893] ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "STN_cell12" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 43, 65, 57] ForegroundColor "blue" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 63, 55, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 83, 55, 97] ForegroundColor "blue" Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [15, 213, 45, 227] ForegroundColor "blue" Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 155, 165, 185] Value "ss0" } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [200, 176, 240, 214] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "Subsystem" Ports [4, 1] Position [90, 39, 130, 106] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 293, 80, 307] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 318, 80, 332] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 343, 80, 357] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [155, 688, 185, 702] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [55, 395, 85, 425] Value "vs0" } Block { BlockType Constant Name "Constant1" Position [55, 460, 85, 490] Value "ns0" } Block { BlockType Constant Name "Constant2" Position [55, 515, 85, 545] Value "hs0" } Block { BlockType Constant Name "Constant3" Position [55, 575, 85, 605] Value "rs0" } Block { BlockType Constant Name "Constant4" Position [55, 630, 85, 660] Value "cas0" } Block { BlockType Gain Name "Gain" Position [180, 231, 250, 269] Gain "1/c_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [295, 237, 325, 268] InitialConditionSource "external" InitialCondition "vs01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [220, 401, 260, 439] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [220, 466, 260, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [220, 516, 260, 554] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [220, 576, 260, 614] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [220, 631, 260, 669] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [9, 1] Position [105, 128, 165, 372] ShowName off Inputs "-------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [828, 385, 1243, 566] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 118, 60, 132] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_stn)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_stn)*gahp_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [210, 108, 240, 122] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_stn" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cas01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_stn1" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_stn1" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_stn)/sigmas_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_stn1" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_stn1" DstPort 1 } } Line { SrcBlock "ica_stn1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [15, 158, 45, 172] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_stn" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_stn" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_stn" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_stn" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 353, 610, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_stn + taun1_stn/(1+exp(-" "(u-thetataun_stn)/sigmataun_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 292, 685, 323] InitialConditionSource "external" InitialCondition "ns01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_stn)/sigman" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -10; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_stn" SrcPort 1 DstBlock "ik_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_stn" DstPort 1 } Branch { Points [0, 75] DstBlock "n_stn" DstPort 1 } } Line { SrcBlock "ik_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, -5] DstBlock "n_stn" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_stn*(u-el_stn)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [-2, 82, 1014, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 163, 45, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_stn" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 348, 610, 362] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_stn + tauh1_stn/(1+exp(-" "(u-thetatauh_stn)/sigmatauh_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_stn)/sigmah" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_stn" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_stn" Location [2, 82, 513, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_stn" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_stn)/sigmam_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_stn" SrcPort 1 DstBlock "ina_stn" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_stn" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_stn" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_stn" DstPort 1 } } Line { SrcBlock "ina_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_stn" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 167, 40, 183] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_stn)/sigmaa_s" "tn))" } Block { BlockType Fcn Name "binf" Position [215, 72, 445, 108] Expr "(1/(1 + exp((u-thetab_stn)/sigmab_s" "tn))) - (1/(1 + exp(-thetab_stn/sigmab_stn)))" } Block { BlockType SubSystem Name "it_stn" Ports [3, 1] Position [480, 34, 535, 186] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_stn" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_stn1" Ports [2, 1] Position [90, 60, 190, 120] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_stn1" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [570, 353, 600, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/(taur0_stn + taur1_stn/(1+exp(-" "(u-thetataur_stn)/sigmataur_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_stn)/sigmar" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [35, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_stn" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [15, 0] DstBlock "r_stn1" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -45; 405, 0] DstBlock "it_stn" DstPort 1 } } Line { SrcBlock "it_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_stn1" SrcPort 1 DstBlock "binf" DstPort 1 } Line { SrcBlock "binf" SrcPort 1 Points [0, -5; 15, 0] DstBlock "it_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [30, 0] DstBlock "r_stn1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [380, 418, 410, 432] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 Points [25, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 30, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 20] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 35] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 105] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 140] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [20, 0] DstBlock "iahp" DstPort 2 } Branch { Points [5, 0; 0, -300; -435, 0; 0, 210] DstBlock "Sum" DstPort 5 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 175] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 245] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, -5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Selector" DstPort 1 } Line { SrcBlock "Selector" SrcPort 1 Points [5, 0; 0, -160] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [70, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -330] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [80, 0; 0, -315] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [85, 0; 0, -240] DstBlock "iahp" DstPort 4 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0; 0, -35] Branch { Points [0, -60] Branch { Points [0, -55] Branch { Points [0, -50] Branch { Points [0, -65] DstBlock "Selector" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { Points [0, 5] DstBlock "Selector3" DstPort 2 } } Branch { DstBlock "Selector4" DstPort 2 } } } } Block { BlockType SubSystem Name "synap_stn" Ports [2, 1] Position [250, 21, 335, 74] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_stn" Location [0, 172, 584, 438] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [370, 123, 400, 137] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_stn-thetagh_stn)/sig" "magh_stn))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_stn*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "ss01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, -25] DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [430, 43, 460, 57] ForegroundColor "blue" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [160, 63, 190, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, -35] DstBlock "synap_stn" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "synap_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, 5; 25, 0; 0, -20] Branch { DstBlock "Subsystem" DstPort 4 } Branch { DstBlock "Selector" DstPort 2 } } Line { SrcBlock "Selector" SrcPort 1 Points [0, -110; -10, 0] DstBlock "synap_stn" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 Points [5, 0; 0, 15] DstBlock "Selector" DstPort 1 } } } Block { BlockType SubSystem Name "STN_cell13" Ports [4, 2] Position [1010, 2007, 1050, 2083] ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "STN_cell13" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 43, 65, 57] ForegroundColor "blue" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 63, 55, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 83, 55, 97] ForegroundColor "blue" Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [15, 213, 45, 227] ForegroundColor "blue" Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 155, 165, 185] Value "ss0" } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [200, 176, 240, 214] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "Subsystem" Ports [4, 1] Position [90, 39, 130, 106] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 293, 80, 307] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 318, 80, 332] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 343, 80, 357] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [155, 688, 185, 702] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [55, 395, 85, 425] Value "vs0" } Block { BlockType Constant Name "Constant1" Position [55, 460, 85, 490] Value "ns0" } Block { BlockType Constant Name "Constant2" Position [55, 515, 85, 545] Value "hs0" } Block { BlockType Constant Name "Constant3" Position [55, 575, 85, 605] Value "rs0" } Block { BlockType Constant Name "Constant4" Position [55, 630, 85, 660] Value "cas0" } Block { BlockType Gain Name "Gain" Position [180, 231, 250, 269] Gain "1/c_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [295, 237, 325, 268] InitialConditionSource "external" InitialCondition "vs01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [220, 401, 260, 439] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [220, 466, 260, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [220, 516, 260, 554] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [220, 576, 260, 614] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [220, 631, 260, 669] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [9, 1] Position [105, 128, 165, 372] ShowName off Inputs "-------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [828, 385, 1243, 566] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 118, 60, 132] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_stn)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_stn)*gahp_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [210, 108, 240, 122] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_stn" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cas01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_stn1" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_stn1" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_stn)/sigmas_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_stn1" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_stn1" DstPort 1 } } Line { SrcBlock "ica_stn1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [15, 158, 45, 172] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_stn" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_stn" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_stn" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_stn" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 353, 610, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_stn + taun1_stn/(1+exp(-" "(u-thetataun_stn)/sigmataun_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 292, 685, 323] InitialConditionSource "external" InitialCondition "ns01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_stn)/sigman" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -10; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_stn" SrcPort 1 DstBlock "ik_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_stn" DstPort 1 } Branch { Points [0, 75] DstBlock "n_stn" DstPort 1 } } Line { SrcBlock "ik_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, -5] DstBlock "n_stn" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_stn*(u-el_stn)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [-2, 82, 1014, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 163, 45, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_stn" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 348, 610, 362] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_stn + tauh1_stn/(1+exp(-" "(u-thetatauh_stn)/sigmatauh_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_stn)/sigmah" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_stn" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_stn" Location [2, 82, 513, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_stn" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_stn)/sigmam_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_stn" SrcPort 1 DstBlock "ina_stn" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_stn" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_stn" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_stn" DstPort 1 } } Line { SrcBlock "ina_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_stn" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 167, 40, 183] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_stn)/sigmaa_s" "tn))" } Block { BlockType Fcn Name "binf" Position [215, 72, 445, 108] Expr "(1/(1 + exp((u-thetab_stn)/sigmab_s" "tn))) - (1/(1 + exp(-thetab_stn/sigmab_stn)))" } Block { BlockType SubSystem Name "it_stn" Ports [3, 1] Position [480, 34, 535, 186] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_stn" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_stn1" Ports [2, 1] Position [90, 60, 190, 120] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_stn1" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [570, 353, 600, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/(taur0_stn + taur1_stn/(1+exp(-" "(u-thetataur_stn)/sigmataur_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_stn)/sigmar" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [35, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_stn" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [15, 0] DstBlock "r_stn1" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -45; 405, 0] DstBlock "it_stn" DstPort 1 } } Line { SrcBlock "it_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_stn1" SrcPort 1 DstBlock "binf" DstPort 1 } Line { SrcBlock "binf" SrcPort 1 Points [0, -5; 15, 0] DstBlock "it_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [30, 0] DstBlock "r_stn1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [380, 418, 410, 432] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 Points [25, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 30, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 20] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 35] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 105] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 140] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [20, 0] DstBlock "iahp" DstPort 2 } Branch { Points [5, 0; 0, -300; -435, 0; 0, 210] DstBlock "Sum" DstPort 5 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 175] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 245] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, -5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Selector" DstPort 1 } Line { SrcBlock "Selector" SrcPort 1 Points [5, 0; 0, -160] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [70, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -330] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [80, 0; 0, -315] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [85, 0; 0, -240] DstBlock "iahp" DstPort 4 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0; 0, -35] Branch { Points [0, -60] Branch { Points [0, -55] Branch { Points [0, -50] Branch { Points [0, -65] DstBlock "Selector" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { Points [0, 5] DstBlock "Selector3" DstPort 2 } } Branch { DstBlock "Selector4" DstPort 2 } } } } Block { BlockType SubSystem Name "synap_stn" Ports [2, 1] Position [250, 21, 335, 74] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_stn" Location [0, 172, 584, 438] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [370, 123, 400, 137] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_stn-thetagh_stn)/sig" "magh_stn))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_stn*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "ss01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, -25] DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [430, 43, 460, 57] ForegroundColor "blue" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [160, 63, 190, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, -35] DstBlock "synap_stn" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "synap_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, 5; 25, 0; 0, -20] Branch { DstBlock "Subsystem" DstPort 4 } Branch { DstBlock "Selector" DstPort 2 } } Line { SrcBlock "Selector" SrcPort 1 Points [0, -110; -10, 0] DstBlock "synap_stn" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 Points [5, 0; 0, 15] DstBlock "Selector" DstPort 1 } } } Block { BlockType SubSystem Name "STN_cell14" Ports [4, 2] Position [1010, 2157, 1050, 2233] ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "STN_cell14" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 43, 65, 57] ForegroundColor "blue" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 63, 55, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 83, 55, 97] ForegroundColor "blue" Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [15, 213, 45, 227] ForegroundColor "blue" Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 155, 165, 185] Value "ss0" } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [200, 176, 240, 214] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "Subsystem" Ports [4, 1] Position [90, 39, 130, 106] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 293, 80, 307] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 318, 80, 332] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 343, 80, 357] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [155, 688, 185, 702] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [55, 395, 85, 425] Value "vs0" } Block { BlockType Constant Name "Constant1" Position [55, 460, 85, 490] Value "ns0" } Block { BlockType Constant Name "Constant2" Position [55, 515, 85, 545] Value "hs0" } Block { BlockType Constant Name "Constant3" Position [55, 575, 85, 605] Value "rs0" } Block { BlockType Constant Name "Constant4" Position [55, 630, 85, 660] Value "cas0" } Block { BlockType Gain Name "Gain" Position [180, 231, 250, 269] Gain "1/c_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [295, 237, 325, 268] InitialConditionSource "external" InitialCondition "vs01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [220, 401, 260, 439] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [220, 466, 260, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [220, 516, 260, 554] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [220, 576, 260, 614] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [220, 631, 260, 669] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [9, 1] Position [105, 128, 165, 372] ShowName off Inputs "-------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [828, 385, 1243, 566] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 118, 60, 132] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_stn)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_stn)*gahp_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [210, 108, 240, 122] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_stn" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cas01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_stn1" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_stn1" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_stn)/sigmas_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_stn1" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_stn1" DstPort 1 } } Line { SrcBlock "ica_stn1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [15, 158, 45, 172] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_stn" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_stn" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_stn" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_stn" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 353, 610, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_stn + taun1_stn/(1+exp(-" "(u-thetataun_stn)/sigmataun_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 292, 685, 323] InitialConditionSource "external" InitialCondition "ns01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_stn)/sigman" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -10; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_stn" SrcPort 1 DstBlock "ik_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_stn" DstPort 1 } Branch { Points [0, 75] DstBlock "n_stn" DstPort 1 } } Line { SrcBlock "ik_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, -5] DstBlock "n_stn" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_stn*(u-el_stn)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [-2, 82, 1014, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 163, 45, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_stn" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 348, 610, 362] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_stn + tauh1_stn/(1+exp(-" "(u-thetatauh_stn)/sigmatauh_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_stn)/sigmah" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_stn" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_stn" Location [2, 82, 513, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_stn" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_stn)/sigmam_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_stn" SrcPort 1 DstBlock "ina_stn" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_stn" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_stn" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_stn" DstPort 1 } } Line { SrcBlock "ina_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_stn" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 167, 40, 183] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_stn)/sigmaa_s" "tn))" } Block { BlockType Fcn Name "binf" Position [215, 72, 445, 108] Expr "(1/(1 + exp((u-thetab_stn)/sigmab_s" "tn))) - (1/(1 + exp(-thetab_stn/sigmab_stn)))" } Block { BlockType SubSystem Name "it_stn" Ports [3, 1] Position [480, 34, 535, 186] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_stn" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_stn1" Ports [2, 1] Position [90, 60, 190, 120] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_stn1" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [570, 353, 600, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/(taur0_stn + taur1_stn/(1+exp(-" "(u-thetataur_stn)/sigmataur_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_stn)/sigmar" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [35, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_stn" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [15, 0] DstBlock "r_stn1" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -45; 405, 0] DstBlock "it_stn" DstPort 1 } } Line { SrcBlock "it_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_stn1" SrcPort 1 DstBlock "binf" DstPort 1 } Line { SrcBlock "binf" SrcPort 1 Points [0, -5; 15, 0] DstBlock "it_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [30, 0] DstBlock "r_stn1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [380, 418, 410, 432] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 Points [25, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 30, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 20] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 35] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 105] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 140] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [20, 0] DstBlock "iahp" DstPort 2 } Branch { Points [5, 0; 0, -300; -435, 0; 0, 210] DstBlock "Sum" DstPort 5 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 175] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 245] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, -5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Selector" DstPort 1 } Line { SrcBlock "Selector" SrcPort 1 Points [5, 0; 0, -160] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [70, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -330] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [80, 0; 0, -315] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [85, 0; 0, -240] DstBlock "iahp" DstPort 4 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0; 0, -35] Branch { Points [0, -60] Branch { Points [0, -55] Branch { Points [0, -50] Branch { Points [0, -65] DstBlock "Selector" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { Points [0, 5] DstBlock "Selector3" DstPort 2 } } Branch { DstBlock "Selector4" DstPort 2 } } } } Block { BlockType SubSystem Name "synap_stn" Ports [2, 1] Position [250, 21, 335, 74] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_stn" Location [0, 172, 584, 438] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [370, 123, 400, 137] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_stn-thetagh_stn)/sig" "magh_stn))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_stn*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "ss01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, -25] DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [430, 43, 460, 57] ForegroundColor "blue" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [160, 63, 190, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, -35] DstBlock "synap_stn" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "synap_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, 5; 25, 0; 0, -20] Branch { DstBlock "Subsystem" DstPort 4 } Branch { DstBlock "Selector" DstPort 2 } } Line { SrcBlock "Selector" SrcPort 1 Points [0, -110; -10, 0] DstBlock "synap_stn" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 Points [5, 0; 0, 15] DstBlock "Selector" DstPort 1 } } } Block { BlockType SubSystem Name "STN_cell15" Ports [4, 2] Position [1015, 2317, 1055, 2393] ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "STN_cell15" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 43, 65, 57] ForegroundColor "blue" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 63, 55, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 83, 55, 97] ForegroundColor "blue" Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [15, 213, 45, 227] ForegroundColor "blue" Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 155, 165, 185] Value "ss0" } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [200, 176, 240, 214] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "Subsystem" Ports [4, 1] Position [90, 39, 130, 106] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 293, 80, 307] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 318, 80, 332] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 343, 80, 357] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [155, 688, 185, 702] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [55, 395, 85, 425] Value "vs0" } Block { BlockType Constant Name "Constant1" Position [55, 460, 85, 490] Value "ns0" } Block { BlockType Constant Name "Constant2" Position [55, 515, 85, 545] Value "hs0" } Block { BlockType Constant Name "Constant3" Position [55, 575, 85, 605] Value "rs0" } Block { BlockType Constant Name "Constant4" Position [55, 630, 85, 660] Value "cas0" } Block { BlockType Gain Name "Gain" Position [180, 231, 250, 269] Gain "1/c_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [295, 237, 325, 268] InitialConditionSource "external" InitialCondition "vs01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [220, 401, 260, 439] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [220, 466, 260, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [220, 516, 260, 554] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [220, 576, 260, 614] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [220, 631, 260, 669] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [9, 1] Position [105, 128, 165, 372] ShowName off Inputs "-------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [828, 385, 1243, 566] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 118, 60, 132] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_stn)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_stn)*gahp_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [210, 108, 240, 122] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_stn" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cas01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_stn1" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_stn1" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_stn)/sigmas_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_stn1" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_stn1" DstPort 1 } } Line { SrcBlock "ica_stn1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [15, 158, 45, 172] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_stn" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_stn" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_stn" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_stn" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 353, 610, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_stn + taun1_stn/(1+exp(-" "(u-thetataun_stn)/sigmataun_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 292, 685, 323] InitialConditionSource "external" InitialCondition "ns01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_stn)/sigman" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -10; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_stn" SrcPort 1 DstBlock "ik_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_stn" DstPort 1 } Branch { Points [0, 75] DstBlock "n_stn" DstPort 1 } } Line { SrcBlock "ik_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, -5] DstBlock "n_stn" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_stn*(u-el_stn)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [-2, 82, 1014, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 163, 45, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_stn" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 348, 610, 362] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_stn + tauh1_stn/(1+exp(-" "(u-thetatauh_stn)/sigmatauh_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_stn)/sigmah" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_stn" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_stn" Location [2, 82, 513, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_stn" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_stn)/sigmam_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_stn" SrcPort 1 DstBlock "ina_stn" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_stn" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_stn" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_stn" DstPort 1 } } Line { SrcBlock "ina_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_stn" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 167, 40, 183] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_stn)/sigmaa_s" "tn))" } Block { BlockType Fcn Name "binf" Position [215, 72, 445, 108] Expr "(1/(1 + exp((u-thetab_stn)/sigmab_s" "tn))) - (1/(1 + exp(-thetab_stn/sigmab_stn)))" } Block { BlockType SubSystem Name "it_stn" Ports [3, 1] Position [480, 34, 535, 186] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_stn" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_stn1" Ports [2, 1] Position [90, 60, 190, 120] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_stn1" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [570, 353, 600, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/(taur0_stn + taur1_stn/(1+exp(-" "(u-thetataur_stn)/sigmataur_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_stn)/sigmar" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [35, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_stn" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [15, 0] DstBlock "r_stn1" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -45; 405, 0] DstBlock "it_stn" DstPort 1 } } Line { SrcBlock "it_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_stn1" SrcPort 1 DstBlock "binf" DstPort 1 } Line { SrcBlock "binf" SrcPort 1 Points [0, -5; 15, 0] DstBlock "it_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [30, 0] DstBlock "r_stn1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [380, 418, 410, 432] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 Points [25, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 30, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 20] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 35] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 105] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 140] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [20, 0] DstBlock "iahp" DstPort 2 } Branch { Points [5, 0; 0, -300; -435, 0; 0, 210] DstBlock "Sum" DstPort 5 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 175] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 245] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, -5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Selector" DstPort 1 } Line { SrcBlock "Selector" SrcPort 1 Points [5, 0; 0, -160] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [70, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -330] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [80, 0; 0, -315] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [85, 0; 0, -240] DstBlock "iahp" DstPort 4 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0; 0, -35] Branch { Points [0, -60] Branch { Points [0, -55] Branch { Points [0, -50] Branch { Points [0, -65] DstBlock "Selector" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { Points [0, 5] DstBlock "Selector3" DstPort 2 } } Branch { DstBlock "Selector4" DstPort 2 } } } } Block { BlockType SubSystem Name "synap_stn" Ports [2, 1] Position [250, 21, 335, 74] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_stn" Location [0, 172, 584, 438] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [370, 123, 400, 137] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_stn-thetagh_stn)/sig" "magh_stn))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_stn*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "ss01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, -25] DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [430, 43, 460, 57] ForegroundColor "blue" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [160, 63, 190, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, -35] DstBlock "synap_stn" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "synap_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, 5; 25, 0; 0, -20] Branch { DstBlock "Subsystem" DstPort 4 } Branch { DstBlock "Selector" DstPort 2 } } Line { SrcBlock "Selector" SrcPort 1 Points [0, -110; -10, 0] DstBlock "synap_stn" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 Points [5, 0; 0, 15] DstBlock "Selector" DstPort 1 } } } Block { BlockType SubSystem Name "STN_cell16" Ports [4, 2] Position [1010, 2487, 1050, 2563] ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "STN_cell16" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 43, 65, 57] ForegroundColor "blue" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 63, 55, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 83, 55, 97] ForegroundColor "blue" Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [15, 213, 45, 227] ForegroundColor "blue" Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 155, 165, 185] Value "ss0" } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [200, 176, 240, 214] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "Subsystem" Ports [4, 1] Position [90, 39, 130, 106] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 293, 80, 307] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 318, 80, 332] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 343, 80, 357] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [155, 688, 185, 702] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [55, 395, 85, 425] Value "vs0" } Block { BlockType Constant Name "Constant1" Position [55, 460, 85, 490] Value "ns0" } Block { BlockType Constant Name "Constant2" Position [55, 515, 85, 545] Value "hs0" } Block { BlockType Constant Name "Constant3" Position [55, 575, 85, 605] Value "rs0" } Block { BlockType Constant Name "Constant4" Position [55, 630, 85, 660] Value "cas0" } Block { BlockType Gain Name "Gain" Position [180, 231, 250, 269] Gain "1/c_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [295, 237, 325, 268] InitialConditionSource "external" InitialCondition "vs01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [220, 401, 260, 439] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [220, 466, 260, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [220, 516, 260, 554] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [220, 576, 260, 614] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [220, 631, 260, 669] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [9, 1] Position [105, 128, 165, 372] ShowName off Inputs "-------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [828, 385, 1243, 566] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 118, 60, 132] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_stn)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_stn)*gahp_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [210, 108, 240, 122] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_stn" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cas01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_stn1" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_stn1" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_stn)/sigmas_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_stn1" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_stn1" DstPort 1 } } Line { SrcBlock "ica_stn1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [15, 158, 45, 172] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_stn" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_stn" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_stn" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_stn" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 353, 610, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_stn + taun1_stn/(1+exp(-" "(u-thetataun_stn)/sigmataun_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 292, 685, 323] InitialConditionSource "external" InitialCondition "ns01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_stn)/sigman" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -10; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_stn" SrcPort 1 DstBlock "ik_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_stn" DstPort 1 } Branch { Points [0, 75] DstBlock "n_stn" DstPort 1 } } Line { SrcBlock "ik_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, -5] DstBlock "n_stn" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_stn*(u-el_stn)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [-2, 82, 1014, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 163, 45, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_stn" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 348, 610, 362] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_stn + tauh1_stn/(1+exp(-" "(u-thetatauh_stn)/sigmatauh_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_stn)/sigmah" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_stn" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_stn" Location [2, 82, 513, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_stn" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_stn)/sigmam_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_stn" SrcPort 1 DstBlock "ina_stn" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_stn" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_stn" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_stn" DstPort 1 } } Line { SrcBlock "ina_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_stn" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 167, 40, 183] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_stn)/sigmaa_s" "tn))" } Block { BlockType Fcn Name "binf" Position [215, 72, 445, 108] Expr "(1/(1 + exp((u-thetab_stn)/sigmab_s" "tn))) - (1/(1 + exp(-thetab_stn/sigmab_stn)))" } Block { BlockType SubSystem Name "it_stn" Ports [3, 1] Position [480, 34, 535, 186] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_stn" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_stn1" Ports [2, 1] Position [90, 60, 190, 120] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_stn1" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [570, 353, 600, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/(taur0_stn + taur1_stn/(1+exp(-" "(u-thetataur_stn)/sigmataur_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_stn)/sigmar" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [35, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_stn" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [15, 0] DstBlock "r_stn1" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -45; 405, 0] DstBlock "it_stn" DstPort 1 } } Line { SrcBlock "it_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_stn1" SrcPort 1 DstBlock "binf" DstPort 1 } Line { SrcBlock "binf" SrcPort 1 Points [0, -5; 15, 0] DstBlock "it_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [30, 0] DstBlock "r_stn1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [380, 418, 410, 432] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 Points [25, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 30, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 20] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 35] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 105] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 140] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [20, 0] DstBlock "iahp" DstPort 2 } Branch { Points [5, 0; 0, -300; -435, 0; 0, 210] DstBlock "Sum" DstPort 5 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 175] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 245] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, -5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Selector" DstPort 1 } Line { SrcBlock "Selector" SrcPort 1 Points [5, 0; 0, -160] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [70, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -330] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [80, 0; 0, -315] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [85, 0; 0, -240] DstBlock "iahp" DstPort 4 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0; 0, -35] Branch { Points [0, -60] Branch { Points [0, -55] Branch { Points [0, -50] Branch { Points [0, -65] DstBlock "Selector" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { Points [0, 5] DstBlock "Selector3" DstPort 2 } } Branch { DstBlock "Selector4" DstPort 2 } } } } Block { BlockType SubSystem Name "synap_stn" Ports [2, 1] Position [250, 21, 335, 74] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_stn" Location [0, 172, 584, 438] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [370, 123, 400, 137] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_stn-thetagh_stn)/sig" "magh_stn))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_stn*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "ss01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, -25] DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [430, 43, 460, 57] ForegroundColor "blue" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [160, 63, 190, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, -35] DstBlock "synap_stn" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "synap_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, 5; 25, 0; 0, -20] Branch { DstBlock "Subsystem" DstPort 4 } Branch { DstBlock "Selector" DstPort 2 } } Line { SrcBlock "Selector" SrcPort 1 Points [0, -110; -10, 0] DstBlock "synap_stn" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 Points [5, 0; 0, 15] DstBlock "Selector" DstPort 1 } } } Block { BlockType SubSystem Name "STN_cell17" Ports [4, 2] Position [1005, 2637, 1045, 2713] ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "STN_cell17" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 43, 65, 57] ForegroundColor "blue" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 63, 55, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 83, 55, 97] ForegroundColor "blue" Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [15, 213, 45, 227] ForegroundColor "blue" Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 155, 165, 185] Value "ss0" } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [200, 176, 240, 214] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "Subsystem" Ports [4, 1] Position [90, 39, 130, 106] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 293, 80, 307] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 318, 80, 332] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 343, 80, 357] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [155, 688, 185, 702] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [55, 395, 85, 425] Value "vs0" } Block { BlockType Constant Name "Constant1" Position [55, 460, 85, 490] Value "ns0" } Block { BlockType Constant Name "Constant2" Position [55, 515, 85, 545] Value "hs0" } Block { BlockType Constant Name "Constant3" Position [55, 575, 85, 605] Value "rs0" } Block { BlockType Constant Name "Constant4" Position [55, 630, 85, 660] Value "cas0" } Block { BlockType Gain Name "Gain" Position [180, 231, 250, 269] Gain "1/c_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [295, 237, 325, 268] InitialConditionSource "external" InitialCondition "vs01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [220, 401, 260, 439] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [220, 466, 260, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [220, 516, 260, 554] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [220, 576, 260, 614] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [220, 631, 260, 669] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [9, 1] Position [105, 128, 165, 372] ShowName off Inputs "-------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [828, 385, 1243, 566] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 118, 60, 132] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_stn)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_stn)*gahp_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [210, 108, 240, 122] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_stn" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cas01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_stn1" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_stn1" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_stn)/sigmas_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_stn1" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_stn1" DstPort 1 } } Line { SrcBlock "ica_stn1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [15, 158, 45, 172] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_stn" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_stn" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_stn" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_stn" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 353, 610, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_stn + taun1_stn/(1+exp(-" "(u-thetataun_stn)/sigmataun_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 292, 685, 323] InitialConditionSource "external" InitialCondition "ns01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_stn)/sigman" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -10; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_stn" SrcPort 1 DstBlock "ik_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_stn" DstPort 1 } Branch { Points [0, 75] DstBlock "n_stn" DstPort 1 } } Line { SrcBlock "ik_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, -5] DstBlock "n_stn" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_stn*(u-el_stn)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [-2, 82, 1014, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 163, 45, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_stn" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 348, 610, 362] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_stn + tauh1_stn/(1+exp(-" "(u-thetatauh_stn)/sigmatauh_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_stn)/sigmah" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_stn" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_stn" Location [2, 82, 513, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_stn" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_stn)/sigmam_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_stn" SrcPort 1 DstBlock "ina_stn" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_stn" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_stn" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_stn" DstPort 1 } } Line { SrcBlock "ina_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_stn" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 167, 40, 183] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_stn)/sigmaa_s" "tn))" } Block { BlockType Fcn Name "binf" Position [215, 72, 445, 108] Expr "(1/(1 + exp((u-thetab_stn)/sigmab_s" "tn))) - (1/(1 + exp(-thetab_stn/sigmab_stn)))" } Block { BlockType SubSystem Name "it_stn" Ports [3, 1] Position [480, 34, 535, 186] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_stn" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_stn1" Ports [2, 1] Position [90, 60, 190, 120] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_stn1" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [570, 353, 600, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/(taur0_stn + taur1_stn/(1+exp(-" "(u-thetataur_stn)/sigmataur_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_stn)/sigmar" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [35, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_stn" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [15, 0] DstBlock "r_stn1" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -45; 405, 0] DstBlock "it_stn" DstPort 1 } } Line { SrcBlock "it_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_stn1" SrcPort 1 DstBlock "binf" DstPort 1 } Line { SrcBlock "binf" SrcPort 1 Points [0, -5; 15, 0] DstBlock "it_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [30, 0] DstBlock "r_stn1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [380, 418, 410, 432] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 Points [25, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 30, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 20] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 35] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 105] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 140] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [20, 0] DstBlock "iahp" DstPort 2 } Branch { Points [5, 0; 0, -300; -435, 0; 0, 210] DstBlock "Sum" DstPort 5 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 175] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 245] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, -5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Selector" DstPort 1 } Line { SrcBlock "Selector" SrcPort 1 Points [5, 0; 0, -160] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [70, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -330] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [80, 0; 0, -315] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [85, 0; 0, -240] DstBlock "iahp" DstPort 4 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0; 0, -35] Branch { Points [0, -60] Branch { Points [0, -55] Branch { Points [0, -50] Branch { Points [0, -65] DstBlock "Selector" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { Points [0, 5] DstBlock "Selector3" DstPort 2 } } Branch { DstBlock "Selector4" DstPort 2 } } } } Block { BlockType SubSystem Name "synap_stn" Ports [2, 1] Position [250, 21, 335, 74] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_stn" Location [0, 172, 584, 438] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [370, 123, 400, 137] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_stn-thetagh_stn)/sig" "magh_stn))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_stn*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "ss01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, -25] DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [430, 43, 460, 57] ForegroundColor "blue" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [160, 63, 190, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, -35] DstBlock "synap_stn" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "synap_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, 5; 25, 0; 0, -20] Branch { DstBlock "Subsystem" DstPort 4 } Branch { DstBlock "Selector" DstPort 2 } } Line { SrcBlock "Selector" SrcPort 1 Points [0, -110; -10, 0] DstBlock "synap_stn" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 Points [5, 0; 0, 15] DstBlock "Selector" DstPort 1 } } } Block { BlockType SubSystem Name "STN_cell2" Ports [4, 2] Position [990, 332, 1030, 408] ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "STN_cell2" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 43, 65, 57] ForegroundColor "blue" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 63, 55, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 83, 55, 97] ForegroundColor "blue" Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [15, 213, 45, 227] ForegroundColor "blue" Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 155, 165, 185] Value "ss0" } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [200, 176, 240, 214] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "Subsystem" Ports [4, 1] Position [90, 39, 130, 106] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 293, 80, 307] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 318, 80, 332] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 343, 80, 357] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [155, 688, 185, 702] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [55, 395, 85, 425] Value "vs0" } Block { BlockType Constant Name "Constant1" Position [55, 460, 85, 490] Value "ns0" } Block { BlockType Constant Name "Constant2" Position [55, 515, 85, 545] Value "hs0" } Block { BlockType Constant Name "Constant3" Position [55, 575, 85, 605] Value "rs0" } Block { BlockType Constant Name "Constant4" Position [55, 630, 85, 660] Value "cas0" } Block { BlockType Gain Name "Gain" Position [180, 231, 250, 269] Gain "1/c_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [295, 237, 325, 268] InitialConditionSource "external" InitialCondition "vs01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [220, 401, 260, 439] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [220, 466, 260, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [220, 516, 260, 554] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [220, 576, 260, 614] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [220, 631, 260, 669] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [9, 1] Position [105, 128, 165, 372] ShowName off Inputs "-------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [828, 385, 1243, 566] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 118, 60, 132] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_stn)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_stn)*gahp_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [210, 108, 240, 122] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_stn" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cas01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_stn1" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_stn1" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_stn)/sigmas_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_stn1" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_stn1" DstPort 1 } } Line { SrcBlock "ica_stn1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [15, 158, 45, 172] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_stn" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_stn" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_stn" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_stn" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 353, 610, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_stn + taun1_stn/(1+exp(-" "(u-thetataun_stn)/sigmataun_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 292, 685, 323] InitialConditionSource "external" InitialCondition "ns01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_stn)/sigman" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -10; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_stn" SrcPort 1 DstBlock "ik_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_stn" DstPort 1 } Branch { Points [0, 75] DstBlock "n_stn" DstPort 1 } } Line { SrcBlock "ik_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, -5] DstBlock "n_stn" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_stn*(u-el_stn)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [-2, 82, 1014, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 163, 45, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_stn" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 348, 610, 362] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_stn + tauh1_stn/(1+exp(-" "(u-thetatauh_stn)/sigmatauh_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_stn)/sigmah" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_stn" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_stn" Location [2, 82, 513, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_stn" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_stn)/sigmam_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_stn" SrcPort 1 DstBlock "ina_stn" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_stn" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_stn" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_stn" DstPort 1 } } Line { SrcBlock "ina_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_stn" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 167, 40, 183] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_stn)/sigmaa_s" "tn))" } Block { BlockType Fcn Name "binf" Position [215, 72, 445, 108] Expr "(1/(1 + exp((u-thetab_stn)/sigmab_s" "tn))) - (1/(1 + exp(-thetab_stn/sigmab_stn)))" } Block { BlockType SubSystem Name "it_stn" Ports [3, 1] Position [480, 34, 535, 186] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_stn" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_stn1" Ports [2, 1] Position [90, 60, 190, 120] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_stn1" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [570, 353, 600, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/(taur0_stn + taur1_stn/(1+exp(-" "(u-thetataur_stn)/sigmataur_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_stn)/sigmar" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [35, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_stn" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [15, 0] DstBlock "r_stn1" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -45; 405, 0] DstBlock "it_stn" DstPort 1 } } Line { SrcBlock "it_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_stn1" SrcPort 1 DstBlock "binf" DstPort 1 } Line { SrcBlock "binf" SrcPort 1 Points [0, -5; 15, 0] DstBlock "it_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [30, 0] DstBlock "r_stn1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [380, 418, 410, 432] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 Points [25, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 30, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 20] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 35] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 105] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 140] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [20, 0] DstBlock "iahp" DstPort 2 } Branch { Points [5, 0; 0, -300; -435, 0; 0, 210] DstBlock "Sum" DstPort 5 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 175] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 245] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, -5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Selector" DstPort 1 } Line { SrcBlock "Selector" SrcPort 1 Points [5, 0; 0, -160] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [70, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -330] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [80, 0; 0, -315] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [85, 0; 0, -240] DstBlock "iahp" DstPort 4 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0; 0, -35] Branch { Points [0, -60] Branch { Points [0, -55] Branch { Points [0, -50] Branch { Points [0, -65] DstBlock "Selector" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { Points [0, 5] DstBlock "Selector3" DstPort 2 } } Branch { DstBlock "Selector4" DstPort 2 } } } } Block { BlockType SubSystem Name "synap_stn" Ports [2, 1] Position [250, 21, 335, 74] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_stn" Location [0, 172, 584, 438] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [370, 123, 400, 137] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_stn-thetagh_stn)/sig" "magh_stn))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_stn*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "ss01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, -25] DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [430, 43, 460, 57] ForegroundColor "blue" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [160, 63, 190, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, -35] DstBlock "synap_stn" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "synap_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, 5; 25, 0; 0, -20] Branch { DstBlock "Subsystem" DstPort 4 } Branch { DstBlock "Selector" DstPort 2 } } Line { SrcBlock "Selector" SrcPort 1 Points [0, -110; -10, 0] DstBlock "synap_stn" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 Points [5, 0; 0, 15] DstBlock "Selector" DstPort 1 } } } Block { BlockType SubSystem Name "STN_cell3" Ports [4, 2] Position [990, 487, 1030, 563] ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "STN_cell3" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 43, 65, 57] ForegroundColor "blue" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 63, 55, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 83, 55, 97] ForegroundColor "blue" Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [15, 213, 45, 227] ForegroundColor "blue" Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 155, 165, 185] Value "ss0" } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [200, 176, 240, 214] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "Subsystem" Ports [4, 1] Position [90, 39, 130, 106] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 293, 80, 307] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 318, 80, 332] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 343, 80, 357] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [155, 688, 185, 702] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [55, 395, 85, 425] Value "vs0" } Block { BlockType Constant Name "Constant1" Position [55, 460, 85, 490] Value "ns0" } Block { BlockType Constant Name "Constant2" Position [55, 515, 85, 545] Value "hs0" } Block { BlockType Constant Name "Constant3" Position [55, 575, 85, 605] Value "rs0" } Block { BlockType Constant Name "Constant4" Position [55, 630, 85, 660] Value "cas0" } Block { BlockType Gain Name "Gain" Position [180, 231, 250, 269] Gain "1/c_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [295, 237, 325, 268] InitialConditionSource "external" InitialCondition "vs01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [220, 401, 260, 439] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [220, 466, 260, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [220, 516, 260, 554] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [220, 576, 260, 614] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [220, 631, 260, 669] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [9, 1] Position [105, 128, 165, 372] ShowName off Inputs "-------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [828, 385, 1243, 566] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 118, 60, 132] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_stn)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_stn)*gahp_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [210, 108, 240, 122] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_stn" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cas01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_stn1" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_stn1" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_stn)/sigmas_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_stn1" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_stn1" DstPort 1 } } Line { SrcBlock "ica_stn1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [15, 158, 45, 172] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_stn" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_stn" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_stn" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_stn" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 353, 610, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_stn + taun1_stn/(1+exp(-" "(u-thetataun_stn)/sigmataun_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 292, 685, 323] InitialConditionSource "external" InitialCondition "ns01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_stn)/sigman" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -10; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_stn" SrcPort 1 DstBlock "ik_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_stn" DstPort 1 } Branch { Points [0, 75] DstBlock "n_stn" DstPort 1 } } Line { SrcBlock "ik_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, -5] DstBlock "n_stn" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_stn*(u-el_stn)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [-2, 82, 1014, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 163, 45, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_stn" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 348, 610, 362] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_stn + tauh1_stn/(1+exp(-" "(u-thetatauh_stn)/sigmatauh_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_stn)/sigmah" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_stn" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_stn" Location [2, 82, 513, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_stn" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_stn)/sigmam_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_stn" SrcPort 1 DstBlock "ina_stn" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_stn" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_stn" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_stn" DstPort 1 } } Line { SrcBlock "ina_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_stn" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 167, 40, 183] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_stn)/sigmaa_s" "tn))" } Block { BlockType Fcn Name "binf" Position [215, 72, 445, 108] Expr "(1/(1 + exp((u-thetab_stn)/sigmab_s" "tn))) - (1/(1 + exp(-thetab_stn/sigmab_stn)))" } Block { BlockType SubSystem Name "it_stn" Ports [3, 1] Position [480, 34, 535, 186] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_stn" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_stn1" Ports [2, 1] Position [90, 60, 190, 120] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_stn1" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [570, 353, 600, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/(taur0_stn + taur1_stn/(1+exp(-" "(u-thetataur_stn)/sigmataur_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_stn)/sigmar" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [35, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_stn" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [15, 0] DstBlock "r_stn1" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -45; 405, 0] DstBlock "it_stn" DstPort 1 } } Line { SrcBlock "it_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_stn1" SrcPort 1 DstBlock "binf" DstPort 1 } Line { SrcBlock "binf" SrcPort 1 Points [0, -5; 15, 0] DstBlock "it_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [30, 0] DstBlock "r_stn1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [380, 418, 410, 432] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 Points [25, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 30, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 20] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 35] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 105] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 140] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [20, 0] DstBlock "iahp" DstPort 2 } Branch { Points [5, 0; 0, -300; -435, 0; 0, 210] DstBlock "Sum" DstPort 5 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 175] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 245] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, -5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Selector" DstPort 1 } Line { SrcBlock "Selector" SrcPort 1 Points [5, 0; 0, -160] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [70, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -330] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [80, 0; 0, -315] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [85, 0; 0, -240] DstBlock "iahp" DstPort 4 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0; 0, -35] Branch { Points [0, -60] Branch { Points [0, -55] Branch { Points [0, -50] Branch { Points [0, -65] DstBlock "Selector" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { Points [0, 5] DstBlock "Selector3" DstPort 2 } } Branch { DstBlock "Selector4" DstPort 2 } } } } Block { BlockType SubSystem Name "synap_stn" Ports [2, 1] Position [250, 21, 335, 74] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_stn" Location [0, 172, 584, 438] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [370, 123, 400, 137] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_stn-thetagh_stn)/sig" "magh_stn))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_stn*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "ss01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, -25] DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [430, 43, 460, 57] ForegroundColor "blue" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [160, 63, 190, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, -35] DstBlock "synap_stn" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "synap_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, 5; 25, 0; 0, -20] Branch { DstBlock "Subsystem" DstPort 4 } Branch { DstBlock "Selector" DstPort 2 } } Line { SrcBlock "Selector" SrcPort 1 Points [0, -110; -10, 0] DstBlock "synap_stn" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 Points [5, 0; 0, 15] DstBlock "Selector" DstPort 1 } } } Block { BlockType SubSystem Name "STN_cell5" Ports [4, 2] Position [990, 667, 1030, 743] ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "STN_cell5" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 43, 65, 57] ForegroundColor "blue" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 63, 55, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 83, 55, 97] ForegroundColor "blue" Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [15, 213, 45, 227] ForegroundColor "blue" Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 155, 165, 185] Value "ss0" } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [200, 176, 240, 214] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "Subsystem" Ports [4, 1] Position [90, 39, 130, 106] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 293, 80, 307] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 318, 80, 332] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 343, 80, 357] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [155, 688, 185, 702] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [55, 395, 85, 425] Value "vs0" } Block { BlockType Constant Name "Constant1" Position [55, 460, 85, 490] Value "ns0" } Block { BlockType Constant Name "Constant2" Position [55, 515, 85, 545] Value "hs0" } Block { BlockType Constant Name "Constant3" Position [55, 575, 85, 605] Value "rs0" } Block { BlockType Constant Name "Constant4" Position [55, 630, 85, 660] Value "cas0" } Block { BlockType Gain Name "Gain" Position [180, 231, 250, 269] Gain "1/c_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [295, 237, 325, 268] InitialConditionSource "external" InitialCondition "vs01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [220, 401, 260, 439] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [220, 466, 260, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [220, 516, 260, 554] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [220, 576, 260, 614] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [220, 631, 260, 669] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [9, 1] Position [105, 128, 165, 372] ShowName off Inputs "-------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [828, 385, 1243, 566] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 118, 60, 132] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_stn)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_stn)*gahp_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [210, 108, 240, 122] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_stn" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cas01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_stn1" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_stn1" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_stn)/sigmas_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_stn1" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_stn1" DstPort 1 } } Line { SrcBlock "ica_stn1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [15, 158, 45, 172] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_stn" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_stn" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_stn" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_stn" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 353, 610, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_stn + taun1_stn/(1+exp(-" "(u-thetataun_stn)/sigmataun_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 292, 685, 323] InitialConditionSource "external" InitialCondition "ns01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_stn)/sigman" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -10; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_stn" SrcPort 1 DstBlock "ik_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_stn" DstPort 1 } Branch { Points [0, 75] DstBlock "n_stn" DstPort 1 } } Line { SrcBlock "ik_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, -5] DstBlock "n_stn" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_stn*(u-el_stn)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [-2, 82, 1014, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 163, 45, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_stn" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 348, 610, 362] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_stn + tauh1_stn/(1+exp(-" "(u-thetatauh_stn)/sigmatauh_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_stn)/sigmah" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_stn" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_stn" Location [2, 82, 513, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_stn" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_stn)/sigmam_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_stn" SrcPort 1 DstBlock "ina_stn" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_stn" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_stn" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_stn" DstPort 1 } } Line { SrcBlock "ina_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_stn" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 167, 40, 183] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_stn)/sigmaa_s" "tn))" } Block { BlockType Fcn Name "binf" Position [215, 72, 445, 108] Expr "(1/(1 + exp((u-thetab_stn)/sigmab_s" "tn))) - (1/(1 + exp(-thetab_stn/sigmab_stn)))" } Block { BlockType SubSystem Name "it_stn" Ports [3, 1] Position [480, 34, 535, 186] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_stn" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_stn1" Ports [2, 1] Position [90, 60, 190, 120] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_stn1" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [570, 353, 600, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/(taur0_stn + taur1_stn/(1+exp(-" "(u-thetataur_stn)/sigmataur_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_stn)/sigmar" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [35, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_stn" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [15, 0] DstBlock "r_stn1" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -45; 405, 0] DstBlock "it_stn" DstPort 1 } } Line { SrcBlock "it_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_stn1" SrcPort 1 DstBlock "binf" DstPort 1 } Line { SrcBlock "binf" SrcPort 1 Points [0, -5; 15, 0] DstBlock "it_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [30, 0] DstBlock "r_stn1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [380, 418, 410, 432] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 Points [25, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 30, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 20] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 35] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 105] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 140] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [20, 0] DstBlock "iahp" DstPort 2 } Branch { Points [5, 0; 0, -300; -435, 0; 0, 210] DstBlock "Sum" DstPort 5 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 175] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 245] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, -5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Selector" DstPort 1 } Line { SrcBlock "Selector" SrcPort 1 Points [5, 0; 0, -160] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [70, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -330] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [80, 0; 0, -315] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [85, 0; 0, -240] DstBlock "iahp" DstPort 4 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0; 0, -35] Branch { Points [0, -60] Branch { Points [0, -55] Branch { Points [0, -50] Branch { Points [0, -65] DstBlock "Selector" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { Points [0, 5] DstBlock "Selector3" DstPort 2 } } Branch { DstBlock "Selector4" DstPort 2 } } } } Block { BlockType SubSystem Name "synap_stn" Ports [2, 1] Position [250, 21, 335, 74] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_stn" Location [0, 172, 584, 438] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [370, 123, 400, 137] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_stn-thetagh_stn)/sig" "magh_stn))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_stn*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "ss01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, -25] DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [430, 43, 460, 57] ForegroundColor "blue" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [160, 63, 190, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, -35] DstBlock "synap_stn" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "synap_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, 5; 25, 0; 0, -20] Branch { DstBlock "Subsystem" DstPort 4 } Branch { DstBlock "Selector" DstPort 2 } } Line { SrcBlock "Selector" SrcPort 1 Points [0, -110; -10, 0] DstBlock "synap_stn" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 Points [5, 0; 0, 15] DstBlock "Selector" DstPort 1 } } } Block { BlockType SubSystem Name "STN_cell6" Ports [4, 2] Position [1005, 822, 1045, 898] ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "STN_cell6" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 43, 65, 57] ForegroundColor "blue" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 63, 55, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 83, 55, 97] ForegroundColor "blue" Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [15, 213, 45, 227] ForegroundColor "blue" Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 155, 165, 185] Value "ss0" } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [200, 176, 240, 214] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "Subsystem" Ports [4, 1] Position [90, 39, 130, 106] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 293, 80, 307] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 318, 80, 332] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 343, 80, 357] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [155, 688, 185, 702] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [55, 395, 85, 425] Value "vs0" } Block { BlockType Constant Name "Constant1" Position [55, 460, 85, 490] Value "ns0" } Block { BlockType Constant Name "Constant2" Position [55, 515, 85, 545] Value "hs0" } Block { BlockType Constant Name "Constant3" Position [55, 575, 85, 605] Value "rs0" } Block { BlockType Constant Name "Constant4" Position [55, 630, 85, 660] Value "cas0" } Block { BlockType Gain Name "Gain" Position [180, 231, 250, 269] Gain "1/c_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [295, 237, 325, 268] InitialConditionSource "external" InitialCondition "vs01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [220, 401, 260, 439] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [220, 466, 260, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [220, 516, 260, 554] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [220, 576, 260, 614] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [220, 631, 260, 669] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [9, 1] Position [105, 128, 165, 372] ShowName off Inputs "-------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [828, 385, 1243, 566] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 118, 60, 132] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_stn)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_stn)*gahp_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [210, 108, 240, 122] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_stn" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cas01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_stn1" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_stn1" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_stn)/sigmas_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_stn1" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_stn1" DstPort 1 } } Line { SrcBlock "ica_stn1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [15, 158, 45, 172] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_stn" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_stn" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_stn" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_stn" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 353, 610, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_stn + taun1_stn/(1+exp(-" "(u-thetataun_stn)/sigmataun_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 292, 685, 323] InitialConditionSource "external" InitialCondition "ns01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_stn)/sigman" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -10; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_stn" SrcPort 1 DstBlock "ik_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_stn" DstPort 1 } Branch { Points [0, 75] DstBlock "n_stn" DstPort 1 } } Line { SrcBlock "ik_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, -5] DstBlock "n_stn" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_stn*(u-el_stn)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [-2, 82, 1014, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 163, 45, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_stn" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 348, 610, 362] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_stn + tauh1_stn/(1+exp(-" "(u-thetatauh_stn)/sigmatauh_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_stn)/sigmah" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_stn" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_stn" Location [2, 82, 513, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_stn" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_stn)/sigmam_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_stn" SrcPort 1 DstBlock "ina_stn" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_stn" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_stn" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_stn" DstPort 1 } } Line { SrcBlock "ina_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_stn" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 167, 40, 183] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_stn)/sigmaa_s" "tn))" } Block { BlockType Fcn Name "binf" Position [215, 72, 445, 108] Expr "(1/(1 + exp((u-thetab_stn)/sigmab_s" "tn))) - (1/(1 + exp(-thetab_stn/sigmab_stn)))" } Block { BlockType SubSystem Name "it_stn" Ports [3, 1] Position [480, 34, 535, 186] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_stn" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_stn1" Ports [2, 1] Position [90, 60, 190, 120] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_stn1" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [570, 353, 600, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/(taur0_stn + taur1_stn/(1+exp(-" "(u-thetataur_stn)/sigmataur_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_stn)/sigmar" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [35, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_stn" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [15, 0] DstBlock "r_stn1" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -45; 405, 0] DstBlock "it_stn" DstPort 1 } } Line { SrcBlock "it_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_stn1" SrcPort 1 DstBlock "binf" DstPort 1 } Line { SrcBlock "binf" SrcPort 1 Points [0, -5; 15, 0] DstBlock "it_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [30, 0] DstBlock "r_stn1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [380, 418, 410, 432] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 Points [25, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 30, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 20] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 35] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 105] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 140] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [20, 0] DstBlock "iahp" DstPort 2 } Branch { Points [5, 0; 0, -300; -435, 0; 0, 210] DstBlock "Sum" DstPort 5 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 175] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 245] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, -5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Selector" DstPort 1 } Line { SrcBlock "Selector" SrcPort 1 Points [5, 0; 0, -160] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [70, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -330] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [80, 0; 0, -315] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [85, 0; 0, -240] DstBlock "iahp" DstPort 4 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0; 0, -35] Branch { Points [0, -60] Branch { Points [0, -55] Branch { Points [0, -50] Branch { Points [0, -65] DstBlock "Selector" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { Points [0, 5] DstBlock "Selector3" DstPort 2 } } Branch { DstBlock "Selector4" DstPort 2 } } } } Block { BlockType SubSystem Name "synap_stn" Ports [2, 1] Position [250, 21, 335, 74] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_stn" Location [0, 172, 584, 438] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [370, 123, 400, 137] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_stn-thetagh_stn)/sig" "magh_stn))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_stn*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "ss01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, -25] DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [430, 43, 460, 57] ForegroundColor "blue" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [160, 63, 190, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, -35] DstBlock "synap_stn" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "synap_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, 5; 25, 0; 0, -20] Branch { DstBlock "Subsystem" DstPort 4 } Branch { DstBlock "Selector" DstPort 2 } } Line { SrcBlock "Selector" SrcPort 1 Points [0, -110; -10, 0] DstBlock "synap_stn" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 Points [5, 0; 0, 15] DstBlock "Selector" DstPort 1 } } } Block { BlockType SubSystem Name "STN_cell7" Ports [4, 2] Position [1000, 977, 1040, 1053] ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "STN_cell7" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 43, 65, 57] ForegroundColor "blue" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 63, 55, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 83, 55, 97] ForegroundColor "blue" Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [15, 213, 45, 227] ForegroundColor "blue" Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 155, 165, 185] Value "ss0" } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [200, 176, 240, 214] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "Subsystem" Ports [4, 1] Position [90, 39, 130, 106] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 293, 80, 307] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 318, 80, 332] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 343, 80, 357] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [155, 688, 185, 702] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [55, 395, 85, 425] Value "vs0" } Block { BlockType Constant Name "Constant1" Position [55, 460, 85, 490] Value "ns0" } Block { BlockType Constant Name "Constant2" Position [55, 515, 85, 545] Value "hs0" } Block { BlockType Constant Name "Constant3" Position [55, 575, 85, 605] Value "rs0" } Block { BlockType Constant Name "Constant4" Position [55, 630, 85, 660] Value "cas0" } Block { BlockType Gain Name "Gain" Position [180, 231, 250, 269] Gain "1/c_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [295, 237, 325, 268] InitialConditionSource "external" InitialCondition "vs01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [220, 401, 260, 439] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [220, 466, 260, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [220, 516, 260, 554] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [220, 576, 260, 614] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [220, 631, 260, 669] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [9, 1] Position [105, 128, 165, 372] ShowName off Inputs "-------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [828, 385, 1243, 566] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 118, 60, 132] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_stn)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_stn)*gahp_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [210, 108, 240, 122] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_stn" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cas01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_stn1" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_stn1" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_stn)/sigmas_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_stn1" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_stn1" DstPort 1 } } Line { SrcBlock "ica_stn1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [15, 158, 45, 172] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_stn" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_stn" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_stn" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_stn" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 353, 610, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_stn + taun1_stn/(1+exp(-" "(u-thetataun_stn)/sigmataun_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 292, 685, 323] InitialConditionSource "external" InitialCondition "ns01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_stn)/sigman" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -10; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_stn" SrcPort 1 DstBlock "ik_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_stn" DstPort 1 } Branch { Points [0, 75] DstBlock "n_stn" DstPort 1 } } Line { SrcBlock "ik_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, -5] DstBlock "n_stn" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_stn*(u-el_stn)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [-2, 82, 1014, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 163, 45, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_stn" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 348, 610, 362] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_stn + tauh1_stn/(1+exp(-" "(u-thetatauh_stn)/sigmatauh_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_stn)/sigmah" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_stn" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_stn" Location [2, 82, 513, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_stn" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_stn)/sigmam_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_stn" SrcPort 1 DstBlock "ina_stn" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_stn" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_stn" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_stn" DstPort 1 } } Line { SrcBlock "ina_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_stn" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 167, 40, 183] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_stn)/sigmaa_s" "tn))" } Block { BlockType Fcn Name "binf" Position [215, 72, 445, 108] Expr "(1/(1 + exp((u-thetab_stn)/sigmab_s" "tn))) - (1/(1 + exp(-thetab_stn/sigmab_stn)))" } Block { BlockType SubSystem Name "it_stn" Ports [3, 1] Position [480, 34, 535, 186] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_stn" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_stn1" Ports [2, 1] Position [90, 60, 190, 120] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_stn1" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [570, 353, 600, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/(taur0_stn + taur1_stn/(1+exp(-" "(u-thetataur_stn)/sigmataur_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_stn)/sigmar" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [35, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_stn" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [15, 0] DstBlock "r_stn1" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -45; 405, 0] DstBlock "it_stn" DstPort 1 } } Line { SrcBlock "it_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_stn1" SrcPort 1 DstBlock "binf" DstPort 1 } Line { SrcBlock "binf" SrcPort 1 Points [0, -5; 15, 0] DstBlock "it_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [30, 0] DstBlock "r_stn1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [380, 418, 410, 432] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 Points [25, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 30, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 20] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 35] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 105] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 140] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [20, 0] DstBlock "iahp" DstPort 2 } Branch { Points [5, 0; 0, -300; -435, 0; 0, 210] DstBlock "Sum" DstPort 5 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 175] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 245] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, -5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Selector" DstPort 1 } Line { SrcBlock "Selector" SrcPort 1 Points [5, 0; 0, -160] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [70, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -330] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [80, 0; 0, -315] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [85, 0; 0, -240] DstBlock "iahp" DstPort 4 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0; 0, -35] Branch { Points [0, -60] Branch { Points [0, -55] Branch { Points [0, -50] Branch { Points [0, -65] DstBlock "Selector" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { Points [0, 5] DstBlock "Selector3" DstPort 2 } } Branch { DstBlock "Selector4" DstPort 2 } } } } Block { BlockType SubSystem Name "synap_stn" Ports [2, 1] Position [250, 21, 335, 74] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_stn" Location [0, 172, 584, 438] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [370, 123, 400, 137] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_stn-thetagh_stn)/sig" "magh_stn))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_stn*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "ss01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, -25] DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [430, 43, 460, 57] ForegroundColor "blue" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [160, 63, 190, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, -35] DstBlock "synap_stn" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "synap_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, 5; 25, 0; 0, -20] Branch { DstBlock "Subsystem" DstPort 4 } Branch { DstBlock "Selector" DstPort 2 } } Line { SrcBlock "Selector" SrcPort 1 Points [0, -110; -10, 0] DstBlock "synap_stn" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 Points [5, 0; 0, 15] DstBlock "Selector" DstPort 1 } } } Block { BlockType SubSystem Name "STN_cell8" Ports [4, 2] Position [995, 1147, 1035, 1223] ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "STN_cell8" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 43, 65, 57] ForegroundColor "blue" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 63, 55, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 83, 55, 97] ForegroundColor "blue" Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [15, 213, 45, 227] ForegroundColor "blue" Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 155, 165, 185] Value "ss0" } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [200, 176, 240, 214] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "Subsystem" Ports [4, 1] Position [90, 39, 130, 106] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 293, 80, 307] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 318, 80, 332] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 343, 80, 357] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [155, 688, 185, 702] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [55, 395, 85, 425] Value "vs0" } Block { BlockType Constant Name "Constant1" Position [55, 460, 85, 490] Value "ns0" } Block { BlockType Constant Name "Constant2" Position [55, 515, 85, 545] Value "hs0" } Block { BlockType Constant Name "Constant3" Position [55, 575, 85, 605] Value "rs0" } Block { BlockType Constant Name "Constant4" Position [55, 630, 85, 660] Value "cas0" } Block { BlockType Gain Name "Gain" Position [180, 231, 250, 269] Gain "1/c_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [295, 237, 325, 268] InitialConditionSource "external" InitialCondition "vs01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [220, 401, 260, 439] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [220, 466, 260, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [220, 516, 260, 554] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [220, 576, 260, 614] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [220, 631, 260, 669] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [9, 1] Position [105, 128, 165, 372] ShowName off Inputs "-------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [828, 385, 1243, 566] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 118, 60, 132] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_stn)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_stn)*gahp_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [210, 108, 240, 122] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_stn" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cas01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_stn1" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_stn1" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_stn)/sigmas_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_stn1" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_stn1" DstPort 1 } } Line { SrcBlock "ica_stn1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [15, 158, 45, 172] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_stn" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_stn" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_stn" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_stn" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 353, 610, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_stn + taun1_stn/(1+exp(-" "(u-thetataun_stn)/sigmataun_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 292, 685, 323] InitialConditionSource "external" InitialCondition "ns01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_stn)/sigman" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -10; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_stn" SrcPort 1 DstBlock "ik_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_stn" DstPort 1 } Branch { Points [0, 75] DstBlock "n_stn" DstPort 1 } } Line { SrcBlock "ik_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, -5] DstBlock "n_stn" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_stn*(u-el_stn)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [-2, 82, 1014, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 163, 45, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_stn" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 348, 610, 362] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_stn + tauh1_stn/(1+exp(-" "(u-thetatauh_stn)/sigmatauh_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_stn)/sigmah" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_stn" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_stn" Location [2, 82, 513, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_stn" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_stn)/sigmam_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_stn" SrcPort 1 DstBlock "ina_stn" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_stn" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_stn" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_stn" DstPort 1 } } Line { SrcBlock "ina_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_stn" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 167, 40, 183] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_stn)/sigmaa_s" "tn))" } Block { BlockType Fcn Name "binf" Position [215, 72, 445, 108] Expr "(1/(1 + exp((u-thetab_stn)/sigmab_s" "tn))) - (1/(1 + exp(-thetab_stn/sigmab_stn)))" } Block { BlockType SubSystem Name "it_stn" Ports [3, 1] Position [480, 34, 535, 186] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_stn" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_stn1" Ports [2, 1] Position [90, 60, 190, 120] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_stn1" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [570, 353, 600, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/(taur0_stn + taur1_stn/(1+exp(-" "(u-thetataur_stn)/sigmataur_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_stn)/sigmar" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [35, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_stn" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [15, 0] DstBlock "r_stn1" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -45; 405, 0] DstBlock "it_stn" DstPort 1 } } Line { SrcBlock "it_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_stn1" SrcPort 1 DstBlock "binf" DstPort 1 } Line { SrcBlock "binf" SrcPort 1 Points [0, -5; 15, 0] DstBlock "it_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [30, 0] DstBlock "r_stn1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [380, 418, 410, 432] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 Points [25, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 30, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 20] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 35] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 105] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 140] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [20, 0] DstBlock "iahp" DstPort 2 } Branch { Points [5, 0; 0, -300; -435, 0; 0, 210] DstBlock "Sum" DstPort 5 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 175] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 245] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, -5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Selector" DstPort 1 } Line { SrcBlock "Selector" SrcPort 1 Points [5, 0; 0, -160] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [70, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -330] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [80, 0; 0, -315] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [85, 0; 0, -240] DstBlock "iahp" DstPort 4 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0; 0, -35] Branch { Points [0, -60] Branch { Points [0, -55] Branch { Points [0, -50] Branch { Points [0, -65] DstBlock "Selector" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { Points [0, 5] DstBlock "Selector3" DstPort 2 } } Branch { DstBlock "Selector4" DstPort 2 } } } } Block { BlockType SubSystem Name "synap_stn" Ports [2, 1] Position [250, 21, 335, 74] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_stn" Location [0, 172, 584, 438] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [370, 123, 400, 137] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_stn-thetagh_stn)/sig" "magh_stn))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_stn*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "ss01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, -25] DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [430, 43, 460, 57] ForegroundColor "blue" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [160, 63, 190, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, -35] DstBlock "synap_stn" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "synap_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, 5; 25, 0; 0, -20] Branch { DstBlock "Subsystem" DstPort 4 } Branch { DstBlock "Selector" DstPort 2 } } Line { SrcBlock "Selector" SrcPort 1 Points [0, -110; -10, 0] DstBlock "synap_stn" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 Points [5, 0; 0, 15] DstBlock "Selector" DstPort 1 } } } Block { BlockType SubSystem Name "STN_cell9" Ports [4, 2] Position [995, 1302, 1035, 1378] ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "STN_cell9" Location [2, 82, 1270, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 43, 65, 57] ForegroundColor "blue" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 63, 55, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 83, 55, 97] ForegroundColor "blue" Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [15, 213, 45, 227] ForegroundColor "blue" Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [135, 155, 165, 185] Value "ss0" } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [200, 176, 240, 214] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType SubSystem Name "Subsystem" Ports [4, 1] Position [90, 39, 130, 106] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [2, 82, 1253, 772] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [50, 293, 80, 307] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [50, 318, 80, 332] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [50, 343, 80, 357] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [155, 688, 185, 702] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [55, 395, 85, 425] Value "vs0" } Block { BlockType Constant Name "Constant1" Position [55, 460, 85, 490] Value "ns0" } Block { BlockType Constant Name "Constant2" Position [55, 515, 85, 545] Value "hs0" } Block { BlockType Constant Name "Constant3" Position [55, 575, 85, 605] Value "rs0" } Block { BlockType Constant Name "Constant4" Position [55, 630, 85, 660] Value "cas0" } Block { BlockType Gain Name "Gain" Position [180, 231, 250, 269] Gain "1/c_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [295, 237, 325, 268] InitialConditionSource "external" InitialCondition "vs01" LimitOutput on UpperSaturationLimit "80" IgnoreLimit off } Block { BlockType Selector Name "Selector" Ports [2, 1] Position [220, 401, 260, 439] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector1" Ports [2, 1] Position [220, 466, 260, 504] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector2" Ports [2, 1] Position [220, 516, 260, 554] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector3" Ports [2, 1] Position [220, 576, 260, 614] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Selector Name "Selector4" Ports [2, 1] Position [220, 631, 260, 669] IndexMode "Zero-based" ElementSrc "External" Elements "[1 3]" } Block { BlockType Sum Name "Sum" Description "--------" Ports [9, 1] Position [105, 128, 165, 372] ShowName off Inputs "-------++" } Block { BlockType SubSystem Name "iahp" Ports [4, 1] Position [505, 238, 570, 432] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "iahp" Location [828, 385, 1243, 566] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [105, 128, 135, 142] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [30, 118, 60, 132] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [165, 50, 225, 80] Expr "u/(u+k1_stn)" } Block { BlockType Fcn Name "Fcn1" Position [170, 120, 230, 150] Expr "(u-ek_stn)*gahp_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 40, 335, 155] RndMeth "Floor" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [90, 26, 135, 104] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Subsystem" Location [0, 86, 1012, 756] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 68, 55, 82] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [210, 108, 240, 122] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [130, 48, 230, 102] Gain "epsil_stn" } Block { BlockType Gain Name "Gain2" Position [125, 144, 220, 176] Orientation "left" NamePlacement "alternate" Gain "kca_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [280, 62, 310, 93] InitialConditionSource "external" InitialCondition "cas01" IgnoreLimit off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [90, 29, 115, 121] ShowName off Inputs "---" } Block { BlockType Outport Name "Out1" Position [370, 68, 400, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [30, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [-45, 0] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Integrator1" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [360, 93, 390, 107] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 Points [25, 0; 0, -10] DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 10; 10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0] DstBlock "Subsystem" DstPort 3 } } } Block { BlockType SubSystem Name "ica" Ports [1, 1] Position [390, 310, 430, 370] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica" Location [160, 217, 625, 486] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 115, 55, 130] Orientation "down" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ica_stn1" Ports [2, 1] Position [335, 158, 385, 242] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ica_stn1" Location [515, 326, 890, 511] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [35, 53, 65, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^2*gca_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-eca_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "sinf" Position [95, 204, 250, 236] Expr "1/(1 + exp(-(u-thetas_stn)/sigmas_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 193, 440, 207] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "sinf" SrcPort 1 DstBlock "ica_stn1" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 45] Branch { Points [0, 40] DstBlock "sinf" DstPort 1 } Branch { DstBlock "ica_stn1" DstPort 1 } } Line { SrcBlock "ica_stn1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "ik" Ports [2, 1] Position [390, 85, 430, 145] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 48, 45, 62] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [15, 158, 45, 172] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "ik_stn" Ports [2, 1] Position [220, 83, 270, 167] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ik_stn" Location [347, 237, 722, 422] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [35, 118, 65, 132] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [90, 110, 150, 140] Expr "u^4*gk_stn" } Block { BlockType Fcn Name "Fcn2" Position [90, 45, 150, 75] Expr "u-ek_stn" } Block { BlockType Product Name "Product" Ports [2, 1] Position [170, 26, 295, 159] RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [320, 88, 350, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType SubSystem Name "n_stn" Ports [2, 1] Position [90, 115, 190, 175] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "n_stn" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 353, 610, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_n" Position [240, 258, 395, 292] Expr "1/(taun0_stn + taun1_stn/(1+exp(-" "(u-thetataun_stn)/sigmataun_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phin_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 292, 685, 323] InitialConditionSource "external" InitialCondition "ns01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "ninf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetan_stn)/sigman" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_n" DstPort 1 } Branch { DstBlock "ninf" DstPort 1 } } Line { SrcBlock "1/tau_n" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -10; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "ninf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [355, 118, 385, 132] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "n_stn" SrcPort 1 DstBlock "ik_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] Branch { Points [135, 0] DstBlock "ik_stn" DstPort 1 } Branch { Points [0, 75] DstBlock "n_stn" DstPort 1 } } Line { SrcBlock "ik_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, -5] DstBlock "n_stn" DstPort 2 } } } Block { BlockType Fcn Name "il" Position [185, 96, 275, 134] Orientation "left" NamePlacement "alternate" Expr "gl_stn*(u-el_stn)" } Block { BlockType SubSystem Name "ina" Ports [2, 1] Position [390, 160, 430, 220] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina" Location [-2, 82, 1014, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 78, 45, 92] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 163, 45, 177] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "h_stn" Ports [2, 1] Position [90, 125, 190, 185] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "h_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [580, 348, 610, 362] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_h" Position [240, 258, 420, 292] Expr "1/(tauh0_stn + tauh1_stn/(1+exp(-" "(u-thetatauh_stn)/sigmatauh_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phih_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "hs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "hinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetah_stn)/sigmah" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_h" DstPort 1 } Branch { DstBlock "hinf" DstPort 1 } } Line { SrcBlock "1/tau_h" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "hinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [25, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType SubSystem Name "ina_stn" Ports [3, 1] Position [330, 29, 385, 181] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "ina_stn" Location [2, 82, 513, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^3*gna_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-ena_stn" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Product" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } } } Block { BlockType Fcn Name "minf" Position [90, 68, 245, 102] Expr "1/(1 + exp(-(u-thetam_stn)/sigmam_s" "tn))" } Block { BlockType Outport Name "Out1" Position [410, 98, 440, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "h_stn" SrcPort 1 DstBlock "ina_stn" DstPort 3 } Line { SrcBlock "minf" SrcPort 1 Points [65, 0] DstBlock "ina_stn" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] Branch { DstBlock "minf" DstPort 1 } Branch { Points [0, 55] DstBlock "h_stn" DstPort 1 } Branch { Points [0, -30] DstBlock "ina_stn" DstPort 1 } } Line { SrcBlock "ina_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "h_stn" DstPort 2 } } } Block { BlockType SubSystem Name "it" Ports [2, 1] Position [390, 235, 430, 295] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it" Location [2, 82, 1014, 732] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [15, 83, 45, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In1" Position [15, 167, 40, 183] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "ainf" Position [105, 142, 260, 178] Expr "1/(1 + exp(-(u-thetaa_stn)/sigmaa_s" "tn))" } Block { BlockType Fcn Name "binf" Position [215, 72, 445, 108] Expr "(1/(1 + exp((u-thetab_stn)/sigmab_s" "tn))) - (1/(1 + exp(-thetab_stn/sigmab_stn)))" } Block { BlockType SubSystem Name "it_stn" Ports [3, 1] Position [480, 34, 535, 186] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "it_stn" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 88, 55, 102] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 133, 55, 147] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 178, 55, 192] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn1" Position [75, 125, 205, 155] Expr "u^2*gt_stn" } Block { BlockType Fcn Name "Fcn2" Position [80, 80, 140, 110] Expr "u-eca_stn" } Block { BlockType Fcn Name "Fcn3" Position [75, 170, 205, 200] Expr "u^3" } Block { BlockType Product Name "Product" Ports [3, 1] Position [300, 73, 425, 207] Inputs "3" RndMeth "Floor" } Block { BlockType Outport Name "Out1" Position [450, 133, 480, 147] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn2" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn3" DstPort 1 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Product" DstPort 3 } } } Block { BlockType SubSystem Name "r_stn1" Ports [2, 1] Position [90, 60, 190, 120] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "r_stn1" Location [2, 82, 1014, 752] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [125, 318, 155, 332] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [570, 353, 600, 367] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "1/tau_r" Position [225, 258, 405, 292] Expr "1/(taur0_stn + taur1_stn/(1+exp(-" "(u-thetataur_stn)/sigmataur_stn)))" } Block { BlockType Gain Name "Gain" Position [555, 277, 625, 323] Gain "phir_stn" } Block { BlockType Integrator Name "Integrator1" Ports [2, 1] Position [655, 287, 685, 318] InitialConditionSource "external" InitialCondition "rs01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [480, 249, 525, 351] RndMeth "Floor" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [415, 315, 435, 335] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Fcn Name "rinf" Position [240, 310, 385, 340] Expr "1/(1 + exp(-(u-thetar_stn)/sigmar" "_stn))" } Block { BlockType Outport Name "Out1" Position [815, 293, 845, 307] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -50] DstBlock "1/tau_r" DstPort 1 } Branch { DstBlock "rinf" DstPort 1 } } Line { SrcBlock "1/tau_r" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [30, -5; 30, 0] Branch { Points [0, 90; -325, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "rinf" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [10, 0] DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [35, 0] DstBlock "Integrator1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [560, 103, 590, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "ainf" SrcPort 1 DstBlock "it_stn" DstPort 3 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0] Branch { Points [15, 0] DstBlock "r_stn1" DstPort 1 } Branch { Points [0, 70] DstBlock "ainf" DstPort 1 } Branch { Points [0, -45; 405, 0] DstBlock "it_stn" DstPort 1 } } Line { SrcBlock "it_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "r_stn1" SrcPort 1 DstBlock "binf" DstPort 1 } Line { SrcBlock "binf" SrcPort 1 Points [0, -5; 15, 0] DstBlock "it_stn" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [30, 0] DstBlock "r_stn1" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [380, 418, 410, 432] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gain" SrcPort 1 Points [25, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 30, 0] Branch { Points [0, -60] Branch { Points [0, -75] Branch { DstBlock "il" DstPort 1 } Branch { Points [15, 0] DstBlock "ik" DstPort 1 } } Branch { Points [15, 0] DstBlock "ina" DstPort 1 } } Branch { Points [0, 0] Branch { DstBlock "it" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "ica" DstPort 1 } Branch { Points [0, 65] Branch { Points [130, 0] DstBlock "iahp" DstPort 3 } Branch { Points [0, 20] DstBlock "Out1" DstPort 1 } } } } } Line { SrcBlock "il" SrcPort 1 Points [-100, 0; 0, 35] DstBlock "Sum" DstPort 1 } Line { SrcBlock "ik" SrcPort 1 Points [5, 0; 0, -45; -370, 0; 0, 105] DstBlock "Sum" DstPort 2 } Line { SrcBlock "ina" SrcPort 1 Points [15, 0; 0, -130; -390, 0; 0, 140] DstBlock "Sum" DstPort 3 } Line { SrcBlock "ica" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [20, 0] DstBlock "iahp" DstPort 2 } Branch { Points [5, 0; 0, -300; -435, 0; 0, 210] DstBlock "Sum" DstPort 5 } } Line { SrcBlock "it" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [30, 0] DstBlock "iahp" DstPort 1 } Branch { Points [0, -215; -410, 0; 0, 175] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "iahp" SrcPort 1 Points [10, 0; 0, -305; -555, 0; 0, 245] DstBlock "Sum" DstPort 6 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 7 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 8 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Sum" DstPort 9 } Line { SrcBlock "Constant4" SrcPort 1 Points [0, -5] DstBlock "Selector4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, -5] DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, -5] DstBlock "Selector2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Selector" DstPort 1 } Line { SrcBlock "Selector" SrcPort 1 Points [5, 0; 0, -160] DstBlock "Integrator" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 Points [70, 0; 0, -355] DstBlock "ik" DstPort 2 } Line { SrcBlock "Selector2" SrcPort 1 Points [75, 0; 0, -330] DstBlock "ina" DstPort 2 } Line { SrcBlock "Selector3" SrcPort 1 Points [80, 0; 0, -315] DstBlock "it" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 Points [85, 0; 0, -240] DstBlock "iahp" DstPort 4 } Line { SrcBlock "In4" SrcPort 1 Points [10, 0; 0, -35] Branch { Points [0, -60] Branch { Points [0, -55] Branch { Points [0, -50] Branch { Points [0, -65] DstBlock "Selector" DstPort 2 } Branch { DstBlock "Selector1" DstPort 2 } } Branch { DstBlock "Selector2" DstPort 2 } } Branch { Points [0, 5] DstBlock "Selector3" DstPort 2 } } Branch { DstBlock "Selector4" DstPort 2 } } } } Block { BlockType SubSystem Name "synap_stn" Ports [2, 1] Position [250, 21, 335, 74] ForegroundColor "blue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "synap_stn" Location [0, 172, 584, 438] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 53, 55, 67] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [370, 123, 400, 137] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 45, 210, 75] Expr "1/(1+exp(-(u-theta_stn-thetagh_stn)/sig" "magh_stn))" } Block { BlockType Fcn Name "Fcn2" Position [240, 215, 300, 245] Orientation "left" Expr "A_stn*(1-u)" } Block { BlockType Gain Name "Gain" Position [375, 169, 450, 201] Orientation "left" Gain "B_stn" } Block { BlockType Integrator Name "Integrator" Ports [2, 1] Position [425, 82, 455, 113] InitialConditionSource "external" InitialCondition "ss01" IgnoreLimit off } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 27, 290, 158] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 85, 370, 105] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [525, 88, 555, 102] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn2" SrcPort 1 Points [-40, 0; 0, -105] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [35, 0] DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [0, -5; 45, 0] Branch { Points [0, 90] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, -25] DstBlock "Integrator" DstPort 2 } } } Block { BlockType Outport Name "Out1" Position [430, 43, 460, 57] ForegroundColor "blue" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [160, 63, 190, 77] ForegroundColor "blue" Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Subsystem" SrcPort 1 Points [0, -5; 5, 0] Branch { Points [0, -35] DstBlock "synap_stn" DstPort 1 } Branch { DstBlock "Out2" DstPort 1 } } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "synap_stn" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 Points [0, 5; 25, 0; 0, -20] Branch { DstBlock "Subsystem" DstPort 4 } Branch { DstBlock "Selector" DstPort 2 } } Line { SrcBlock "Selector" SrcPort 1 Points [0, -110; -10, 0] DstBlock "synap_stn" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 Points [5, 0; 0, 15] DstBlock "Selector" DstPort 1 } } } Block { BlockType Scope Name "Scope10" Ports [1] Position [750, 1739, 780, 1771] Location [5, 57, 1285, 773] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } YMin "-125" YMax "75" SaveName "ScopeData9" DataFormat "StructureWithTime" } Block { BlockType Scope Name "Scope11" Ports [1] Position [745, 1899, 775, 1931] Location [5, 56, 1285, 773] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } YMin "-80" YMax "60" SaveName "ScopeData10" DataFormat "StructureWithTime" } Block { BlockType Scope Name "Scope12" Ports [1] Position [760, 2034, 790, 2066] Location [1, 52, 1281, 769] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } YMin "-250" YMax "100" SaveName "ScopeData11" DataFormat "StructureWithTime" } Block { BlockType Scope Name "Scope13" Ports [1] Position [775, 2224, 805, 2256] Location [5, 56, 1285, 773] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } YMin "-100" YMax "60" SaveName "ScopeData12" DataFormat "StructureWithTime" } Block { BlockType Scope Name "Scope14" Ports [1] Position [760, 2384, 790, 2416] Location [6, 60, 1158, 846] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } YMin "-80" YMax "60" SaveName "ScopeData13" DataFormat "StructureWithTime" } Block { BlockType Scope Name "Scope15" Ports [1] Position [765, 2549, 795, 2581] Location [1, 52, 1281, 769] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } YMin "-250" YMax "100" SaveName "ScopeData14" DataFormat "StructureWithTime" } Block { BlockType Scope Name "Scope16" Ports [1] Position [735, 214, 765, 246] Location [5, 56, 1285, 769] Open on NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } YMin "-80" YMax "60" DataFormat "StructureWithTime" } Block { BlockType Scope Name "Scope17" Ports [1] Position [735, 404, 765, 436] Location [5, 56, 1285, 773] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } YMin "-80" YMax "60" SaveName "ScopeData16" DataFormat "StructureWithTime" } Block { BlockType Scope Name "Scope18" Ports [1] Position [730, 564, 760, 596] Location [5, 56, 1285, 773] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } YMin "-80" YMax "60" SaveName "ScopeData17" DataFormat "StructureWithTime" } Block { BlockType Scope Name "Scope19" Ports [1] Position [745, 699, 775, 731] Location [5, 56, 1285, 773] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } YMin "-80" YMax "60" SaveName "ScopeData18" DataFormat "StructureWithTime" } Block { BlockType Scope Name "Scope20" Ports [1] Position [760, 889, 790, 921] Location [6, 60, 1158, 846] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } SaveName "ScopeData19" DataFormat "StructureWithTime" } Block { BlockType Scope Name "Scope21" Ports [1] Position [745, 1049, 775, 1081] Location [5, 56, 1285, 773] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } YMin "-80" YMax "60" SaveName "ScopeData20" DataFormat "StructureWithTime" } Block { BlockType Scope Name "Scope22" Ports [1] Position [750, 1214, 780, 1246] Location [5, 56, 1285, 773] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } YMin "-80" YMax "60" SaveName "ScopeData21" DataFormat "StructureWithTime" } Block { BlockType Scope Name "Scope23" Ports [1] Position [745, 1359, 775, 1391] Location [1, 52, 1281, 769] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } YMin "-80" YMax "60" SaveName "ScopeData22" DataFormat "StructureWithTime" } Block { BlockType Scope Name "Scope24" Ports [1] Position [760, 2694, 790, 2726] Location [5, 56, 1285, 773] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } YMin "-80" YMax "60" SaveName "ScopeData15" DataFormat "StructureWithTime" } Block { BlockType Scope Name "Scope9" Ports [1] Position [750, 1549, 780, 1581] Location [1, 52, 1281, 769] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } YMin "-90" YMax "60" SaveName "ScopeData23" DataFormat "StructureWithTime" } Block { BlockType ToWorkspace Name "To Workspace" Position [525, 65, 585, 95] VariableName "igpegpe" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "To Workspace1" Position [75, 15, 135, 45] VariableName "t_GPESTN" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "To Workspace2" Position [530, 15, 590, 45] VariableName "istngpe" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "To Workspace3" Position [765, 15, 825, 45] Orientation "left" VariableName "igpestn" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "To Workspace4" Position [655, 3055, 715, 3085] VariableName "VGPE" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "To Workspace5" Position [990, 3050, 1050, 3080] VariableName "VSTN" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "To Workspace6" Position [540, 175, 600, 205] VariableName "syngpe" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "To Workspace7" Position [1085, 20, 1145, 50] VariableName "synstn" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "To Workspace9" Position [570, 1510, 630, 1540] VariableName "syngpe1" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType SubSystem Name "igpegpe" Ports [3, 1] Position [510, 132, 595, 168] Orientation "left" ForegroundColor "red" BackgroundColor "orange" NamePlacement "alternate" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpegpe" Location [740, 203, 1080, 377] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 38, 70, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 78, 70, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpegpe*(u-egpegpe)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpegpe1" Ports [3, 1] Position [510, 297, 595, 333] Orientation "left" ForegroundColor "red" BackgroundColor "orange" NamePlacement "alternate" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpegpe1" Location [740, 203, 1080, 377] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 38, 70, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 78, 70, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpegpe*(u-egpegpe)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpegpe10" Ports [3, 1] Position [530, 1797, 615, 1833] Orientation "left" ForegroundColor "red" BackgroundColor "orange" NamePlacement "alternate" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpegpe10" Location [740, 203, 1080, 377] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 38, 70, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 78, 70, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpegpe*(u-egpegpe)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpegpe11" Ports [3, 1] Position [530, 1962, 615, 1998] Orientation "left" ForegroundColor "red" BackgroundColor "orange" NamePlacement "alternate" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpegpe11" Location [740, 203, 1080, 377] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 38, 70, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 78, 70, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpegpe*(u-egpegpe)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpegpe12" Ports [3, 1] Position [525, 2127, 610, 2163] Orientation "left" ForegroundColor "red" BackgroundColor "orange" NamePlacement "alternate" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpegpe12" Location [740, 203, 1080, 377] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 38, 70, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 78, 70, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpegpe*(u-egpegpe)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpegpe13" Ports [3, 1] Position [535, 2282, 620, 2318] Orientation "left" ForegroundColor "red" BackgroundColor "orange" NamePlacement "alternate" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpegpe13" Location [740, 203, 1080, 377] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 38, 70, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 78, 70, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpegpe*(u-egpegpe)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpegpe14" Ports [3, 1] Position [535, 2442, 620, 2478] Orientation "left" ForegroundColor "red" BackgroundColor "orange" NamePlacement "alternate" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpegpe14" Location [740, 203, 1080, 377] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 38, 70, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 78, 70, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpegpe*(u-egpegpe)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpegpe15" Ports [3, 1] Position [535, 2602, 620, 2638] Orientation "left" ForegroundColor "red" BackgroundColor "orange" NamePlacement "alternate" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpegpe15" Location [740, 203, 1080, 377] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 38, 70, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 78, 70, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpegpe*(u-egpegpe)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpegpe2" Ports [3, 1] Position [515, 462, 600, 498] Orientation "left" ForegroundColor "red" BackgroundColor "orange" NamePlacement "alternate" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpegpe2" Location [740, 203, 1080, 377] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 38, 70, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 78, 70, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpegpe*(u-egpegpe)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpegpe3" Ports [3, 1] Position [515, 627, 600, 663] Orientation "left" ForegroundColor "red" BackgroundColor "orange" NamePlacement "alternate" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpegpe3" Location [740, 203, 1080, 377] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 38, 70, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 78, 70, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpegpe*(u-egpegpe)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpegpe4" Ports [3, 1] Position [510, 792, 595, 828] Orientation "left" ForegroundColor "red" BackgroundColor "orange" NamePlacement "alternate" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpegpe4" Location [740, 203, 1080, 377] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 38, 70, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 78, 70, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpegpe*(u-egpegpe)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpegpe5" Ports [3, 1] Position [520, 947, 605, 983] Orientation "left" ForegroundColor "red" BackgroundColor "orange" NamePlacement "alternate" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpegpe5" Location [740, 203, 1080, 377] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 38, 70, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 78, 70, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpegpe*(u-egpegpe)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpegpe6" Ports [3, 1] Position [520, 1107, 605, 1143] Orientation "left" ForegroundColor "red" BackgroundColor "orange" NamePlacement "alternate" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpegpe6" Location [740, 203, 1080, 377] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 38, 70, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 78, 70, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpegpe*(u-egpegpe)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpegpe7" Ports [3, 1] Position [520, 1267, 605, 1303] Orientation "left" ForegroundColor "red" BackgroundColor "orange" NamePlacement "alternate" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpegpe7" Location [740, 203, 1080, 377] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 38, 70, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 78, 70, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpegpe*(u-egpegpe)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpegpe8" Ports [3, 1] Position [525, 1467, 610, 1503] Orientation "left" ForegroundColor "red" BackgroundColor "orange" NamePlacement "alternate" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpegpe8" Location [740, 203, 1080, 377] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 38, 70, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 78, 70, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpegpe*(u-egpegpe)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpegpe9" Ports [3, 1] Position [525, 1632, 610, 1668] Orientation "left" ForegroundColor "red" BackgroundColor "orange" NamePlacement "alternate" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpegpe9" Location [740, 203, 1080, 377] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 38, 70, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 78, 70, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpegpe*(u-egpegpe)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpestn" Ports [3, 1] Position [860, 147, 910, 203] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpestn" Location [2, 82, 1142, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 38, 70, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 78, 70, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpestn*(u-egpestn)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpestn1" Ports [3, 1] Position [845, 310, 900, 370] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpestn1" Location [453, 289, 793, 463] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 28, 70, 42] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 58, 70, 72] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpestn*(u-egpestn)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpestn10" Ports [3, 1] Position [850, 1799, 905, 1861] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpestn10" Location [453, 289, 793, 463] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 28, 70, 42] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 58, 70, 72] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpestn*(u-egpestn)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpestn11" Ports [3, 1] Position [865, 1967, 920, 2033] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpestn11" Location [453, 289, 793, 463] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 28, 70, 42] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 58, 70, 72] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpestn*(u-egpestn)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpestn12" Ports [3, 1] Position [860, 2140, 915, 2200] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpestn12" Location [453, 289, 793, 463] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 28, 70, 42] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 58, 70, 72] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpestn*(u-egpestn)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpestn13" Ports [3, 1] Position [865, 2289, 925, 2351] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpestn13" Location [453, 289, 793, 463] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 28, 70, 42] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 58, 70, 72] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpestn*(u-egpestn)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpestn14" Ports [3, 1] Position [855, 2461, 925, 2519] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpestn14" Location [453, 289, 793, 463] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 28, 70, 42] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 58, 70, 72] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpestn*(u-egpestn)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpestn15" Ports [3, 1] Position [855, 2612, 915, 2668] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpestn15" Location [453, 289, 793, 463] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 28, 70, 42] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 58, 70, 72] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpestn*(u-egpestn)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpestn2" Ports [3, 1] Position [835, 464, 890, 526] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpestn2" Location [453, 289, 793, 463] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 28, 70, 42] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 58, 70, 72] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpestn*(u-egpestn)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpestn3" Ports [3, 1] Position [850, 632, 905, 698] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpestn3" Location [453, 289, 793, 463] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 28, 70, 42] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 58, 70, 72] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpestn*(u-egpestn)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpestn4" Ports [3, 1] Position [845, 805, 900, 865] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpestn4" Location [453, 289, 793, 463] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 28, 70, 42] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 58, 70, 72] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpestn*(u-egpestn)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpestn5" Ports [3, 1] Position [850, 954, 910, 1016] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpestn5" Location [453, 289, 793, 463] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 28, 70, 42] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 58, 70, 72] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpestn*(u-egpestn)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpestn6" Ports [3, 1] Position [840, 1126, 910, 1184] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpestn6" Location [453, 289, 793, 463] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 28, 70, 42] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 58, 70, 72] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpestn*(u-egpestn)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpestn7" Ports [3, 1] Position [840, 1277, 900, 1333] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpestn7" Location [453, 289, 793, 463] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 28, 70, 42] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 58, 70, 72] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpestn*(u-egpestn)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpestn8" Ports [3, 1] Position [875, 1482, 925, 1538] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpestn8" Location [2, 74, 1142, 838] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 38, 70, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 78, 70, 92] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpestn*(u-egpestn)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType SubSystem Name "igpestn9" Ports [3, 1] Position [860, 1645, 915, 1705] ForegroundColor "red" BackgroundColor "orange" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "igpestn9" Location [453, 289, 793, 463] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [40, 28, 70, 42] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [40, 58, 70, 72] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 123, 55, 137] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 115, 140, 145] Expr "ggpestn*(u-egpestn)" } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [95, 23, 110, 107] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0; 0, 35] DstBlock "Product" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Fcn" DstPort 1 } } } Block { BlockType FromWorkspace Name "imore" Position [152, 80, 218, 100] Orientation "down" BackgroundColor "yellow" NamePlacement "alternate" VariableName "input2" SampleTime "1" } Block { BlockType FromWorkspace Name "imore_stn" Position [970, 53, 1035, 77] Orientation "left" BackgroundColor "yellow" VariableName "input4" SampleTime "1" } Block { BlockType SubSystem Name "istngpe1" Ports [4, 1] Position [1055, 255, 1135, 310] Orientation "left" ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "istngpe1" Location [2, 82, 1270, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 63, 55, 77] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 113, 55, 127] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 143, 55, 157] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [20, 178, 50, 192] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [85, 25, 145, 55] Expr "gstngpe*(u-estngpe)" } Block { BlockType Gain Name "Gain" Position [70, 135, 100, 165] Gain "syn_stngpe_gain" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [125, 111, 145, 179] ShowName off Inputs "+++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [10, 0] DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 60] DstBlock "Product" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, 5] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Product" DstPort 2 } Line { SrcBlock "In4" SrcPort 1 Points [50, 0; 0, -20] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Gain" SrcPort 1 Points [0, -5] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Gain" DstPort 1 } } } Block { BlockType SubSystem Name "istngpe10" Ports [4, 1] Position [1070, 1590, 1150, 1645] Orientation "left" ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "istngpe10" Location [2, 82, 1270, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 63, 55, 77] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 113, 55, 127] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 143, 55, 157] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [20, 178, 50, 192] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [85, 25, 145, 55] Expr "gstngpe*(u-estngpe)" } Block { BlockType Gain Name "Gain" Position [70, 135, 100, 165] Gain "syn_stngpe_gain" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [125, 111, 145, 179] ShowName off Inputs "+++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [10, 0] DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 60] DstBlock "Product" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, 5] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Product" DstPort 2 } Line { SrcBlock "In4" SrcPort 1 Points [50, 0; 0, -20] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Gain" SrcPort 1 Points [0, -5] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Gain" DstPort 1 } } } Block { BlockType SubSystem Name "istngpe11" Ports [4, 1] Position [1050, 1750, 1130, 1805] Orientation "left" ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "istngpe11" Location [2, 82, 1270, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 63, 55, 77] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 113, 55, 127] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 143, 55, 157] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [20, 178, 50, 192] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [85, 25, 145, 55] Expr "gstngpe*(u-estngpe)" } Block { BlockType Gain Name "Gain" Position [70, 135, 100, 165] Gain "syn_stngpe_gain" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [125, 111, 145, 179] ShowName off Inputs "+++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [10, 0] DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 60] DstBlock "Product" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, 5] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Product" DstPort 2 } Line { SrcBlock "In4" SrcPort 1 Points [50, 0; 0, -20] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Gain" SrcPort 1 Points [0, -5] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Gain" DstPort 1 } } } Block { BlockType SubSystem Name "istngpe12" Ports [4, 1] Position [1065, 1920, 1145, 1975] Orientation "left" ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "istngpe12" Location [2, 82, 1270, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 63, 55, 77] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 113, 55, 127] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 143, 55, 157] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [20, 178, 50, 192] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [85, 25, 145, 55] Expr "gstngpe*(u-estngpe)" } Block { BlockType Gain Name "Gain" Position [70, 135, 100, 165] Gain "syn_stngpe_gain" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [125, 111, 145, 179] ShowName off Inputs "+++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [10, 0] DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 60] DstBlock "Product" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, 5] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Product" DstPort 2 } Line { SrcBlock "In4" SrcPort 1 Points [50, 0; 0, -20] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Gain" SrcPort 1 Points [0, -5] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Gain" DstPort 1 } } } Block { BlockType SubSystem Name "istngpe13" Ports [4, 1] Position [1070, 2095, 1150, 2150] Orientation "left" ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "istngpe13" Location [2, 82, 1270, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 63, 55, 77] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 113, 55, 127] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 143, 55, 157] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [20, 178, 50, 192] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [85, 25, 145, 55] Expr "gstngpe*(u-estngpe)" } Block { BlockType Gain Name "Gain" Position [70, 135, 100, 165] Gain "syn_stngpe_gain" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [125, 111, 145, 179] ShowName off Inputs "+++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [10, 0] DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 60] DstBlock "Product" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, 5] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Product" DstPort 2 } Line { SrcBlock "In4" SrcPort 1 Points [50, 0; 0, -20] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Gain" SrcPort 1 Points [0, -5] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Gain" DstPort 1 } } } Block { BlockType SubSystem Name "istngpe14" Ports [4, 1] Position [1075, 2245, 1155, 2300] Orientation "left" ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "istngpe14" Location [2, 82, 1270, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 63, 55, 77] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 113, 55, 127] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 143, 55, 157] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [20, 178, 50, 192] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [85, 25, 145, 55] Expr "gstngpe*(u-estngpe)" } Block { BlockType Gain Name "Gain" Position [70, 135, 100, 165] Gain "syn_stngpe_gain" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [125, 111, 145, 179] ShowName off Inputs "+++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [10, 0] DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 60] DstBlock "Product" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, 5] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Product" DstPort 2 } Line { SrcBlock "In4" SrcPort 1 Points [50, 0; 0, -20] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Gain" SrcPort 1 Points [0, -5] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Gain" DstPort 1 } } } Block { BlockType SubSystem Name "istngpe15" Ports [4, 1] Position [1065, 2400, 1145, 2455] Orientation "left" ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "istngpe15" Location [2, 82, 1270, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 63, 55, 77] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 113, 55, 127] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 143, 55, 157] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [20, 178, 50, 192] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [85, 25, 145, 55] Expr "gstngpe*(u-estngpe)" } Block { BlockType Gain Name "Gain" Position [70, 135, 100, 165] Gain "syn_stngpe_gain" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [125, 111, 145, 179] ShowName off Inputs "+++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [10, 0] DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 60] DstBlock "Product" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, 5] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Product" DstPort 2 } Line { SrcBlock "In4" SrcPort 1 Points [50, 0; 0, -20] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Gain" SrcPort 1 Points [0, -5] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Gain" DstPort 1 } } } Block { BlockType SubSystem Name "istngpe16" Ports [4, 1] Position [1075, 2570, 1155, 2625] Orientation "left" ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "istngpe16" Location [2, 82, 1270, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 63, 55, 77] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 113, 55, 127] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 143, 55, 157] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [20, 178, 50, 192] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [85, 25, 145, 55] Expr "gstngpe*(u-estngpe)" } Block { BlockType Gain Name "Gain" Position [70, 135, 100, 165] Gain "syn_stngpe_gain" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [125, 111, 145, 179] ShowName off Inputs "+++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [10, 0] DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 60] DstBlock "Product" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, 5] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Product" DstPort 2 } Line { SrcBlock "In4" SrcPort 1 Points [50, 0; 0, -20] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Gain" SrcPort 1 Points [0, -5] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Gain" DstPort 1 } } } Block { BlockType SubSystem Name "istngpe2" Ports [4, 1] Position [1045, 420, 1125, 475] Orientation "left" ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "istngpe2" Location [2, 82, 1270, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 63, 55, 77] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 113, 55, 127] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 143, 55, 157] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [20, 178, 50, 192] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [85, 25, 145, 55] Expr "gstngpe*(u-estngpe)" } Block { BlockType Gain Name "Gain" Position [70, 135, 100, 165] Gain "syn_stngpe_gain" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [125, 111, 145, 179] ShowName off Inputs "+++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [10, 0] DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 60] DstBlock "Product" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, 5] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Product" DstPort 2 } Line { SrcBlock "In4" SrcPort 1 Points [50, 0; 0, -20] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Gain" SrcPort 1 Points [0, -5] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Gain" DstPort 1 } } } Block { BlockType SubSystem Name "istngpe3" Ports [4, 1] Position [1050, 585, 1130, 640] Orientation "left" ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "istngpe3" Location [2, 82, 1270, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 63, 55, 77] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 113, 55, 127] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 143, 55, 157] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [20, 178, 50, 192] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [85, 25, 145, 55] Expr "gstngpe*(u-estngpe)" } Block { BlockType Gain Name "Gain" Position [70, 135, 100, 165] Gain "syn_stngpe_gain" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [125, 111, 145, 179] ShowName off Inputs "+++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [10, 0] DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 60] DstBlock "Product" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, 5] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Product" DstPort 2 } Line { SrcBlock "In4" SrcPort 1 Points [50, 0; 0, -20] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Gain" SrcPort 1 Points [0, -5] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Gain" DstPort 1 } } } Block { BlockType SubSystem Name "istngpe4" Ports [4, 1] Position [1050, 760, 1130, 815] Orientation "left" ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "istngpe4" Location [2, 82, 1270, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 63, 55, 77] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 113, 55, 127] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 143, 55, 157] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [20, 178, 50, 192] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [85, 25, 145, 55] Expr "gstngpe*(u-estngpe)" } Block { BlockType Gain Name "Gain" Position [70, 135, 100, 165] Gain "syn_stngpe_gain" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [125, 111, 145, 179] ShowName off Inputs "+++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [10, 0] DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 60] DstBlock "Product" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, 5] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Product" DstPort 2 } Line { SrcBlock "In4" SrcPort 1 Points [50, 0; 0, -20] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Gain" SrcPort 1 Points [0, -5] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Gain" DstPort 1 } } } Block { BlockType SubSystem Name "istngpe5" Ports [4, 1] Position [1060, 910, 1140, 965] Orientation "left" ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "istngpe5" Location [2, 82, 1270, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 63, 55, 77] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 113, 55, 127] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 143, 55, 157] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [20, 178, 50, 192] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [85, 25, 145, 55] Expr "gstngpe*(u-estngpe)" } Block { BlockType Gain Name "Gain" Position [70, 135, 100, 165] Gain "syn_stngpe_gain" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [125, 111, 145, 179] ShowName off Inputs "+++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [10, 0] DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 60] DstBlock "Product" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, 5] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Product" DstPort 2 } Line { SrcBlock "In4" SrcPort 1 Points [50, 0; 0, -20] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Gain" SrcPort 1 Points [0, -5] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Gain" DstPort 1 } } } Block { BlockType SubSystem Name "istngpe6" Ports [4, 1] Position [1055, 1065, 1135, 1120] Orientation "left" ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "istngpe6" Location [2, 82, 1270, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 63, 55, 77] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 113, 55, 127] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 143, 55, 157] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [20, 178, 50, 192] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [85, 25, 145, 55] Expr "gstngpe*(u-estngpe)" } Block { BlockType Gain Name "Gain" Position [70, 135, 100, 165] Gain "syn_stngpe_gain" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [125, 111, 145, 179] ShowName off Inputs "+++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [10, 0] DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 60] DstBlock "Product" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, 5] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Product" DstPort 2 } Line { SrcBlock "In4" SrcPort 1 Points [50, 0; 0, -20] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Gain" SrcPort 1 Points [0, -5] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Gain" DstPort 1 } } } Block { BlockType SubSystem Name "istngpe7" Ports [4, 1] Position [1055, 1230, 1135, 1285] Orientation "left" ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "istngpe7" Location [2, 82, 1270, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 63, 55, 77] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 113, 55, 127] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 143, 55, 157] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [20, 178, 50, 192] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [85, 25, 145, 55] Expr "gstngpe*(u-estngpe)" } Block { BlockType Gain Name "Gain" Position [70, 135, 100, 165] Gain "syn_stngpe_gain" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [125, 111, 145, 179] ShowName off Inputs "+++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [10, 0] DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 60] DstBlock "Product" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, 5] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Product" DstPort 2 } Line { SrcBlock "In4" SrcPort 1 Points [50, 0; 0, -20] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Gain" SrcPort 1 Points [0, -5] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Gain" DstPort 1 } } } Block { BlockType SubSystem Name "istngpe8" Ports [4, 1] Position [1040, 105, 1120, 160] Orientation "left" ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "istngpe8" Location [2, 82, 1270, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 63, 55, 77] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 113, 55, 127] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 143, 55, 157] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [20, 178, 50, 192] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [85, 25, 145, 55] Expr "gstngpe*(u-estngpe)" } Block { BlockType Gain Name "Gain" Position [70, 135, 100, 165] Gain "syn_stngpe_gain" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [125, 111, 145, 179] ShowName off Inputs "+++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [10, 0] DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 60] DstBlock "Product" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, 5] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Product" DstPort 2 } Line { SrcBlock "In4" SrcPort 1 Points [50, 0; 0, -20] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Gain" SrcPort 1 Points [0, -5] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Gain" DstPort 1 } } } Block { BlockType SubSystem Name "istngpe9" Ports [4, 1] Position [1060, 1440, 1140, 1495] Orientation "left" ForegroundColor "blue" BackgroundColor "lightBlue" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "istngpe9" Location [2, 82, 1270, 794] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [25, 63, 55, 77] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [25, 113, 55, 127] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In3" Position [25, 143, 55, 157] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In4" Position [20, 178, 50, 192] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [85, 25, 145, 55] Expr "gstngpe*(u-estngpe)" } Block { BlockType Gain Name "Gain" Position [70, 135, 100, 165] Gain "syn_stngpe_gain" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product" Ports [2, 1] Position [215, 91, 260, 124] RndMeth "Floor" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [125, 111, 145, 179] ShowName off Inputs "+++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "Out1" Position [285, 103, 315, 117] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [10, 0] DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 Points [25, 0; 0, 60] DstBlock "Product" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [10, 0; 0, 5] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0; 0, -30] DstBlock "Product" DstPort 2 } Line { SrcBlock "In4" SrcPort 1 Points [50, 0; 0, -20] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Gain" SrcPort 1 Points [0, -5] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Gain" DstPort 1 } } } Block { BlockType FromWorkspace Name "istriato" Position [75, 127, 150, 143] BackgroundColor "yellow" VariableName "input1" SampleTime "1" } Line { SrcBlock "Clock" SrcPort 1 DstBlock "To Workspace1" DstPort 1 } Line { SrcBlock "istriato" SrcPort 1 Points [10, 0; 0, 115] Branch { Points [0, 145] Branch { Points [0, 175] Branch { Points [0, 160] Branch { Points [0, 165] Branch { Points [0, 165] Branch { Points [0, 170] Branch { Points [0, 140] Branch { Points [0, 215] Branch { Points [0, 165] Branch { Points [0, 165] Branch { Points [0, 175] Branch { Points [0, 140] Branch { Points [0, 170] Branch { Points [0, 170] Branch { DstBlock "GPE_cell14" DstPort 4 } Branch { Points [0, 120] DstBlock "GPE_cell15" DstPort 4 } } Branch { DstBlock "GPE_cell13" DstPort 4 } } Branch { Points [0, 15] DstBlock "GPE_cell12" DstPort 4 } } Branch { DstBlock "GPE_cell11" DstPort 4 } } Branch { DstBlock "GPE_cell10" DstPort 4 } } Branch { DstBlock "GPE_cell9" DstPort 4 } } Branch { DstBlock "GPE_cell8" DstPort 4 } } Branch { DstBlock "GPE_cell7" DstPort 4 } } Branch { DstBlock "GPE_cell6" DstPort 4 } } Branch { DstBlock "GPE_cell5" DstPort 4 } } Branch { Points [280, 0] DstBlock "GPE_cell4" DstPort 4 } } Branch { Points [0, 15] DstBlock "GPE_cell3" DstPort 4 } } Branch { DstBlock "GPE_cell2" DstPort 4 } } Branch { Points [275, 0] DstBlock "GPE_cell1" DstPort 4 } } Branch { DstBlock "GPE_cell" DstPort 4 } } Line { SrcBlock "imore" SrcPort 1 Points [0, 130] Branch { DstBlock "GPE_cell" DstPort 3 } Branch { Points [0, 145] Branch { Points [0, 175] Branch { Points [0, 160] Branch { Points [0, 160] Branch { Points [0, 170] Branch { Points [0, 170] Branch { Points [0, 140] Branch { Points [0, 215] Branch { Points [0, 165] Branch { Points [0, 165] Branch { Points [0, 175] Branch { Points [0, 155] Branch { Points [0, 155] Branch { Points [0, 170] Branch { DstBlock "GPE_cell14" DstPort 3 } Branch { Points [0, 120] DstBlock "GPE_cell15" DstPort 3 } } Branch { DstBlock "GPE_cell13" DstPort 3 } } Branch { DstBlock "GPE_cell12" DstPort 3 } } Branch { DstBlock "GPE_cell11" DstPort 3 } } Branch { DstBlock "GPE_cell10" DstPort 3 } } Branch { DstBlock "GPE_cell9" DstPort 3 } } Branch { DstBlock "GPE_cell8" DstPort 3 } } Branch { DstBlock "GPE_cell7" DstPort 3 } } Branch { DstBlock "GPE_cell6" DstPort 3 } } Branch { DstBlock "GPE_cell5" DstPort 3 } } Branch { Points [240, 0; 0, 10] DstBlock "GPE_cell4" DstPort 3 } } Branch { Points [255, 0] DstBlock "GPE_cell3" DstPort 3 } } Branch { DstBlock "GPE_cell2" DstPort 3 } } Branch { Points [255, 0] DstBlock "GPE_cell1" DstPort 3 } } } Line { SrcBlock "GPE_cell7" SrcPort 1 Points [5, 0; 0, -20] DstBlock "Goto2" DstPort 1 } Line { SrcBlock "igpegpe" SrcPort 1 Points [-65, 0] Branch { Points [0, -70] DstBlock "To Workspace" DstPort 1 } Branch { Points [0, 55] DstBlock "GPE_cell" DstPort 1 } } Line { SrcBlock "GPE_cell" SrcPort 1 Points [5, 0] Branch { DstBlock "Goto1" DstPort 1 } Branch { Points [0, -25] DstBlock "To Workspace6" DstPort 1 } } Line { SrcBlock "igpegpe2" SrcPort 1 Points [-65, 0; 0, 45] DstBlock "GPE_cell2" DstPort 1 } Line { SrcBlock "igpegpe3" SrcPort 1 Points [-70, 0] DstBlock "GPE_cell3" DstPort 1 } Line { SrcBlock "igpegpe4" SrcPort 1 Points [-60, 0] DstBlock "GPE_cell4" DstPort 1 } Line { SrcBlock "igpegpe5" SrcPort 1 Points [-70, 0; 0, 50] DstBlock "GPE_cell5" DstPort 1 } Line { SrcBlock "igpegpe6" SrcPort 1 Points [-75, 0; 0, 60] DstBlock "GPE_cell6" DstPort 1 } Line { SrcBlock "igpegpe7" SrcPort 1 Points [-75, 0; 0, 40] DstBlock "GPE_cell7" DstPort 1 } Line { SrcBlock "imore_stn" SrcPort 1 Points [-5, 0; 0, 140] Branch { Points [0, 155] Branch { Points [0, 155] Branch { Points [0, 180] Branch { Points [0, 160] Branch { Points [0, 150] Branch { Points [0, 170] Branch { Points [0, 150] Branch { Points [0, 215] Branch { Points [0, 155] Branch { Points [0, 155] Branch { Points [0, 180] Branch { Points [0, 160] Branch { Points [0, 150] Branch { Points [0, 170] Branch { Points [35, 0] DstBlock "STN_cell16" DstPort 2 } Branch { Points [0, 155] DstBlock "STN_cell17" DstPort 2 } } Branch { Points [40, 0] DstBlock "STN_cell15" DstPort 2 } } Branch { Points [35, 0] DstBlock "STN_cell14" DstPort 2 } } Branch { Points [35, 0] DstBlock "STN_cell13" DstPort 2 } } Branch { Points [30, 0] DstBlock "STN_cell12" DstPort 2 } } Branch { Points [30, 0] DstBlock "STN_cell11" DstPort 2 } } Branch { Points [35, 0] DstBlock "STN_cell10" DstPort 2 } } Branch { Points [20, 0] DstBlock "STN_cell9" DstPort 2 } } Branch { DstBlock "STN_cell8" DstPort 2 } } Branch { DstBlock "STN_cell7" DstPort 2 } } Branch { Points [30, 0] DstBlock "STN_cell6" DstPort 2 } } Branch { DstBlock "STN_cell5" DstPort 2 } } Branch { DstBlock "STN_cell3" DstPort 2 } } Branch { DstBlock "STN_cell2" DstPort 2 } } Branch { Points [20, 0] DstBlock "STN_cell1" DstPort 2 } } Line { SrcBlock "IDBS" SrcPort 1 Points [-15, 0; 0, 200] Branch { Points [0, 155] Branch { Points [0, 155] Branch { Points [0, 180] Branch { Points [0, 160] Branch { Points [0, 150] Branch { Points [0, 170] Branch { Points [0, 150] Branch { Points [0, 215] Branch { Points [0, 155] Branch { Points [0, 155] Branch { Points [0, 180] Branch { Points [0, 160] Branch { Points [0, 150] Branch { Points [0, 170] Branch { Points [45, 0] DstBlock "STN_cell16" DstPort 3 } Branch { Points [0, 155] DstBlock "STN_cell17" DstPort 3 } } Branch { Points [50, 0] DstBlock "STN_cell15" DstPort 3 } } Branch { Points [45, 0] DstBlock "STN_cell14" DstPort 3 } } Branch { Points [45, 0] DstBlock "STN_cell13" DstPort 3 } } Branch { Points [40, 0] DstBlock "STN_cell12" DstPort 3 } } Branch { Points [40, 0] DstBlock "STN_cell11" DstPort 3 } } Branch { Points [45, 0] DstBlock "STN_cell10" DstPort 3 } } Branch { Points [30, 0] DstBlock "STN_cell9" DstPort 3 } } Branch { DstBlock "STN_cell8" DstPort 3 } } Branch { DstBlock "STN_cell7" DstPort 3 } } Branch { Points [40, 0] DstBlock "STN_cell6" DstPort 3 } } Branch { DstBlock "STN_cell5" DstPort 3 } } Branch { DstBlock "STN_cell3" DstPort 3 } } Branch { DstBlock "STN_cell2" DstPort 3 } } Branch { Points [30, 0] DstBlock "STN_cell1" DstPort 3 } } Line { SrcBlock "GPE_cell" SrcPort 2 Points [0, -10; 100, 0] Branch { DstBlock "Goto3" DstPort 1 } Branch { Points [0, -15; 10, 0] Branch { DstBlock "Scope16" DstPort 1 } Branch { Points [0, -30; -5, 0; 0, -40] DstBlock "igpegpe" DstPort 3 } } } Line { SrcBlock "GPE_cell1" SrcPort 2 Points [0, -15; 110, 0] Branch { Points [0, 30] DstBlock "Scope17" DstPort 1 } Branch { Points [10, 0] Branch { DstBlock "Goto4" DstPort 1 } Branch { Points [0, -25; -5, 0; 0, -40] DstBlock "igpegpe1" DstPort 3 } } } Line { SrcBlock "GPE_cell2" SrcPort 2 Points [15, 0; 0, -15; 90, 0] Branch { Points [0, 20] DstBlock "Scope18" DstPort 1 } Branch { Points [10, 0] Branch { DstBlock "Goto5" DstPort 1 } Branch { Points [0, -25; -5, 0; 0, -45] DstBlock "igpegpe2" DstPort 3 } } } Line { SrcBlock "GPE_cell3" SrcPort 2 Points [0, -25; 115, 0] Branch { Points [0, -10] DstBlock "Scope19" DstPort 1 } Branch { Points [5, 0] Branch { DstBlock "Goto6" DstPort 1 } Branch { Points [10, 0; 0, -15; -5, 0; 0, -25; -5, 0; 0, -30] DstBlock "igpegpe3" DstPort 3 } } } Line { SrcBlock "GPE_cell4" SrcPort 2 Points [5, 0; 0, -20; 100, 0] Branch { Points [0, 20] DstBlock "Scope20" DstPort 1 } Branch { Points [15, 0] Branch { DstBlock "Goto7" DstPort 1 } Branch { Points [0, -30; -10, 0; 0, -35] DstBlock "igpegpe4" DstPort 3 } } } Line { SrcBlock "GPE_cell5" SrcPort 2 Points [5, 0; 0, -25; 105, 0] Branch { Points [0, 25] DstBlock "Scope21" DstPort 1 } Branch { Points [5, 0] Branch { DstBlock "Goto8" DstPort 1 } Branch { Points [0, -65] DstBlock "igpegpe5" DstPort 3 } } } Line { SrcBlock "GPE_cell6" SrcPort 2 Points [0, -25; 115, 0] Branch { Points [0, 20] DstBlock "Scope22" DstPort 1 } Branch { Points [10, 0] Branch { DstBlock "Goto9" DstPort 1 } Branch { Points [0, -25; -10, 0] DstBlock "igpegpe6" DstPort 3 } } } Line { SrcBlock "GPE_cell7" SrcPort 2 Points [5, 0; 0, -30; 110, 0] Branch { DstBlock "Goto10" DstPort 1 } Branch { Points [0, 30] DstBlock "Scope23" DstPort 1 } Branch { DstBlock "igpegpe7" DstPort 3 } } Line { SrcBlock "istngpe3" SrcPort 1 Points [-615, 0; 0, 100] DstBlock "GPE_cell3" DstPort 2 } Line { SrcBlock "igpestn" SrcPort 1 Points [0, 10; 20, 0] Branch { Points [0, -155] DstBlock "To Workspace3" DstPort 1 } Branch { Points [45, 0] DstBlock "STN_cell1" DstPort 1 } } Line { SrcBlock "From12" SrcPort 1 Points [-10, 0] DstBlock "igpestn" DstPort 3 } Line { SrcBlock "From13" SrcPort 1 Points [-10, 0; 0, -65] DstBlock "igpestn1" DstPort 3 } Line { SrcBlock "igpestn1" SrcPort 1 DstBlock "STN_cell2" DstPort 1 } Line { SrcBlock "igpestn2" SrcPort 1 DstBlock "STN_cell3" DstPort 1 } Line { SrcBlock "From14" SrcPort 1 Points [-20, 0] DstBlock "igpestn2" DstPort 3 } Line { SrcBlock "igpestn3" SrcPort 1 Points [0, 10] DstBlock "STN_cell5" DstPort 1 } Line { SrcBlock "From15" SrcPort 1 Points [-15, 0] DstBlock "igpestn3" DstPort 3 } Line { SrcBlock "igpestn4" SrcPort 1 Points [85, 0] DstBlock "STN_cell6" DstPort 1 } Line { SrcBlock "From16" SrcPort 1 Points [-5, 0] DstBlock "igpestn4" DstPort 3 } Line { SrcBlock "igpestn5" SrcPort 1 DstBlock "STN_cell7" DstPort 1 } Line { SrcBlock "From17" SrcPort 1 Points [-10, 0] DstBlock "igpestn5" DstPort 3 } Line { SrcBlock "igpestn6" SrcPort 1 DstBlock "STN_cell8" DstPort 1 } Line { SrcBlock "From18" SrcPort 1 Points [-15, 0] DstBlock "igpestn6" DstPort 3 } Line { SrcBlock "igpestn7" SrcPort 1 Points [75, 0] DstBlock "STN_cell9" DstPort 1 } Line { SrcBlock "From19" SrcPort 1 Points [-10, 0] DstBlock "igpestn7" DstPort 3 } Line { SrcBlock "GPE_cell1" SrcPort 1 Points [0, -5] DstBlock "Goto11" DstPort 1 } Line { SrcBlock "GPE_cell2" SrcPort 1 Points [0, -5] DstBlock "Goto12" DstPort 1 } Line { SrcBlock "GPE_cell3" SrcPort 1 Points [0, -15] DstBlock "Goto21" DstPort 1 } Line { SrcBlock "GPE_cell4" SrcPort 1 Points [5, 0] DstBlock "Goto22" DstPort 1 } Line { SrcBlock "GPE_cell5" SrcPort 1 Points [5, 0] DstBlock "Goto23" DstPort 1 } Line { SrcBlock "GPE_cell6" SrcPort 1 Points [0, -15] DstBlock "Goto24" DstPort 1 } Line { SrcBlock "From1" SrcPort 1 Points [-15, 0; 0, 5] DstBlock "igpegpe" DstPort 1 } Line { SrcBlock "From2" SrcPort 1 Points [-15, 0; 0, -20] DstBlock "igpegpe" DstPort 2 } Line { SrcBlock "From4" SrcPort 1 Points [-35, 0] DstBlock "igpegpe1" DstPort 1 } Line { SrcBlock "From20" SrcPort 1 Points [-15, 0; 0, -15] DstBlock "igpegpe1" DstPort 2 } Line { SrcBlock "From29" SrcPort 1 Points [-15, 0; 0, -5] DstBlock "igpegpe2" DstPort 1 } Line { SrcBlock "From30" SrcPort 1 Points [-20, 0; 0, -30] DstBlock "igpegpe2" DstPort 2 } Line { SrcBlock "From31" SrcPort 1 DstBlock "igpegpe3" DstPort 1 } Line { SrcBlock "From32" SrcPort 1 Points [-10, 0; 0, -25] DstBlock "igpegpe3" DstPort 2 } Line { SrcBlock "From33" SrcPort 1 Points [-40, 0] DstBlock "igpegpe4" DstPort 1 } Line { SrcBlock "From34" SrcPort 1 Points [-20, 0; 0, -20] DstBlock "igpegpe4" DstPort 2 } Line { SrcBlock "From35" SrcPort 1 DstBlock "igpegpe5" DstPort 1 } Line { SrcBlock "From36" SrcPort 1 Points [-20, 0; 0, -25] DstBlock "igpegpe5" DstPort 2 } Line { SrcBlock "From37" SrcPort 1 DstBlock "igpegpe6" DstPort 1 } Line { SrcBlock "From38" SrcPort 1 Points [-10, 0; 0, -25] DstBlock "igpegpe6" DstPort 2 } Line { SrcBlock "From39" SrcPort 1 DstBlock "igpegpe7" DstPort 1 } Line { SrcBlock "From40" SrcPort 1 Points [-15, 0; 0, -25] DstBlock "igpegpe7" DstPort 2 } Line { SrcBlock "From41" SrcPort 1 DstBlock "igpestn" DstPort 1 } Line { SrcBlock "From42" SrcPort 1 Points [55, 0] DstBlock "igpestn" DstPort 2 } Line { SrcBlock "From43" SrcPort 1 Points [25, 0; 0, 15] DstBlock "igpestn1" DstPort 1 } Line { SrcBlock "From44" SrcPort 1 Points [20, 0; 0, 5] DstBlock "igpestn1" DstPort 2 } Line { SrcBlock "From45" SrcPort 1 Points [10, 0; 0, 5] DstBlock "igpestn2" DstPort 1 } Line { SrcBlock "From46" SrcPort 1 Points [15, 0; 0, -10] DstBlock "igpestn2" DstPort 2 } Line { SrcBlock "From47" SrcPort 1 Points [10, 0; 0, 5] DstBlock "igpestn3" DstPort 1 } Line { SrcBlock "From48" SrcPort 1 Points [10, 0; 0, -5] DstBlock "igpestn3" DstPort 2 } Line { SrcBlock "From49" SrcPort 1 Points [10, 0; 0, 10] DstBlock "igpestn4" DstPort 1 } Line { SrcBlock "From50" SrcPort 1 DstBlock "igpestn4" DstPort 2 } Line { SrcBlock "From51" SrcPort 1 Points [10, 0; 0, 5] DstBlock "igpestn5" DstPort 1 } Line { SrcBlock "From52" SrcPort 1 Points [10, 0; 0, -5] DstBlock "igpestn5" DstPort 2 } Line { SrcBlock "From53" SrcPort 1 Points [5, 0; 0, 5] DstBlock "igpestn6" DstPort 1 } Line { SrcBlock "From54" SrcPort 1 Points [5, 0; 0, -5] DstBlock "igpestn6" DstPort 2 } Line { SrcBlock "From55" SrcPort 1 DstBlock "igpestn7" DstPort 1 } Line { SrcBlock "From56" SrcPort 1 Points [5, 0; 0, -10] DstBlock "igpestn7" DstPort 2 } Line { SrcBlock "From57" SrcPort 1 Points [70, 0] DstBlock "Mux" DstPort 1 } Line { SrcBlock "From58" SrcPort 1 Points [35, 0; 0, -10] DstBlock "Mux" DstPort 2 } Line { SrcBlock "From59" SrcPort 1 Points [70, 0] DstBlock "Mux" DstPort 3 } Line { SrcBlock "From60" SrcPort 1 Points [70, 0] DstBlock "Mux" DstPort 4 } Line { SrcBlock "From61" SrcPort 1 Points [65, 0] DstBlock "Mux" DstPort 5 } Line { SrcBlock "From62" SrcPort 1 DstBlock "Mux" DstPort 6 } Line { SrcBlock "From63" SrcPort 1 DstBlock "Mux" DstPort 7 } Line { SrcBlock "From64" SrcPort 1 Points [30, 0; 0, 5] DstBlock "Mux" DstPort 8 } Line { SrcBlock "From65" SrcPort 1 Points [45, 0] DstBlock "Mux1" DstPort 1 } Line { SrcBlock "From66" SrcPort 1 Points [45, 0] DstBlock "Mux1" DstPort 2 } Line { SrcBlock "From67" SrcPort 1 Points [45, 0] DstBlock "Mux1" DstPort 3 } Line { SrcBlock "From68" SrcPort 1 Points [45, 0] DstBlock "Mux1" DstPort 4 } Line { SrcBlock "From69" SrcPort 1 Points [45, 0] DstBlock "Mux1" DstPort 5 } Line { SrcBlock "From70" SrcPort 1 Points [45, 0] DstBlock "Mux1" DstPort 6 } Line { SrcBlock "From71" SrcPort 1 DstBlock "Mux1" DstPort 7 } Line { SrcBlock "From72" SrcPort 1 Points [45, 0] DstBlock "Mux1" DstPort 8 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "To Workspace4" DstPort 1 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "To Workspace5" DstPort 1 } Line { SrcBlock "STN_cell1" SrcPort 2 Points [0, -20] DstBlock "Goto13" DstPort 1 } Line { SrcBlock "STN_cell2" SrcPort 2 Points [0, -15] DstBlock "Goto14" DstPort 1 } Line { SrcBlock "STN_cell8" SrcPort 2 Points [0, -15] DstBlock "Goto19" DstPort 1 } Line { SrcBlock "STN_cell7" SrcPort 2 Points [0, -15] DstBlock "Goto18" DstPort 1 } Line { SrcBlock "STN_cell5" SrcPort 2 Points [0, -15] DstBlock "Goto16" DstPort 1 } Line { SrcBlock "STN_cell3" SrcPort 2 Points [0, -15] DstBlock "Goto15" DstPort 1 } Line { SrcBlock "From24" SrcPort 1 Points [-10, 0] DstBlock "istngpe8" DstPort 1 } Line { SrcBlock "From28" SrcPort 1 Points [0, 20] DstBlock "istngpe1" DstPort 1 } Line { SrcBlock "STN_cell1" SrcPort 1 Points [0, -10; 5, 0] Branch { DstBlock "Goto25" DstPort 1 } Branch { Points [0, -155] DstBlock "To Workspace7" DstPort 1 } } Line { SrcBlock "STN_cell9" SrcPort 1 Points [0, -10] DstBlock "Goto32" DstPort 1 } Line { SrcBlock "STN_cell8" SrcPort 1 DstBlock "Goto31" DstPort 1 } Line { SrcBlock "STN_cell7" SrcPort 1 DstBlock "Goto30" DstPort 1 } Line { SrcBlock "STN_cell6" SrcPort 1 DstBlock "Goto29" DstPort 1 } Line { SrcBlock "STN_cell5" SrcPort 1 Points [10, 0; 0, -15] DstBlock "Goto28" DstPort 1 } Line { SrcBlock "STN_cell2" SrcPort 1 Points [0, -5] DstBlock "Goto26" DstPort 1 } Line { SrcBlock "STN_cell3" SrcPort 1 Points [0, -5] DstBlock "Goto27" DstPort 1 } Line { SrcBlock "From96" SrcPort 1 DstBlock "istngpe4" DstPort 1 } Line { SrcBlock "From21" SrcPort 1 Points [0, 35] DstBlock "istngpe5" DstPort 1 } Line { SrcBlock "From22" SrcPort 1 Points [0, 35] DstBlock "istngpe6" DstPort 1 } Line { SrcBlock "From23" SrcPort 1 DstBlock "istngpe7" DstPort 1 } Line { SrcBlock "From25" SrcPort 1 Points [-5, 0; 0, 10] DstBlock "istngpe8" DstPort 2 } Line { SrcBlock "From26" SrcPort 1 Points [-5, 0; 0, -5] DstBlock "istngpe8" DstPort 3 } Line { SrcBlock "From27" SrcPort 1 Points [-5, 0; 0, -20] DstBlock "istngpe8" DstPort 4 } Line { SrcBlock "From73" SrcPort 1 DstBlock "istngpe1" DstPort 2 } Line { SrcBlock "From75" SrcPort 1 Points [-5, 0; 0, -30] DstBlock "istngpe1" DstPort 4 } Line { SrcBlock "From82" SrcPort 1 Points [0, 20] DstBlock "istngpe4" DstPort 2 } Line { SrcBlock "From84" SrcPort 1 Points [-15, 0; 0, 5] DstBlock "istngpe4" DstPort 3 } Line { SrcBlock "From85" SrcPort 1 Points [-5, 0; 0, -10] DstBlock "istngpe4" DstPort 4 } Line { SrcBlock "From89" SrcPort 1 Points [-5, 0] DstBlock "istngpe6" DstPort 2 } Line { SrcBlock "From90" SrcPort 1 DstBlock "istngpe6" DstPort 3 } Line { SrcBlock "From91" SrcPort 1 Points [-5, 0] DstBlock "istngpe6" DstPort 4 } Line { SrcBlock "From92" SrcPort 1 Points [0, 10] DstBlock "istngpe7" DstPort 2 } Line { SrcBlock "From93" SrcPort 1 Points [-10, 0] DstBlock "istngpe7" DstPort 3 } Line { SrcBlock "From95" SrcPort 1 Points [-5, 0; 0, -20] DstBlock "istngpe7" DstPort 4 } Line { SrcBlock "STN_cell6" SrcPort 2 Points [0, -10] DstBlock "Goto17" DstPort 1 } Line { SrcBlock "STN_cell9" SrcPort 2 Points [0, -20] DstBlock "Goto20" DstPort 1 } Line { SrcBlock "istngpe4" SrcPort 1 Points [-320, 0; 0, -20; -300, 0; 0, 100] DstBlock "GPE_cell4" DstPort 2 } Line { SrcBlock "istngpe5" SrcPort 1 Points [-465, 0; 0, -15; -160, 0; 0, 100; 20, 0] DstBlock "GPE_cell5" DstPort 2 } Line { SrcBlock "istngpe6" SrcPort 1 Points [-630, 0; 0, 105] DstBlock "GPE_cell6" DstPort 2 } Line { SrcBlock "istngpe7" SrcPort 1 Points [-625, 0; 0, 70; -5, 0; 0, 10] DstBlock "GPE_cell7" DstPort 2 } Line { SrcBlock "istngpe2" SrcPort 1 Points [-150, 0; 0, 5; -305, 0; 0, -15; -160, 0; 0, 100] DstBlock "GPE_cell2" DstPort 2 } Line { SrcBlock "istngpe8" SrcPort 1 Points [-320, 0; 0, -20; -220, 0; 0, 5; -75, 0] Branch { Points [0, -90] DstBlock "To Workspace2" DstPort 1 } Branch { Points [0, 100] DstBlock "GPE_cell" DstPort 2 } } Line { SrcBlock "From74" SrcPort 1 Points [-15, 0; 0, -15] DstBlock "istngpe1" DstPort 3 } Line { SrcBlock "From83" SrcPort 1 Points [0, 35] DstBlock "istngpe2" DstPort 1 } Line { SrcBlock "From76" SrcPort 1 Points [-5, 0] DstBlock "istngpe2" DstPort 2 } Line { SrcBlock "From77" SrcPort 1 Points [-5, 0] DstBlock "istngpe2" DstPort 3 } Line { SrcBlock "From78" SrcPort 1 Points [-5, 0] DstBlock "istngpe2" DstPort 4 } Line { SrcBlock "From94" SrcPort 1 Points [0, 35] DstBlock "istngpe3" DstPort 1 } Line { SrcBlock "From79" SrcPort 1 Points [0, 15] DstBlock "istngpe3" DstPort 2 } Line { SrcBlock "From80" SrcPort 1 DstBlock "istngpe3" DstPort 3 } Line { SrcBlock "From81" SrcPort 1 Points [-5, 0] DstBlock "istngpe3" DstPort 4 } Line { SrcBlock "From86" SrcPort 1 Points [-5, 0] DstBlock "istngpe5" DstPort 2 } Line { SrcBlock "From87" SrcPort 1 DstBlock "istngpe5" DstPort 3 } Line { SrcBlock "From88" SrcPort 1 Points [-5, 0] DstBlock "istngpe5" DstPort 4 } Line { SrcBlock "GPE_cell15" SrcPort 1 Points [0, -5] DstBlock "Goto52" DstPort 1 } Line { SrcBlock "igpegpe8" SrcPort 1 Points [-65, 0; 0, 55] DstBlock "GPE_cell8" DstPort 1 } Line { SrcBlock "GPE_cell8" SrcPort 1 Points [10, 0] Branch { DstBlock "Goto41" DstPort 1 } Branch { Points [0, -25] DstBlock "To Workspace9" DstPort 1 } } Line { SrcBlock "igpegpe10" SrcPort 1 Points [-70, 0] DstBlock "GPE_cell10" DstPort 1 } Line { SrcBlock "igpegpe9" SrcPort 1 Points [-65, 0] DstBlock "GPE_cell9" DstPort 1 } Line { SrcBlock "igpegpe11" SrcPort 1 Points [-70, 0] DstBlock "GPE_cell11" DstPort 1 } Line { SrcBlock "igpegpe12" SrcPort 1 Points [-55, 0; 0, 55] DstBlock "GPE_cell12" DstPort 1 } Line { SrcBlock "igpegpe13" SrcPort 1 Points [-70, 0; 0, 45; 5, 0] DstBlock "GPE_cell13" DstPort 1 } Line { SrcBlock "igpegpe14" SrcPort 1 Points [-80, 0; 0, 65] DstBlock "GPE_cell14" DstPort 1 } Line { SrcBlock "igpegpe15" SrcPort 1 Points [-75, 0; 0, 25] DstBlock "GPE_cell15" DstPort 1 } Line { SrcBlock "GPE_cell8" SrcPort 2 Points [0, -10; 105, 0] Branch { DstBlock "Goto63" DstPort 1 } Branch { Points [0, -15; 10, 0] Branch { DstBlock "Scope9" DstPort 1 } Branch { Points [0, -30; -5, 0; 0, -40] DstBlock "igpegpe8" DstPort 3 } } } Line { SrcBlock "GPE_cell9" SrcPort 2 Points [0, -30; 110, 0] Branch { Points [0, 30] DstBlock "Scope10" DstPort 1 } Branch { Points [10, 0] Branch { DstBlock "Goto67" DstPort 1 } Branch { Points [0, -25; -5, 0; 0, -40] DstBlock "igpegpe9" DstPort 3 } } } Line { SrcBlock "GPE_cell10" SrcPort 2 Points [5, 0; 0, -25; 110, 0] Branch { Points [0, 20] DstBlock "Scope11" DstPort 1 } Branch { Points [10, 0] Branch { DstBlock "Goto68" DstPort 1 } Branch { Points [0, -25; -5, 0; 0, -45] DstBlock "igpegpe10" DstPort 3 } } } Line { SrcBlock "GPE_cell11" SrcPort 2 Points [0, -35; 115, 0] Branch { Points [0, -10] DstBlock "Scope12" DstPort 1 } Branch { Points [5, 0] Branch { DstBlock "Goto69" DstPort 1 } Branch { Points [10, 0; 0, -15; -5, 0; 0, -25; -5, 0; 0, -30] DstBlock "igpegpe11" DstPort 3 } } } Line { SrcBlock "GPE_cell12" SrcPort 2 Points [5, 0; 0, -30; 100, 0] Branch { Points [0, 20] DstBlock "Scope13" DstPort 1 } Branch { Points [15, 0] Branch { DstBlock "Goto70" DstPort 1 } Branch { Points [0, -30; -10, 0; 0, -35] DstBlock "igpegpe12" DstPort 3 } } } Line { SrcBlock "GPE_cell13" SrcPort 2 Points [0, -30; 110, 0] Branch { Points [0, 25] DstBlock "Scope14" DstPort 1 } Branch { Points [5, 0] Branch { DstBlock "Goto71" DstPort 1 } Branch { Points [0, -65] DstBlock "igpegpe13" DstPort 3 } } } Line { SrcBlock "GPE_cell14" SrcPort 2 Points [0, -30; 115, 0] Branch { Points [0, 20] DstBlock "Scope15" DstPort 1 } Branch { Points [10, 0] Branch { DstBlock "Goto72" DstPort 1 } Branch { Points [0, -25; -10, 0] DstBlock "igpegpe14" DstPort 3 } } } Line { SrcBlock "GPE_cell15" SrcPort 2 Points [0, -15; 110, 0] Branch { DstBlock "Goto42" DstPort 1 } Branch { Points [0, 30] DstBlock "Scope24" DstPort 1 } Branch { DstBlock "igpegpe15" DstPort 3 } } Line { SrcBlock "istngpe12" SrcPort 1 Points [-615, 0; 0, 110] DstBlock "GPE_cell11" DstPort 2 } Line { SrcBlock "igpestn8" SrcPort 1 Points [0, 15] DstBlock "STN_cell10" DstPort 1 } Line { SrcBlock "From108" SrcPort 1 Points [-10, 0] DstBlock "igpestn8" DstPort 3 } Line { SrcBlock "From109" SrcPort 1 Points [-10, 0; 0, -65] DstBlock "igpestn9" DstPort 3 } Line { SrcBlock "igpestn9" SrcPort 1 Points [70, 0] DstBlock "STN_cell11" DstPort 1 } Line { SrcBlock "igpestn10" SrcPort 1 Points [80, 0] DstBlock "STN_cell12" DstPort 1 } Line { SrcBlock "From110" SrcPort 1 Points [-20, 0] DstBlock "igpestn10" DstPort 3 } Line { SrcBlock "igpestn11" SrcPort 1 Points [0, 15] DstBlock "STN_cell13" DstPort 1 } Line { SrcBlock "From111" SrcPort 1 Points [-15, 0] DstBlock "igpestn11" DstPort 3 } Line { SrcBlock "igpestn12" SrcPort 1 Points [75, 0] DstBlock "STN_cell14" DstPort 1 } Line { SrcBlock "From112" SrcPort 1 Points [-5, 0] DstBlock "igpestn12" DstPort 3 } Line { SrcBlock "igpestn13" SrcPort 1 Points [70, 0] DstBlock "STN_cell15" DstPort 1 } Line { SrcBlock "From113" SrcPort 1 Points [-10, 0] DstBlock "igpestn13" DstPort 3 } Line { SrcBlock "igpestn14" SrcPort 1 Points [65, 0] DstBlock "STN_cell16" DstPort 1 } Line { SrcBlock "From114" SrcPort 1 Points [-15, 0] DstBlock "igpestn14" DstPort 3 } Line { SrcBlock "igpestn15" SrcPort 1 Points [70, 0] DstBlock "STN_cell17" DstPort 1 } Line { SrcBlock "From115" SrcPort 1 Points [-10, 0] DstBlock "igpestn15" DstPort 3 } Line { SrcBlock "GPE_cell9" SrcPort 1 Points [0, -20] DstBlock "Goto43" DstPort 1 } Line { SrcBlock "GPE_cell10" SrcPort 1 Points [5, 0; 0, -15] DstBlock "Goto44" DstPort 1 } Line { SrcBlock "GPE_cell11" SrcPort 1 Points [0, -25] DstBlock "Goto54" DstPort 1 } Line { SrcBlock "GPE_cell12" SrcPort 1 Points [5, 0] DstBlock "Goto55" DstPort 1 } Line { SrcBlock "GPE_cell13" SrcPort 1 Points [0, -20] DstBlock "Goto56" DstPort 1 } Line { SrcBlock "GPE_cell14" SrcPort 1 Points [0, -20] DstBlock "Goto57" DstPort 1 } Line { SrcBlock "From105" SrcPort 1 Points [-15, 0; 0, 5] DstBlock "igpegpe8" DstPort 1 } Line { SrcBlock "From116" SrcPort 1 Points [-15, 0; 0, -30] DstBlock "igpegpe8" DstPort 2 } Line { SrcBlock "From137" SrcPort 1 Points [-35, 0] DstBlock "igpegpe9" DstPort 1 } Line { SrcBlock "From117" SrcPort 1 Points [-15, 0; 0, -25] DstBlock "igpegpe9" DstPort 2 } Line { SrcBlock "From125" SrcPort 1 Points [-15, 0; 0, -5] DstBlock "igpegpe10" DstPort 1 } Line { SrcBlock "From127" SrcPort 1 Points [-25, 0; 0, -30] DstBlock "igpegpe10" DstPort 2 } Line { SrcBlock "From128" SrcPort 1 DstBlock "igpegpe11" DstPort 1 } Line { SrcBlock "From129" SrcPort 1 Points [-10, 0; 0, -25] DstBlock "igpegpe11" DstPort 2 } Line { SrcBlock "From130" SrcPort 1 Points [-40, 0] DstBlock "igpegpe12" DstPort 1 } Line { SrcBlock "From131" SrcPort 1 Points [-20, 0; 0, -20] DstBlock "igpegpe12" DstPort 2 } Line { SrcBlock "From132" SrcPort 1 DstBlock "igpegpe13" DstPort 1 } Line { SrcBlock "From133" SrcPort 1 Points [-20, 0; 0, -25] DstBlock "igpegpe13" DstPort 2 } Line { SrcBlock "From134" SrcPort 1 DstBlock "igpegpe14" DstPort 1 } Line { SrcBlock "From135" SrcPort 1 Points [-15, 0; 0, -25] DstBlock "igpegpe14" DstPort 2 } Line { SrcBlock "From136" SrcPort 1 DstBlock "igpegpe15" DstPort 1 } Line { SrcBlock "From138" SrcPort 1 Points [-15, 0; 0, -25] DstBlock "igpegpe15" DstPort 2 } Line { SrcBlock "From139" SrcPort 1 DstBlock "igpestn8" DstPort 1 } Line { SrcBlock "From140" SrcPort 1 Points [55, 0] DstBlock "igpestn8" DstPort 2 } Line { SrcBlock "From141" SrcPort 1 Points [25, 0; 0, 15] DstBlock "igpestn9" DstPort 1 } Line { SrcBlock "From142" SrcPort 1 Points [20, 0; 0, 5] DstBlock "igpestn9" DstPort 2 } Line { SrcBlock "From143" SrcPort 1 Points [10, 0; 0, 5] DstBlock "igpestn10" DstPort 1 } Line { SrcBlock "From144" SrcPort 1 Points [15, 0; 0, -10] DstBlock "igpestn10" DstPort 2 } Line { SrcBlock "From145" SrcPort 1 Points [10, 0; 0, 5] DstBlock "igpestn11" DstPort 1 } Line { SrcBlock "From146" SrcPort 1 Points [10, 0; 0, -5] DstBlock "igpestn11" DstPort 2 } Line { SrcBlock "From147" SrcPort 1 Points [10, 0; 0, 10] DstBlock "igpestn12" DstPort 1 } Line { SrcBlock "From149" SrcPort 1 DstBlock "igpestn12" DstPort 2 } Line { SrcBlock "From150" SrcPort 1 Points [10, 0; 0, 5] DstBlock "igpestn13" DstPort 1 } Line { SrcBlock "From151" SrcPort 1 Points [10, 0; 0, -5] DstBlock "igpestn13" DstPort 2 } Line { SrcBlock "From152" SrcPort 1 Points [5, 0; 0, 5] DstBlock "igpestn14" DstPort 1 } Line { SrcBlock "From153" SrcPort 1 Points [5, 0; 0, -5] DstBlock "igpestn14" DstPort 2 } Line { SrcBlock "From154" SrcPort 1 DstBlock "igpestn15" DstPort 1 } Line { SrcBlock "From155" SrcPort 1 Points [5, 0; 0, -10] DstBlock "igpestn15" DstPort 2 } Line { SrcBlock "STN_cell10" SrcPort 2 Points [0, -20] DstBlock "Goto45" DstPort 1 } Line { SrcBlock "STN_cell11" SrcPort 2 Points [0, -20] DstBlock "Goto46" DstPort 1 } Line { SrcBlock "STN_cell16" SrcPort 2 Points [0, -20] DstBlock "Goto51" DstPort 1 } Line { SrcBlock "STN_cell15" SrcPort 2 Points [0, -20] DstBlock "Goto50" DstPort 1 } Line { SrcBlock "STN_cell13" SrcPort 2 Points [0, -20] DstBlock "Goto48" DstPort 1 } Line { SrcBlock "STN_cell12" SrcPort 2 Points [0, -10] DstBlock "Goto47" DstPort 1 } Line { SrcBlock "From124" SrcPort 1 Points [0, 20] DstBlock "istngpe10" DstPort 1 } Line { SrcBlock "STN_cell10" SrcPort 1 Points [0, -10] DstBlock "Goto58" DstPort 1 } Line { SrcBlock "STN_cell17" SrcPort 1 Points [0, -10] DstBlock "Goto66" DstPort 1 } Line { SrcBlock "STN_cell16" SrcPort 1 DstBlock "Goto65" DstPort 1 } Line { SrcBlock "STN_cell15" SrcPort 1 DstBlock "Goto64" DstPort 1 } Line { SrcBlock "STN_cell14" SrcPort 1 DstBlock "Goto62" DstPort 1 } Line { SrcBlock "STN_cell13" SrcPort 1 Points [0, -20] DstBlock "Goto61" DstPort 1 } Line { SrcBlock "STN_cell11" SrcPort 1 Points [0, -10] DstBlock "Goto59" DstPort 1 } Line { SrcBlock "STN_cell12" SrcPort 1 DstBlock "Goto60" DstPort 1 } Line { SrcBlock "From183" SrcPort 1 Points [0, 35] DstBlock "istngpe13" DstPort 1 } Line { SrcBlock "From118" SrcPort 1 Points [0, 35] DstBlock "istngpe14" DstPort 1 } Line { SrcBlock "From119" SrcPort 1 Points [0, 35] DstBlock "istngpe15" DstPort 1 } Line { SrcBlock "From120" SrcPort 1 Points [0, 30] DstBlock "istngpe16" DstPort 1 } Line { SrcBlock "From121" SrcPort 1 Points [-5, 0; 0, 10] DstBlock "istngpe9" DstPort 2 } Line { SrcBlock "From122" SrcPort 1 Points [-5, 0; 0, -5] DstBlock "istngpe9" DstPort 3 } Line { SrcBlock "From123" SrcPort 1 Points [-5, 0; 0, -20] DstBlock "istngpe9" DstPort 4 } Line { SrcBlock "From158" SrcPort 1 DstBlock "istngpe10" DstPort 2 } Line { SrcBlock "From160" SrcPort 1 Points [0, -30] DstBlock "istngpe10" DstPort 4 } Line { SrcBlock "From168" SrcPort 1 Points [0, 20] DstBlock "istngpe13" DstPort 2 } Line { SrcBlock "From170" SrcPort 1 Points [-15, 0; 0, 5] DstBlock "istngpe13" DstPort 3 } Line { SrcBlock "From171" SrcPort 1 Points [-5, 0] DstBlock "istngpe13" DstPort 4 } Line { SrcBlock "From175" SrcPort 1 Points [-5, 0; 0, 15] DstBlock "istngpe15" DstPort 2 } Line { SrcBlock "From177" SrcPort 1 DstBlock "istngpe15" DstPort 3 } Line { SrcBlock "From178" SrcPort 1 Points [-5, 0; 0, -15] DstBlock "istngpe15" DstPort 4 } Line { SrcBlock "From179" SrcPort 1 Points [0, 15] DstBlock "istngpe16" DstPort 2 } Line { SrcBlock "From180" SrcPort 1 DstBlock "istngpe16" DstPort 3 } Line { SrcBlock "From182" SrcPort 1 Points [-5, 0] DstBlock "istngpe16" DstPort 4 } Line { SrcBlock "STN_cell14" SrcPort 2 Points [0, -10] DstBlock "Goto49" DstPort 1 } Line { SrcBlock "STN_cell17" SrcPort 2 Points [0, -20] DstBlock "Goto53" DstPort 1 } Line { SrcBlock "istngpe13" SrcPort 1 Points [-325, 0; 0, -20; -280, 0] DstBlock "GPE_cell12" DstPort 2 } Line { SrcBlock "istngpe15" SrcPort 1 Points [-645, 0; 0, 110] DstBlock "GPE_cell14" DstPort 2 } Line { SrcBlock "istngpe16" SrcPort 1 Points [-325, 0; 0, -5; -305, 0; 0, 65] DstBlock "GPE_cell15" DstPort 2 } Line { SrcBlock "istngpe11" SrcPort 1 Points "[-140, 0; 0, 10; -305, 0; 0, -15; -190, 0; 0, 1" "00; 25, 0; 0, 10]" DstBlock "GPE_cell10" DstPort 2 } Line { SrcBlock "istngpe10" SrcPort 1 Points [-470, 0; 0, -5; -70, 0; 0, 10; -80, 0; 0, 95] DstBlock "GPE_cell9" DstPort 2 } Line { SrcBlock "istngpe9" SrcPort 1 Points [-325, 0; 0, -20; -220, 0; 0, 5; -75, 0; 0, 100] DstBlock "GPE_cell8" DstPort 2 } Line { SrcBlock "From159" SrcPort 1 Points [-5, 0] DstBlock "istngpe10" DstPort 3 } Line { SrcBlock "From169" SrcPort 1 Points [0, 30] DstBlock "istngpe11" DstPort 1 } Line { SrcBlock "From161" SrcPort 1 DstBlock "istngpe11" DstPort 2 } Line { SrcBlock "From162" SrcPort 1 Points [-5, 0; 0, -15] DstBlock "istngpe11" DstPort 3 } Line { SrcBlock "From163" SrcPort 1 Points [-5, 0; 0, -30] DstBlock "istngpe11" DstPort 4 } Line { SrcBlock "From181" SrcPort 1 Points [0, 35] DstBlock "istngpe12" DstPort 1 } Line { SrcBlock "From164" SrcPort 1 Points [0, 15] DstBlock "istngpe12" DstPort 2 } Line { SrcBlock "From166" SrcPort 1 DstBlock "istngpe12" DstPort 3 } Line { SrcBlock "From167" SrcPort 1 Points [-5, 0] DstBlock "istngpe12" DstPort 4 } Line { SrcBlock "From172" SrcPort 1 Points [-5, 0] DstBlock "istngpe14" DstPort 2 } Line { SrcBlock "From173" SrcPort 1 DstBlock "istngpe14" DstPort 3 } Line { SrcBlock "From174" SrcPort 1 Points [-5, 0] DstBlock "istngpe14" DstPort 4 } Line { SrcBlock "From202" SrcPort 1 DstBlock "Mux" DstPort 9 } Line { SrcBlock "From203" SrcPort 1 Points [25, 0; 0, 5] DstBlock "Mux" DstPort 10 } Line { SrcBlock "From204" SrcPort 1 Points [30, 0; 0, 5] DstBlock "Mux" DstPort 11 } Line { SrcBlock "From205" SrcPort 1 Points [30, 0; 0, 10] DstBlock "Mux" DstPort 12 } Line { SrcBlock "From206" SrcPort 1 Points [25, 0; 0, 5] DstBlock "Mux" DstPort 13 } Line { SrcBlock "From207" SrcPort 1 DstBlock "Mux" DstPort 14 } Line { SrcBlock "From208" SrcPort 1 DstBlock "Mux" DstPort 15 } Line { SrcBlock "From209" SrcPort 1 DstBlock "Mux" DstPort 16 } Line { SrcBlock "From210" SrcPort 1 Points [20, 0; 0, -5] DstBlock "Mux1" DstPort 9 } Line { SrcBlock "From211" SrcPort 1 DstBlock "Mux1" DstPort 10 } Line { SrcBlock "From212" SrcPort 1 Points [20, 0; 0, 5] DstBlock "Mux1" DstPort 11 } Line { SrcBlock "From213" SrcPort 1 Points [20, 0; 0, 5] DstBlock "Mux1" DstPort 12 } Line { SrcBlock "From214" SrcPort 1 Points [20, 0; 0, 10] DstBlock "Mux1" DstPort 13 } Line { SrcBlock "From215" SrcPort 1 Points [25, 0; 0, 5] DstBlock "Mux1" DstPort 14 } Line { SrcBlock "From216" SrcPort 1 DstBlock "Mux1" DstPort 15 } Line { SrcBlock "From217" SrcPort 1 Points [20, 0; 0, -10] DstBlock "Mux1" DstPort 16 } Line { SrcBlock "From226" SrcPort 1 Points [-10, 0; 0, 30] DstBlock "istngpe9" DstPort 1 } Line { SrcBlock "igpegpe1" SrcPort 1 Points [-75, 0; 0, 40] DstBlock "GPE_cell1" DstPort 1 } Line { SrcBlock "istngpe1" SrcPort 1 Points [-630, 0; 0, 85] DstBlock "GPE_cell1" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 Points [45, 0] Branch { Points [0, -10] DstBlock "GPE_cell" DstPort 5 } Branch { Points [575, 0] DstBlock "STN_cell1" DstPort 4 } } Line { SrcBlock "Constant1" SrcPort 1 Points [50, 0] Branch { Points [0, -10] DstBlock "GPE_cell1" DstPort 5 } Branch { Points [0, 5; 585, 0] DstBlock "STN_cell2" DstPort 4 } } Line { SrcBlock "Constant2" SrcPort 1 Points [55, 0] Branch { Points [0, -10] DstBlock "GPE_cell2" DstPort 5 } Branch { Points [0, 10; 580, 0] DstBlock "STN_cell3" DstPort 4 } } Line { SrcBlock "Constant3" SrcPort 1 Points [55, 0] Branch { DstBlock "GPE_cell3" DstPort 5 } Branch { Points [590, 0] DstBlock "STN_cell5" DstPort 4 } } Line { SrcBlock "Constant4" SrcPort 1 Points [55, 0] Branch { Points [0, -15] DstBlock "GPE_cell4" DstPort 5 } Branch { Points [590, 0; 0, -40] DstBlock "STN_cell6" DstPort 4 } } Line { SrcBlock "Constant5" SrcPort 1 Points [55, 0] Branch { Points [0, -10] DstBlock "GPE_cell5" DstPort 5 } Branch { Points [590, 0] DstBlock "STN_cell7" DstPort 4 } } Line { SrcBlock "Constant6" SrcPort 1 Points [0, -5; 50, 0] Branch { DstBlock "GPE_cell6" DstPort 5 } Branch { Points [0, 5; 590, 0] DstBlock "STN_cell8" DstPort 4 } } Line { SrcBlock "Constant7" SrcPort 1 Points [45, 0] Branch { Points [5, 0; 0, -5] DstBlock "GPE_cell7" DstPort 5 } Branch { Points [0, 5; 590, 0] DstBlock "STN_cell9" DstPort 4 } } Line { SrcBlock "Constant8" SrcPort 1 Points [60, 0] Branch { Points [0, -10] DstBlock "GPE_cell8" DstPort 5 } Branch { Points [600, 0] DstBlock "STN_cell10" DstPort 4 } } Line { SrcBlock "Constant15" SrcPort 1 Points [55, 0] Branch { Points [0, -5] DstBlock "GPE_cell9" DstPort 5 } Branch { Points [590, 0] DstBlock "STN_cell11" DstPort 4 } } Line { SrcBlock "Constant9" SrcPort 1 Points [60, 0] Branch { Points [0, -5] DstBlock "GPE_cell10" DstPort 5 } Branch { Points [585, 0; 0, -50] DstBlock "STN_cell12" DstPort 4 } } Line { SrcBlock "Constant10" SrcPort 1 Points [0, -20; 60, 0] Branch { DstBlock "GPE_cell11" DstPort 5 } Branch { Points [0, 10; 600, 0] DstBlock "STN_cell13" DstPort 4 } } Line { SrcBlock "Constant11" SrcPort 1 Points [100, 0] Branch { Points [30, 0] DstBlock "GPE_cell12" DstPort 5 } Branch { Points [0, 20; 565, 0] DstBlock "STN_cell14" DstPort 4 } } Line { SrcBlock "Constant12" SrcPort 1 Points [70, 0; 0, -35] Branch { Points [70, 0] DstBlock "GPE_cell13" DstPort 5 } Branch { Points [0, 10; 595, 0; 0, -35] DstBlock "STN_cell15" DstPort 4 } } Line { SrcBlock "Constant13" SrcPort 1 Points [65, 0] Branch { Points [0, -5] DstBlock "GPE_cell14" DstPort 5 } Branch { Points [600, 0] DstBlock "STN_cell16" DstPort 4 } } Line { SrcBlock "Constant14" SrcPort 1 Points [65, 0] Branch { Points [0, -5] DstBlock "GPE_cell15" DstPort 5 } Branch { Points [0, 40; 575, 0; 0, -45] DstBlock "STN_cell17" DstPort 4 } } Line { SrcBlock "istngpe14" SrcPort 1 Points [-625, 0; 0, 95] DstBlock "GPE_cell13" DstPort 2 } } }