Model { Name "CxTh_Suff_Neurosci_2004" Version 6.2 MdlSubVersion 0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.257" NumModelReferences 0 NumTestPointedSignals 0 } SavedCharacterEncoding "ibm-5346_P100-1998" 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 May 15 17:35:46 2002" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%<Auto>" LastModifiedBy "Piotr Suffczynski" ModifiedDateFormat "%<Auto>" LastModifiedDate "Thu Jan 31 17:45:40 2008" ModelVersionFormat "1.%<AutoIncrement:257>" 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.1.0" Array { Type "Handle" Dimension 7 Simulink.SolverCC { $ObjectID 2 Version "1.1.0" StartTime "0.0" StopTime "30" AbsTol "auto" FixedStep "0.001" InitialStep "0.001" MaxNumMinSteps "-1" MaxOrder 5 ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep "0.01" MinStep "auto" RelTol "1e-3" SolverMode "SingleTasking" Solver "ode5" SolverName "ode5" ZeroCrossControl "UseLocalSettings" AlgebraicLoopSolver "TrustRegion" SolverResetMethod "Fast" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" RateTranMode "Deterministic" } Simulink.DataIOCC { $ObjectID 3 Version "1.1.0" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints on MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveFormat "Array" SaveOutput off SaveState off SignalLogging on SaveTime off StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "sigsOut" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" } Simulink.OptimizationCC { $ObjectID 4 Version "1.1.0" BlockReduction on BooleanDataType off ConditionallyExecuteInputs on 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 EfficientFloat2IntCast off OptimizeModelRefInitCode off LifeSpan "inf" BufferReusableBoundary on } Simulink.DebuggingCC { $ObjectID 5 Version "1.1.0" RTPrefix "error" ConsistencyChecking "none" ArrayBoundsChecking "none" SignalInfNanChecking "none" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" CheckSSInitialOutputMsg on CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "TryResolveAllWithWarning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" SolverPrmCheckMsg "none" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" CheckMatrixSingularityMsg "warning" 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" BusObjectLabelMismatch "warning" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" ModelReferenceSimTargetVerbose off UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" } Simulink.HardwareCC { $ObjectID 6 Version "1.1.0" ProdBitPerChar 8 ProdBitPerShort 16 ProdBitPerInt 32 ProdBitPerLong 32 ProdIntDivRoundTo "Undefined" ProdEndianess "Unspecified" ProdWordSize 32 ProdShiftRightIntArith on ProdHWDeviceType "32-bit Generic" TargetBitPerChar 8 TargetBitPerShort 16 TargetBitPerInt 32 TargetBitPerLong 32 TargetShiftRightIntArith on TargetIntDivRoundTo "Undefined" TargetEndianess "Unspecified" TargetWordSize 32 TargetTypeEmulationWarnSuppressLevel 0 TargetPreprocMaxBitsSint 32 TargetPreprocMaxBitsUint 32 TargetHWDeviceType "Specified" TargetUnknown on ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 7 Version "1.1.0" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" ModelReferenceNumInstancesAllowed "Multi" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 8 Version "1.1.0" 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 TargetLang "C" Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 9 Version "1.1.0" ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses on IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off IncDataTypeInIds off PrefixModelToSubsysFcnNames on CustomSymbolStr "$R$N$M" MangleLength 1 DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off SimulinkBlockComments on EnableCustomComments off InlinedPrmAccess "Literals" ReqsInCode off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 10 Version "1.1.0" TargetFcnLib "ansi_tfl_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" GenFloatMathFcnCalls "ANSI_C" UtilityFuncGeneration "Auto" GenerateFullHeader on GenerateSampleERTMain off IsPILTarget off ModelReferenceCompliant off IncludeMdlTerminateFcn on CombineOutputUpdateFcns off SuppressErrorStatus off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging off 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 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 Inport UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" Interpolate on } Block { BlockType 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 Outport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType RandomNumber Mean "0" Variance "1" Seed "0" SampleTime "-1" VectorParams1D on } Block { BlockType Saturate UpperLimit "0.5" LowerLimit "-0.5" LinearizeAsGain on ZeroCross 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 "S-Function" FunctionName "system" SFunctionModules "''" PortCounts "[]" } Block { BlockType Step Time "1" Before "0" After "1" SampleTime "-1" VectorParams1D on ZeroCross on } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" PermitHierarchicalResolution "All" SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType TransferFcn Numerator "[1]" Denominator "[1 2 1]" AbsoluteTolerance "auto" Realization "auto" } Block { BlockType TransportDelay DelayTime "1" InitialInput "0" BufferSize "1024" PadeOrder "0" TransDelayFeedthrough 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 "CxTh_Suff_Neurosci_2004" Location [13, 107, 1104, 987] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "a4letter" PaperUnits "points" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType SubSystem Name "2" Ports [2, 1] Position [775, 81, 815, 119] Orientation "left" NamePlacement "alternate" ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "plot([0 5 10 15 20 30 40 60 80 100 150 350], [0" " 0.3 0.8 1 0.75 0.42 0.22 0.1 0.03 0.01 0 0])" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "2" Location [333, 82, 698, 255] 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, 33, 55, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [260, 65, 290, 80] Orientation "down" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType TransferFcn Name "AMPA" Position [80, 22, 170, 58] Numerator "[23950]" Denominator "[1 2605 262500]" } Block { BlockType Reference Name "Dot Product1" Ports [2, 1] Position [230, 26, 260, 59] SourceBlock "simulink/Math\nOperations/Dot Product" SourceType "Dot Product" InputSameDT on OutputDataTypeScalingMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" LockScale off RndMeth "Floor" DoSatur off } Block { BlockType Sum Name "Sum4" Ports [2, 1] Position [230, 85, 260, 145] Orientation "left" NamePlacement "alternate" ShowName off Inputs "-+" } Block { BlockType Constant Name "VAMPA" Position [310, 115, 340, 145] Orientation "left" NamePlacement "alternate" Value "60" } Block { BlockType Outport Name "Out1" Position [285, 38, 315, 52] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Dot Product1" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "AMPA" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum4" DstPort 1 } Line { SrcBlock "Sum4" SrcPort 1 Points [-40, 0; 0, -65] DstBlock "Dot Product1" DstPort 2 } Line { SrcBlock "VAMPA" SrcPort 1 DstBlock "Sum4" DstPort 2 } Line { SrcBlock "AMPA" SrcPort 1 Points [0, -5] DstBlock "Dot Product1" DstPort 1 } } } Block { BlockType SubSystem Name "AMPA1" Ports [2, 1] Position [300, 280, 340, 315] NamePlacement "alternate" ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "plot([0 5 10 15 20 30 40 60 80 100 150 350], [0" " 0.3 0.8 1 0.75 0.42 0.22 0.1 0.03 0.01 0 0])" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "AMPA1" Location [-14, 149, 351, 322] 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, 28, 55, 42] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [260, 65, 290, 80] Orientation "down" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType TransferFcn Name "AMPA" Position [80, 17, 170, 53] Numerator "[23950]" Denominator "[1 2605 262500]" } Block { BlockType Constant Name "Constant1" Position [310, 115, 340, 145] Orientation "left" NamePlacement "alternate" Value "60" } Block { BlockType Reference Name "Dot Product1" Ports [2, 1] Position [230, 26, 260, 59] SourceBlock "simulink/Math\nOperations/Dot Product" SourceType "Dot Product" InputSameDT on OutputDataTypeScalingMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" LockScale off RndMeth "Floor" DoSatur off } Block { BlockType Sum Name "Sum4" Ports [2, 1] Position [230, 85, 260, 145] Orientation "left" NamePlacement "alternate" ShowName off Inputs "-+" } Block { BlockType Outport Name "Out1" Position [285, 38, 315, 52] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "AMPA" SrcPort 1 DstBlock "Dot Product1" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Sum4" DstPort 2 } Line { SrcBlock "Sum4" SrcPort 1 Points [-40, 0; 0, -65] DstBlock "Dot Product1" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum4" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "AMPA" DstPort 1 } Line { SrcBlock "Dot Product1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "AMPA2" Ports [2, 1] Position [300, 505, 340, 540] NamePlacement "alternate" ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "plot([0 5 10 15 20 30 40 60 80 100 150 350], [0" " 0.3 0.8 1 0.75 0.42 0.22 0.1 0.03 0.01 0 0])" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "AMPA2" Location [-14, 149, 351, 322] 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, 28, 55, 42] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [260, 65, 290, 80] Orientation "down" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType TransferFcn Name "AMPA" Position [80, 17, 170, 53] Numerator "[23950]" Denominator "[1 2605 262500]" } Block { BlockType Reference Name "Dot Product1" Ports [2, 1] Position [230, 26, 260, 59] SourceBlock "simulink/Math\nOperations/Dot Product" SourceType "Dot Product" InputSameDT on OutputDataTypeScalingMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" LockScale off RndMeth "Floor" DoSatur off } Block { BlockType Sum Name "Sum4" Ports [2, 1] Position [230, 85, 260, 145] Orientation "left" NamePlacement "alternate" ShowName off Inputs "-+" } Block { BlockType Constant Name "VGABAA" Position [310, 115, 340, 145] Orientation "left" NamePlacement "alternate" Value "60" } Block { BlockType Outport Name "Out1" Position [285, 38, 315, 52] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Dot Product1" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "AMPA" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum4" DstPort 1 } Line { SrcBlock "Sum4" SrcPort 1 Points [-40, 0; 0, -65] DstBlock "Dot Product1" DstPort 2 } Line { SrcBlock "VGABAA" SrcPort 1 DstBlock "Sum4" DstPort 2 } Line { SrcBlock "AMPA" SrcPort 1 DstBlock "Dot Product1" DstPort 1 } } } Block { BlockType SubSystem Name "AMPA5" Ports [2, 1] Position [775, 767, 815, 803] Orientation "left" NamePlacement "alternate" ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "plot([0 5 10 15 20 30 40 60 80 100 150 350], [0" " 0.3 0.8 1 0.75 0.42 0.22 0.1 0.03 0.01 0 0])" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "AMPA5" Location [140, 142, 505, 315] 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, 28, 55, 42] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [260, 65, 290, 80] Orientation "down" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType TransferFcn Name "AMPA" Position [80, 17, 170, 53] Numerator "[23950]" Denominator "[1 2605 262500]" } Block { BlockType Reference Name "Dot Product1" Ports [2, 1] Position [230, 26, 260, 59] SourceBlock "simulink/Math\nOperations/Dot Product" SourceType "Dot Product" InputSameDT on OutputDataTypeScalingMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" LockScale off RndMeth "Floor" DoSatur off } Block { BlockType Sum Name "Sum4" Ports [2, 1] Position [230, 85, 260, 145] Orientation "left" NamePlacement "alternate" ShowName off Inputs "-+" } Block { BlockType Constant Name "VAMPA" Position [310, 115, 340, 145] Orientation "left" NamePlacement "alternate" Value "72" } Block { BlockType Outport Name "Out1" Position [285, 38, 315, 52] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "AMPA" SrcPort 1 DstBlock "Dot Product1" DstPort 1 } Line { SrcBlock "VAMPA" SrcPort 1 DstBlock "Sum4" DstPort 2 } Line { SrcBlock "Sum4" SrcPort 1 Points [-40, 0; 0, -65] DstBlock "Dot Product1" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum4" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "AMPA" DstPort 1 } Line { SrcBlock "Dot Product1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType Gain Name "C1" Position [725, 205, 755, 235] Orientation "left" NamePlacement "alternate" ShowName off Gain "8" } Block { BlockType Gain Name "C10" Position [725, 872, 755, 908] Orientation "left" ShowName off Gain "40" } Block { BlockType Gain Name "C11" Position [190, 250, 225, 280] ShowName off Gain "10" } Block { BlockType Gain Name "C12" Position [900, 45, 930, 75] Orientation "left" NamePlacement "alternate" ShowName off Gain "6" } Block { BlockType Gain Name "C14" Position [190, 474, 225, 506] NamePlacement "alternate" ShowName off Gain "5" } Block { BlockType Gain Name "C15" Position [900, 100, 930, 130] Orientation "left" ShowName off Gain "2" } Block { BlockType Gain Name "C16" Position [895, 772, 925, 808] Orientation "left" NamePlacement "alternate" ShowName off Gain "20" } Block { BlockType Gain Name "C17" Position [360, 689, 390, 721] NamePlacement "alternate" ShowName off Gain "40" } Block { BlockType Gain Name "C2" Position [725, 145, 755, 175] Orientation "left" NamePlacement "alternate" ShowName off Gain "8" } Block { BlockType Gain Name "C3" Position [190, 519, 220, 551] NamePlacement "alternate" ShowName off Gain "6" } Block { BlockType Gain Name "C5" Position [725, 828, 755, 862] Orientation "left" ShowName off Gain "5" } Block { BlockType Gain Name "C6" Position [360, 344, 390, 376] NamePlacement "alternate" ShowName off Gain "40" } Block { BlockType Gain Name "C7" Position [895, 718, 925, 752] Orientation "left" NamePlacement "alternate" ShowName off Gain "14" } Block { BlockType Gain Name "C8" Position [360, 567, 390, 603] NamePlacement "alternate" ShowName off } Block { BlockType Gain Name "C8-" Position [190, 303, 225, 337] ShowName off Gain "0.1" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "C9" Position [360, 633, 390, 667] NamePlacement "alternate" ShowName off } Block { BlockType SubSystem Name "Corticocortical \ninput" Ports [0, 1] Position [985, 43, 1050, 77] Orientation "left" NamePlacement "alternate" ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "plot([1 2 3 4 5 6 7 8 9 10 11 12],[0 3 -2 5 1 -" "2 6 -4 -1 2 -1 0])" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Corticocortical \ninput" Location [47, 640, 467, 1102] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Constant Name "Constant1" Position [20, 182, 55, 218] } Block { BlockType Reference Name "Cortical\nGain" Ports [1, 1] Position [80, 185, 110, 215] SourceBlock "simulink/Math\nOperations/Slider\nGain" SourceType "Slider Gain" ShowPortLabels on low "0" gain "13.5" high "200" } Block { BlockType Gain Name "Gain5" Position [80, 106, 115, 164] } Block { BlockType Product Name "Product" Ports [2, 1] Position [290, 173, 320, 197] RndMeth "Floor" } Block { BlockType Reference Name "Ramp" Ports [0, 1] Position [25, 25, 55, 55] SourceBlock "simulink/Sources/Ramp" SourceType "Ramp" ShowPortLabels on slope "0.2" start "0" X0 "0" VectorParams1D on } Block { BlockType Reference Name "Ramp1" Ports [0, 1] Position [75, 255, 105, 285] SourceBlock "simulink/Sources/Ramp" SourceType "Ramp" ShowPortLabels on slope "0" start "0" X0 "0" VectorParams1D on } Block { BlockType Saturate Name "Saturation" Position [90, 28, 120, 52] UpperLimit "1" LowerLimit "0" } Block { BlockType RandomNumber Name "WN" Position [20, 120, 50, 150] SampleTime "0.001" } Block { BlockType Sum Name "input2" Ports [3, 1] Position [215, 159, 255, 221] Inputs "+++" } Block { BlockType Outport Name "Out1" Position [375, 178, 405, 192] IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Line { SrcBlock "Cortical\nGain" SrcPort 1 Points [85, 0] DstBlock "input2" DstPort 2 } Line { SrcBlock "WN" SrcPort 1 DstBlock "Gain5" DstPort 1 } Line { SrcBlock "Gain5" SrcPort 1 Points [0, 35] DstBlock "input2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Cortical\nGain" DstPort 1 } Line { SrcBlock "Saturation" SrcPort 1 Points [80, 0; 0, 105; 70, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "Ramp" SrcPort 1 DstBlock "Saturation" DstPort 1 } Line { SrcBlock "input2" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "Ramp1" SrcPort 1 Points [45, 0; 0, -60] DstBlock "input2" DstPort 3 } } } Block { BlockType SubSystem Name "GABAA" Ports [2, 1] Position [775, 142, 815, 178] Orientation "left" NamePlacement "alternate" ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "plot([10 15 20 30 40 60 80 100 150 350], [0 0." "5 1 0.75 0.5 0.3 0.2 0.1 0.01 0 ])" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "GABAA" Location [135, 286, 505, 464] 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 [295, 98, 325, 112] Orientation "left" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Reference Name "Dot Product" Ports [2, 1] Position [240, 31, 270, 64] SourceBlock "simulink/Math\nOperations/Dot Product" SourceType "Dot Product" InputSameDT on OutputDataTypeScalingMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" LockScale off RndMeth "Floor" DoSatur off } Block { BlockType TransferFcn Name "GABAA1" Position [90, 22, 180, 58] Numerator "[241500]/2" Denominator "[1 2585 212500]" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [230, 90, 260, 150] Orientation "left" NamePlacement "alternate" ShowName off Inputs "-+" } Block { BlockType Constant Name "VGABAA" Position [315, 125, 345, 155] Orientation "left" NamePlacement "alternate" Value "-15" } Block { BlockType Outport Name "Out1" Position [295, 43, 325, 57] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "GABAA1" SrcPort 1 DstBlock "Dot Product" DstPort 1 } Line { SrcBlock "VGABAA" SrcPort 1 Points [-35, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 Points [-35, 0; 0, -65] DstBlock "Dot Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "GABAA1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Dot Product" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "GABAA1" Ports [2, 1] Position [775, 826, 815, 859] Orientation "left" NamePlacement "alternate" ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "plot([10 15 20 30 40 60 80 100 150 350], [0 0." "5 1 0.75 0.5 0.3 0.2 0.1 0.01 0 ])" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "GABAA1" Location [135, 286, 505, 464] 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 [295, 98, 325, 112] Orientation "left" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Reference Name "Dot Product" Ports [2, 1] Position [240, 31, 270, 64] SourceBlock "simulink/Math\nOperations/Dot Product" SourceType "Dot Product" InputSameDT on OutputDataTypeScalingMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" LockScale off RndMeth "Floor" DoSatur off } Block { BlockType TransferFcn Name "GABAA1" Position [90, 22, 180, 58] Numerator "[241500]/2" Denominator "[1 2585 212500]" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [230, 90, 260, 150] Orientation "left" NamePlacement "alternate" ShowName off Inputs "-+" } Block { BlockType Constant Name "VGABAA" Position [315, 125, 345, 155] Orientation "left" NamePlacement "alternate" Value "-3" } Block { BlockType Outport Name "Out1" Position [295, 43, 325, 57] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Dot Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "GABAA1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 Points [-35, 0; 0, -65] DstBlock "Dot Product" DstPort 2 } Line { SrcBlock "VGABAA" SrcPort 1 Points [-35, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "GABAA1" SrcPort 1 DstBlock "Dot Product" DstPort 1 } } } Block { BlockType SubSystem Name "GABAa" Ports [2, 1] Position [300, 566, 340, 604] NamePlacement "alternate" ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "plot([10 15 20 30 40 60 80 100 150 350], [0 0." "5 1 0.75 0.5 0.3 0.2 0.1 0.01 0 ])" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "GABAa" Location [135, 286, 505, 464] 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 [295, 98, 325, 112] Orientation "left" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Reference Name "Dot Product" Ports [2, 1] Position [240, 31, 270, 64] SourceBlock "simulink/Math\nOperations/Dot Product" SourceType "Dot Product" InputSameDT on OutputDataTypeScalingMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" LockScale off RndMeth "Floor" DoSatur off } Block { BlockType TransferFcn Name "GABAA1" Position [90, 22, 180, 58] Numerator "[241500]/2" Denominator "[1 2585 212500]" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [230, 90, 260, 150] Orientation "left" NamePlacement "alternate" ShowName off Inputs "-+" } Block { BlockType Constant Name "VGABAA" Position [315, 125, 345, 155] Orientation "left" NamePlacement "alternate" Value "-15" } Block { BlockType Outport Name "Out1" Position [295, 43, 325, 57] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "GABAA1" SrcPort 1 DstBlock "Dot Product" DstPort 1 } Line { SrcBlock "VGABAA" SrcPort 1 Points [-35, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 Points [-35, 0; 0, -65] DstBlock "Dot Product" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] DstBlock "GABAA1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Dot Product" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "GABAb" Ports [2, 1] Position [775, 200, 815, 235] Orientation "left" NamePlacement "alternate" ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "plot([0 10 20 30 40 50 60 70 80 90 100 125 150 " "200 250 300],\n[0 3 7 8 7.5 6.5 5.5 4.5 3.5 2.8 2.2 1.2 0.6 0.2 0.1 0])" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "GABAb" Location [299, 609, 752, 812] 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, 105, 45, 120] Orientation "up" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [395, 113, 425, 127] Orientation "left" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [400, 155, 430, 185] Orientation "left" NamePlacement "alternate" Value "-30" } Block { BlockType Reference Name "Dot Product" Ports [2, 1] Position [335, 51, 365, 84] SourceBlock "simulink/Math\nOperations/Dot Product" SourceType "Dot Product" InputSameDT on OutputDataTypeScalingMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" LockScale off RndMeth "Floor" DoSatur off } Block { BlockType Reference Name "Dot Product1" Ports [2, 1] Position [165, 42, 195, 73] SourceBlock "simulink/Math\nOperations/Dot Product" SourceType "Dot Product" InputSameDT on OutputDataTypeScalingMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" LockScale off RndMeth "Floor" DoSatur off } Block { BlockType TransferFcn Name "GABAB1" Position [210, 42, 300, 78] Numerator "[25]*30/2" Denominator "[1 60 800]" } Block { BlockType Fcn Name "GABAb activation" Position [55, 20, 115, 50] Expr "(1 + exp((u - 8)*(-100)))^(-1)" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [330, 105, 360, 165] Orientation "left" NamePlacement "alternate" ShowName off Inputs "-+" } Block { BlockType Outport Name "Out1" Position [390, 63, 420, 77] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "GABAB1" SrcPort 1 DstBlock "Dot Product" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 Points [0, -20] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 Points [-15, 0; 0, -60] DstBlock "Dot Product" DstPort 2 } Line { SrcBlock "Dot Product1" SrcPort 1 DstBlock "GABAB1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [30, 0; 0, -15] Branch { Points [90, 0] DstBlock "Dot Product1" DstPort 2 } Branch { Points [-45, 0; 0, -50] DstBlock "GABAb activation" DstPort 1 } } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Dot Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "GABAb activation" SrcPort 1 Points [30, 0] DstBlock "Dot Product1" DstPort 1 } } } Block { BlockType SubSystem Name "GABAb1" Ports [2, 1] Position [300, 630, 340, 665] ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "plot([0 10 20 30 40 50 60 70 80 90 100 125 150 " "200 250 300],\n[0 3 7 8 7.5 6.5 5.5 4.5 3.5 2.8 2.2 1.2 0.6 0.2 0.1 0])" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "GABAb1" Location [299, 609, 752, 812] 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, 105, 45, 120] Orientation "up" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "In2" Position [395, 113, 425, 127] Orientation "left" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Reference Name "Dot Product" Ports [2, 1] Position [335, 51, 365, 84] SourceBlock "simulink/Math\nOperations/Dot Product" SourceType "Dot Product" InputSameDT on OutputDataTypeScalingMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" LockScale off RndMeth "Floor" DoSatur off } Block { BlockType Reference Name "Dot Product1" Ports [2, 1] Position [165, 42, 195, 73] SourceBlock "simulink/Math\nOperations/Dot Product" SourceType "Dot Product" InputSameDT on OutputDataTypeScalingMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" LockScale off RndMeth "Floor" DoSatur off } Block { BlockType TransferFcn Name "GABAB1" Position [210, 42, 300, 78] Numerator "[25]*30/2" Denominator "[1 60 800]" } Block { BlockType Fcn Name "GABAb activation" Position [55, 20, 115, 50] Expr "(1 + exp((u - 8)*(-100)))^(-1)" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [330, 105, 360, 165] Orientation "left" NamePlacement "alternate" ShowName off Inputs "-+" } Block { BlockType Constant Name "VGABAB'" Position [405, 155, 435, 185] Orientation "left" NamePlacement "alternate" Value "-30" } Block { BlockType Outport Name "Out1" Position [390, 63, 420, 77] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "GABAb activation" SrcPort 1 Points [30, 0] DstBlock "Dot Product1" DstPort 1 } Line { SrcBlock "Dot Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [30, 0; 0, -15] Branch { Points [-45, 0; 0, -50] DstBlock "GABAb activation" DstPort 1 } Branch { Points [90, 0] DstBlock "Dot Product1" DstPort 2 } } Line { SrcBlock "Dot Product1" SrcPort 1 DstBlock "GABAB1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 Points [-15, 0; 0, -60] DstBlock "Dot Product" DstPort 2 } Line { SrcBlock "VGABAB'" SrcPort 1 Points [0, -20] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "GABAB1" SrcPort 1 DstBlock "Dot Product" DstPort 1 } } } Block { BlockType SubSystem Name "Integrator1" Ports [1, 1] Position [595, 155, 635, 195] Orientation "left" ShowName off FontSize 16 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "plot([ 1 2 3 4 5 6 7 8 9 10 ] - 2,\n [0 0 0.5 " "2 4 6 8 9.5 10 10], -4, 0, 15, 10 )\ndisp(' dt')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Integrator1" Location [565, 359, 755, 441] 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, 33, 55, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Integrator Name "Integrator2" Ports [1, 1] Position [80, 25, 110, 55] ShowName off IgnoreLimit off } Block { BlockType Outport Name "Out1" Position [135, 33, 165, 47] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 DstBlock "Integrator2" DstPort 1 } Line { SrcBlock "Integrator2" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "Integrator2" Ports [1, 1] Position [490, 325, 530, 365] NamePlacement "alternate" ShowName off FontSize 16 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "plot([ 1 2 3 4 5 6 7 8 9 10 ] - 2,\n [0 0 0.5 " "2 4 6 8 9.5 10 10], -4, 0, 15, 10 )\ndisp(' dt')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" System { Name "Integrator2" Location [565, 359, 755, 441] 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, 33, 55, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Integrator Name "Integrator2" Ports [1, 1] Position [80, 25, 110, 55] ShowName off IgnoreLimit off } Block { BlockType Outport Name "Out1" Position [135, 33, 165, 47] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Integrator2" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Integrator2" DstPort 1 } } } Block { BlockType SubSystem Name "Integrator3" Ports [1, 1] Position [590, 825, 630, 865] Orientation "left" ShowName off FontSize 16 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "plot([ 1 2 3 4 5 6 7 8 9 10 ] - 2,\n [0 0 0.5 " "2 4 6 8 9.5 10 10], -4, 0, 15, 10 )\ndisp(' dt')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Integrator3" Location [565, 359, 755, 441] 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, 33, 55, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Integrator Name "Integrator2" Ports [1, 1] Position [80, 25, 110, 55] ShowName off IgnoreLimit off } Block { BlockType Outport Name "Out1" Position [135, 33, 165, 47] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Integrator2" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Integrator2" DstPort 1 } } } Block { BlockType SubSystem Name "Integrator4" Ports [1, 1] Position [485, 575, 525, 615] NamePlacement "alternate" ShowName off FontSize 16 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "plot([ 1 2 3 4 5 6 7 8 9 10 ] - 2,\n [0 0 0.5 " "2 4 6 8 9.5 10 10], -4, 0, 15, 10 )\ndisp(' dt')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" System { Name "Integrator4" Location [565, 359, 755, 441] 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, 33, 55, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Integrator Name "Integrator2" Ports [1, 1] Position [80, 25, 110, 55] ShowName off IgnoreLimit off } Block { BlockType Outport Name "Out1" Position [135, 33, 165, 47] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 DstBlock "Integrator2" DstPort 1 } Line { SrcBlock "Integrator2" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "Leak1" Ports [1, 1] Position [775, 247, 815, 283] Orientation "left" ShowName off FontSize 16 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "disp('Leak')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Leak1" Location [304, 235, 520, 400] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [80, 73, 110, 87] Orientation "left" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [15, 65, 45, 125] Orientation "left" NamePlacement "alternate" ShowName off Inputs "-+" } Block { BlockType Constant Name "Vleak" Position [100, 115, 130, 145] Orientation "left" NamePlacement "alternate" Value "0" } Block { BlockType Outport Name "Out1" Position [80, 18, 110, 32] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Vleak" SrcPort 1 Points [-35, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 Points [0, -70] DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "Leak2" Ports [1, 1] Position [300, 340, 340, 380] ShowName off FontSize 16 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "disp('Leak')\n" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Leak2" Location [304, 235, 520, 400] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [80, 73, 110, 87] Orientation "left" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [15, 65, 45, 125] Orientation "left" NamePlacement "alternate" ShowName off Inputs "-+" } Block { BlockType Constant Name "Vleak" Position [100, 115, 130, 145] Orientation "left" NamePlacement "alternate" Value "0" } Block { BlockType Outport Name "Out1" Position [80, 18, 110, 32] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Sum1" SrcPort 1 Points [0, -70] DstBlock "Out1" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Vleak" SrcPort 1 Points [-35, 0] DstBlock "Sum1" DstPort 2 } } } Block { BlockType SubSystem Name "Leak3" Ports [1, 1] Position [775, 872, 815, 908] Orientation "left" NamePlacement "alternate" ShowName off FontSize 16 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "disp('Leak')\n" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Leak3" Location [304, 235, 520, 400] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [80, 73, 110, 87] Orientation "left" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [15, 65, 45, 125] Orientation "left" NamePlacement "alternate" ShowName off Inputs "-+" } Block { BlockType Constant Name "Vleak" Position [100, 100, 130, 130] Orientation "left" NamePlacement "alternate" Value "0" } Block { BlockType Outport Name "Out1" Position [80, 18, 110, 32] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Vleak" SrcPort 1 Points [-35, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 Points [0, -70] DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "Leak4" Ports [1, 1] Position [300, 685, 340, 725] ShowName off FontSize 16 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "disp('Leak')\n" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Leak4" Location [304, 235, 520, 400] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In2" Position [80, 73, 110, 87] Orientation "left" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [15, 65, 45, 125] Orientation "left" NamePlacement "alternate" ShowName off Inputs "-+" } Block { BlockType Constant Name "Vleak" Position [100, 110, 130, 140] Orientation "left" NamePlacement "alternate" Value "0" } Block { BlockType Outport Name "Out1" Position [80, 18, 110, 32] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Vleak" SrcPort 1 Points [-35, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 Points [0, -70] DstBlock "Out1" DstPort 1 } } } Block { BlockType Scope Name "Output" Ports [1] Position [445, 40, 475, 70] Orientation "left" NamePlacement "alternate" ShowName off Location [108, 768, 1230, 947] Open on NumInputPorts "1" TickLabels "on" ZoomMode "xonly" List { ListType AxesTitles axes1 "%<SignalLabel>" } TimeRange "5" YMin "-1.5" YMax "2" SaveToWorkspace on SaveName "V_Cx" DataFormat "Array" MaxDataPoints "100000" } Block { BlockType SubSystem Name "RE input" Ports [0, 1] Position [925, 817, 980, 853] Orientation "left" ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "plot([0 0 0 20 30 40],[ 0 1 0.3 0.3 0.3 0.3])" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "RE input" Location [954, 876, 1099, 968] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Constant Name "Constant2" Position [80, 25, 120, 65] Orientation "left" Value "12" } Block { BlockType Outport Name "Out1" Position [25, 38, 55, 52] Orientation "left" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "RE spikes" Ports [1, 1] Position [295, 824, 370, 866] Orientation "left" ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "plot([0 10 20 30 40 50 60 70 80 90 100 110 120 " "130 140 150 160],\n[0 0 1 1.9 3.5 5 5.25 5.5 4.5 3.8 3.3 2.2 1.2 0.6 0.2 0.1" " 0])\n\nplot([50 50], [5 20], [54 54], [5.1 20], [58 58], [5.2 20], [62 62]," " [5.3 20], [66 66], [5.4 20], [70 70], [5.5 20] )" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "RE spikes" Location [645, 809, 1041, 938] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [355, 45, 385, 65] Orientation "left" NamePlacement "alternate" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "C_RE" Position [130, 39, 185, 71] Orientation "left" NamePlacement "alternate" Gain "800" } Block { BlockType SubSystem Name "LTS_RE1" Ports [1, 1] Position [240, 37, 305, 73] Orientation "left" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "LTS_RE1" Location [1, 512, 478, 681] 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 Reference Name "Dot Product" Ports [2, 1] Position [335, 32, 365, 63] SourceBlock "simulink/Math\nOperations/Dot Product" SourceType "Dot Product" InputSameDT on OutputDataTypeScalingMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" LockScale off RndMeth "Floor" DoSatur off } Block { BlockType TransferFcn Name "GABAa1" Position [210, 100, 295, 140] Numerator "[5200]" Denominator "[1 170 5200]" } Block { BlockType Fcn Name "IT activation" Position [125, 25, 185, 55] Expr "(1 + exp((u - 16)/(-2)))^(-1)" } Block { BlockType Fcn Name "IT inactivation" Position [125, 105, 185, 135] Expr "(1 + exp((u + 6)/6))^(-1)" } Block { BlockType Outport Name "Out1" Position [395, 43, 425, 57] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "GABAa1" SrcPort 1 Points [20, 0] DstBlock "Dot Product" DstPort 2 } Line { Labels [0, 0] SrcBlock "IT inactivation" SrcPort 1 DstBlock "GABAa1" DstPort 1 } Line { SrcBlock "IT activation" SrcPort 1 DstBlock "Dot Product" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] Branch { Points [0, -20] DstBlock "IT activation" DstPort 1 } Branch { Points [0, 60] DstBlock "IT inactivation" DstPort 1 } } Line { SrcBlock "Dot Product" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType Outport Name "Out1" Position [25, 48, 55, 62] Orientation "left" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "LTS_RE1" SrcPort 1 DstBlock "C_RE" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "LTS_RE1" DstPort 1 } Line { SrcBlock "C_RE" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "Sensory input" Ports [0, 1] Position [105, 519, 175, 551] ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "plot([1 2 3 4 5 6 7 8 9 10 11 12],[0 3 -7 3 -1 " "2 5 -6 4 2 -4 0])" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Sensory input" Location [814, 654, 1224, 1031] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Constant Name "Constant1" Position [15, 162, 50, 198] } Block { BlockType Gain Name "Gain5" Position [85, 71, 120, 129] } Block { BlockType Product Name "Product" Ports [2, 1] Position [230, 128, 260, 152] RndMeth "Floor" } Block { BlockType Reference Name "Ramp" Ports [0, 1] Position [20, 15, 50, 45] SourceBlock "simulink/Sources/Ramp" SourceType "Ramp" ShowPortLabels on slope "0.2" start "0" X0 "0" VectorParams1D on } Block { BlockType Saturate Name "Saturation" Position [85, 18, 115, 42] UpperLimit "1" LowerLimit "0" } Block { BlockType Reference Name "Sensory\nGain" Ports [1, 1] Position [90, 165, 120, 195] SourceBlock "simulink/Math\nOperations/Slider\nGain" SourceType "Slider Gain" ShowPortLabels on low "0" gain "11" high "100" } Block { BlockType RandomNumber Name "WN" Position [15, 85, 45, 115] Seed "2" SampleTime "0.001" } Block { BlockType Sum Name "input2" Ports [2, 1] Position [150, 134, 190, 196] } Block { BlockType Outport Name "Out1" Position [340, 133, 370, 147] IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Line { SrcBlock "Saturation" SrcPort 1 Points [80, 0; 0, 105] DstBlock "Product" DstPort 1 } Line { SrcBlock "Ramp" SrcPort 1 DstBlock "Saturation" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "Sensory\nGain" SrcPort 1 DstBlock "input2" DstPort 2 } Line { SrcBlock "WN" SrcPort 1 DstBlock "Gain5" DstPort 1 } Line { SrcBlock "Gain5" SrcPort 1 Points [0, 50] DstBlock "input2" DstPort 1 } Line { SrcBlock "input2" SrcPort 1 Points [5, 0; 0, -20] DstBlock "Product" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Sensory\nGain" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem" Ports [1, 1] Position [295, 154, 370, 196] Orientation "left" ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "plot(-[0 1 2 3 4 5 6 7 8 9 10 11],\n [0 0 0 0.5" " 2 4 6 8 9.5 10 10 10], 0.1, 0, -10.1, 10 )" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Subsystem" Location [345, 180, 590, 276] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [190, 43, 220, 57] Orientation "left" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Fcn Name "Fcn" Position [80, 28, 155, 72] Orientation "left" NamePlacement "alternate" Expr "50*(1 + exp((u - 7)/-2))^(-1)" } Block { BlockType Outport Name "Out1" Position [25, 43, 55, 57] Orientation "left" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem1" Ports [1, 1] Position [750, 325, 825, 365] ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "plot([0 1 2 3 4 5 6 7 8 9 10 11],\n [0 0 0 0.5 " " 2 4 6 8 9.5 10 10 10], -0.1, 0, 10.1, 10 )" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Subsystem1" Location [760, 358, 1005, 442] 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 Fcn Name "Fcn1" Position [90, 29, 165, 61] Expr "50*(1 + exp((u(1) - 7)/(-2)))^(-1)" } Block { BlockType Outport Name "Out1" Position [190, 38, 220, 52] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "In1" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType Sum Name "Sum" Ports [4, 1] Position [660, 119, 680, 231] Orientation "left" NamePlacement "alternate" ShowName off Inputs "++++" } Block { BlockType Sum Name "Sum1" Ports [4, 1] Position [430, 497, 450, 688] ShowName off Inputs "4" } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [850, 34, 870, 141] Orientation "left" ShowName off } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [245, 260, 265, 315] NamePlacement "alternate" ShowName off } Block { BlockType Sum Name "Sum4" Ports [3, 1] Position [660, 804, 680, 886] Orientation "left" ShowName off Inputs "+++" } Block { BlockType Sum Name "Sum5" Ports [2, 1] Position [850, 746, 870, 799] Orientation "left" ShowName off } Block { BlockType Sum Name "Sum7" Ports [2, 1] Position [245, 469, 265, 556] ShowName off } Block { BlockType Sum Name "Sum9" Ports [2, 1] Position [430, 307, 450, 378] ShowName off } Block { BlockType SubSystem Name "TC bursts" Ports [1, 1] Position [750, 574, 825, 616] ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "plot([0 10 20 30 40 50 60 70 80 90 100 110 120 " "130 140 150 160],\n[0 0 1 1.9 3.5 5 5.25 5.5 4.5 3.8 3.3 2.2 1.2 0.6 0.2 0.1" " 0])\n\nplot([50 50], [5 20], [54 54], [5.1 20], [58 58], [5.2 20], [62 62]," " [5.3 20], [66 66], [5.4 20], [70 70], [5.5 20] )" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "TC bursts" Location [861, 842, 1236, 977] 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, 38, 45, 52] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "C_TC" Position [170, 29, 225, 61] NamePlacement "alternate" Gain "800" } Block { BlockType SubSystem Name "LTS_TC1" Ports [1, 1] Position [70, 29, 145, 61] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "LTS_TC1" Location [487, 82, 895, 261] 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, 83, 55, 97] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Reference Name "Dot Product" Ports [2, 1] Position [315, 67, 345, 98] SourceBlock "simulink/Math\nOperations/Dot Product" SourceType "Dot Product" InputSameDT on OutputDataTypeScalingMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" LockScale off RndMeth "Floor" DoSatur off } Block { BlockType TransferFcn Name "GABAa1" Position [185, 95, 270, 135] Numerator "[5200]" Denominator "[1 170 5200]" } Block { BlockType Fcn Name "IT activation" Position [100, 25, 160, 55] Expr "(1 + exp((u - 6)/(-2)))^(-1)" } Block { BlockType Fcn Name "IT inactivation" Position [100, 100, 160, 130] Expr "(1 + exp((u + 16)/6))^(-1)" } Block { BlockType Outport Name "Out1" Position [365, 78, 395, 92] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "IT inactivation" SrcPort 1 DstBlock "GABAa1" DstPort 1 } Line { SrcBlock "GABAa1" SrcPort 1 Points [0, -25] DstBlock "Dot Product" DstPort 2 } Line { SrcBlock "Dot Product" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [15, 0] Branch { Points [0, 25] DstBlock "IT inactivation" DstPort 1 } Branch { Points [0, -50] DstBlock "IT activation" DstPort 1 } } Line { SrcBlock "IT activation" SrcPort 1 Points [135, 0] DstBlock "Dot Product" DstPort 1 } } } Block { BlockType Outport Name "Out1" Position [330, 38, 360, 52] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "LTS_TC1" SrcPort 1 DstBlock "C_TC" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "LTS_TC1" DstPort 1 } Line { SrcBlock "C_TC" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType TransportDelay Name "Transport\nDelay" Position [80, 290, 110, 320] Orientation "down" NamePlacement "alternate" ShowName off DelayTime "0.008" } Block { BlockType TransportDelay Name "Transport\nDelay1" Position [980, 530, 1010, 560] Orientation "up" ShowName off DelayTime "0.008" } Block { BlockType Gain Name "gL" Position [725, 249, 755, 281] Orientation "left" ShowName off Gain "40" } Line { SrcBlock "C8-" SrcPort 1 DstBlock "Sum3" DstPort 2 } Line { SrcBlock "C11" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { SrcBlock "Sum3" SrcPort 1 DstBlock "AMPA1" DstPort 1 } Line { SrcBlock "GABAA" SrcPort 1 DstBlock "C2" DstPort 1 } Line { SrcBlock "GABAb" SrcPort 1 DstBlock "C1" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Integrator2" SrcPort 1 Points [30, 0] Branch { Points [0, 45; -295, 0; 0, -30] Branch { Points [0, -55] DstBlock "AMPA1" DstPort 2 } Branch { Points [0, 0] DstBlock "Leak2" DstPort 1 } } Branch { DstBlock "Subsystem1" DstPort 1 } } Line { SrcBlock "Subsystem1" SrcPort 1 Points [40, 0; 0, -135] Branch { Points [0, -60] DstBlock "GABAA" DstPort 1 } Branch { DstBlock "GABAb" DstPort 1 } } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "2" DstPort 1 } Line { SrcBlock "C15" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "RE spikes" SrcPort 1 Points [-160, 0; 0, -205] Branch { Points [0, -65] DstBlock "GABAa" DstPort 1 } Branch { DstBlock "GABAb1" DstPort 1 } } Line { SrcBlock "RE input" SrcPort 1 DstBlock "GABAA1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Integrator4" DstPort 1 } Line { SrcBlock "TC bursts" SrcPort 1 Points [5, 0; 160, 0] Branch { DstBlock "Transport\nDelay1" DstPort 1 } Branch { Points [0, 140] DstBlock "C7" DstPort 1 } } Line { SrcBlock "GABAb1" SrcPort 1 DstBlock "C9" DstPort 1 } Line { SrcBlock "GABAa" SrcPort 1 DstBlock "C8" DstPort 1 } Line { SrcBlock "AMPA5" SrcPort 1 Points [-75, 0] DstBlock "Sum4" DstPort 1 } Line { SrcBlock "Sum4" SrcPort 1 DstBlock "Integrator3" DstPort 1 } Line { SrcBlock "C7" SrcPort 1 Points [-5, 0] DstBlock "Sum5" DstPort 1 } Line { SrcBlock "AMPA2" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum7" SrcPort 1 DstBlock "AMPA2" DstPort 1 } Line { SrcBlock "C14" SrcPort 1 DstBlock "Sum7" DstPort 1 } Line { SrcBlock "Leak4" SrcPort 1 DstBlock "C17" DstPort 1 } Line { SrcBlock "C17" SrcPort 1 Points [20, 0] DstBlock "Sum1" DstPort 4 } Line { SrcBlock "Transport\nDelay" SrcPort 1 Points [0, 165] Branch { Labels [2, 0] Points [0, 470; 895, 0; 0, -170] DstBlock "C16" DstPort 1 } Branch { DstBlock "C14" DstPort 1 } } Line { SrcBlock "Transport\nDelay1" SrcPort 1 Points [0, -75] Branch { Points [0, -335] DstBlock "C15" DstPort 1 } Branch { Points [0, 5; -865, 0; 0, -135] DstBlock "C8-" DstPort 1 } } Line { SrcBlock "C2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "C1" SrcPort 1 Points [-15, 0; 0, -30] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Subsystem" SrcPort 1 Points [-195, 0; 0, 90] Branch { DstBlock "Transport\nDelay" DstPort 1 } Branch { DstBlock "C11" DstPort 1 } } Line { SrcBlock "C8" SrcPort 1 Points [5, 0; 0, -15] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "C9" SrcPort 1 Points [10, 0; 0, -35] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Leak1" SrcPort 1 DstBlock "gL" DstPort 1 } Line { SrcBlock "gL" SrcPort 1 Points [-25, 0] DstBlock "Sum" DstPort 4 } Line { SrcBlock "Leak2" SrcPort 1 DstBlock "C6" DstPort 1 } Line { SrcBlock "C6" SrcPort 1 DstBlock "Sum9" DstPort 2 } Line { SrcBlock "Sum9" SrcPort 1 DstBlock "Integrator2" DstPort 1 } Line { SrcBlock "Leak3" SrcPort 1 DstBlock "C10" DstPort 1 } Line { SrcBlock "C10" SrcPort 1 Points [-25, 0] DstBlock "Sum4" DstPort 3 } Line { SrcBlock "C16" SrcPort 1 Points [-5, 0] DstBlock "Sum5" DstPort 2 } Line { SrcBlock "Integrator4" SrcPort 1 Points [35, 0] Branch { Points [0, 0; 0, 135; -295, 0; 0, -25] Branch { Points [0, -50] Branch { Points [0, -60] Branch { Points [0, 0] DstBlock "GABAa" DstPort 2 } Branch { Points [0, -65] DstBlock "AMPA2" DstPort 2 } } Branch { Points [0, 0] DstBlock "GABAb1" DstPort 2 } } Branch { Points [0, 0] DstBlock "Leak4" DstPort 1 } } Branch { DstBlock "TC bursts" DstPort 1 } } Line { SrcBlock "Integrator3" SrcPort 1 Points [-20, 0] Branch { DstBlock "RE spikes" DstPort 1 } Branch { Points [0, 75; 270, 0; 0, -30; -5, 0] Branch { Points [5, 0; 0, -40; -5, 0] Branch { Points [5, 0; 0, -55] DstBlock "AMPA5" DstPort 2 } Branch { DstBlock "GABAA1" DstPort 2 } } Branch { DstBlock "Leak3" DstPort 1 } } } Line { SrcBlock "Sum5" SrcPort 1 DstBlock "AMPA5" DstPort 1 } Line { SrcBlock "2" SrcPort 1 Points [-75, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "AMPA1" SrcPort 1 Points [70, 0] DstBlock "Sum9" DstPort 1 } Line { SrcBlock "C5" SrcPort 1 DstBlock "Sum4" DstPort 2 } Line { SrcBlock "GABAA1" SrcPort 1 DstBlock "C5" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [-25, 0] Branch { DstBlock "Subsystem" DstPort 1 } Branch { Points [0, 0] Branch { Points [0, 120; 270, 0; 0, -30] Branch { DstBlock "Leak1" DstPort 1 } Branch { Points [0, -40] Branch { DstBlock "GABAb" DstPort 2 } Branch { Points [0, -55] Branch { Points [0, -60] DstBlock "2" DstPort 2 } Branch { DstBlock "GABAA" DstPort 2 } } } } Branch { Points [0, -120] DstBlock "Output" DstPort 1 } } } Line { SrcBlock "C3" SrcPort 1 DstBlock "Sum7" DstPort 2 } Line { SrcBlock "Sensory input" SrcPort 1 DstBlock "C3" DstPort 1 } Line { SrcBlock "Corticocortical \ninput" SrcPort 1 DstBlock "C12" DstPort 1 } Line { SrcBlock "C12" SrcPort 1 DstBlock "Sum2" DstPort 1 } Annotation { Name "Integrator" Position [614, 207] FontSize 14 } Annotation { Name "GABAa" Position [324, 556] FontSize 16 } Annotation { Name "GABAb" Position [324, 621] FontSize 16 } Annotation { Name "AMPA" Position [319, 496] FontSize 16 } Annotation { Name "Sigmoid" Position [334, 206] FontSize 16 } Annotation { Name "AMPA" Position [319, 271] FontSize 16 } Annotation { Name "GABAb" Position [799, 191] FontSize 16 } Annotation { Name "GABAa" Position [799, 131] FontSize 16 } Annotation { Name "AMPA" Position [794, 71] FontSize 16 } Annotation { Name "GABAa" Position [794, 816] FontSize 16 } Annotation { Name "AMPA" Position [794, 756] FontSize 16 } Annotation { Name "External Input" Position [1019, 31] FontSize 16 } Annotation { Name "Delay" Position [1039, 546] FontSize 16 } Annotation { Name "Delay" Position [54, 306] FontSize 16 } Annotation { Name "Sensory input" Position [144, 561] FontSize 16 } Annotation { Name "RE input" Position [954, 866] FontSize 16 } Annotation { Name "Integrator" Position [509, 627] FontSize 14 } Annotation { Name "Integrator" Position [609, 877] FontSize 14 } Annotation { Name "Integrator" Position [509, 377] FontSize 14 } Annotation { Name "TC bursts" Position [784, 626] FontSize 16 } Annotation { Name "RE bursts" Position [334, 876] FontSize 16 } Annotation { Name "C1" Position [209, 517] FontSize 14 } Annotation { Name "C2" Position [379, 562] FontSize 14 } Annotation { Name "C3" Position [379, 627] FontSize 14 } Annotation { Name "gL" Position [379, 337] FontSize 14 } Annotation { Name "gL" Position [379, 682] FontSize 14 } Annotation { Name "C4" Position [909, 717] FontSize 14 } Annotation { Name "C5" Position [724, 822] FontSize 14 } Annotation { Name "gL" Position [724, 872] FontSize 14 } Annotation { Name "C6" Position [899, 97] FontSize 14 } Annotation { Name "C7" Position [209, 302] FontSize 14 } Annotation { Name "C8" Position [894, 42] FontSize 14 } Annotation { Name "C9" Position [729, 142] FontSize 14 } Annotation { Name "C10" Position [729, 197] FontSize 14 } Annotation { Name "gL" Position [729, 247] FontSize 14 } Annotation { Name "C11" Position [209, 247] FontSize 14 } Annotation { Name "C12" Position [209, 472] FontSize 14 } Annotation { Name "C13" Position [909, 767] FontSize 14 } Annotation { Name "Sigmoid" Position [789, 376] FontSize 16 } Annotation { Name "Output" Position [459, 26] FontSize 16 } } }