Model {
Name "Chambers2010"
Version 7.5
MdlSubVersion 0
GraphicalInterface {
NumRootInports 0
NumRootOutports 0
ParameterArgumentNames ""
ComputedModelVersion "1.166"
NumModelReferences 0
NumTestPointedSignals 0
}
SavedCharacterEncoding "windows-1252"
SaveDefaultBlockParams on
ScopeRefreshTime 0.035000
OverrideScopeRefreshTime on
DisableAllScopes off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
MinMaxOverflowArchiveMode "Overwrite"
MaxMDLFileLineLength 120
Created "Mon Jun 26 14:32:18 2006"
Creator "Jordan"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "jordan"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Wed Oct 27 13:36:16 2010"
RTWModifiedTimeStamp 210085945
ModelVersionFormat "1.%<AutoIncrement:166>"
ConfigurationManager "None"
SampleTimeColors off
SampleTimeAnnotations off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowLoopsOnError on
IgnoreBidirectionalLines off
ShowStorageClass off
ShowTestPointIcons on
ShowSignalResolutionIcons on
ShowViewerIcons on
SortedOrder off
ExecutionContextIcon off
ShowLinearizationAnnotations on
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
SimulationMode "normal"
LinearizationMsg "none"
Profile off
ParamWorkspaceSource "MATLABWorkspace"
AccelSystemTargetFile "accel.tlc"
AccelTemplateMakefile "accel_default_tmf"
AccelMakeCommand "make_rtw"
TryForcingSFcnDF off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
CovForceBlockReductionOff on
covSaveCumulativeToWorkspaceVar on
CovSaveSingleToWorkspaceVar on
CovCumulativeVarName "covCumulativeData"
CovCumulativeReport off
CovReportOnPause on
CovModelRefEnable "Off"
CovExternalEMLEnable off
ExtModeBatchMode off
ExtModeEnableFloating on
ExtModeTrigType "manual"
ExtModeTrigMode "normal"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigDurationFloating "auto"
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
ExtModeArmWhenConnect on
ExtModeSkipDownloadWhenConnect off
ExtModeLogAll on
ExtModeAutoUpdateStatusClock on
BufferReuse on
ShowModelReferenceBlockVersion off
ShowModelReferenceBlockIO off
Array {
Type "Handle"
Dimension 1
Simulink.ConfigSet {
$ObjectID 1
Version "1.10.0"
Array {
Type "Handle"
Dimension 8
Simulink.SolverCC {
$ObjectID 2
Version "1.10.0"
StartTime "0.0"
StopTime "300"
AbsTol "auto"
FixedStep "auto"
InitialStep "auto"
MaxNumMinSteps "-1"
MaxOrder 5
ZcThreshold "auto"
ConsecutiveZCsStepRelTol "10*128*eps"
MaxConsecutiveZCs "1000"
ExtrapolationOrder 4
NumberNewtonIterations 1
MaxStep "0.1"
MinStep "auto"
MaxConsecutiveMinStep "1"
RelTol "1e-10"
SolverMode "Auto"
Solver "ode45"
SolverName "ode45"
SolverJacobianMethodControl "auto"
ShapePreserveControl "DisableAll"
ZeroCrossControl "UseLocalSettings"
ZeroCrossAlgorithm "Nonadaptive"
AlgebraicLoopSolver "TrustRegion"
SolverResetMethod "Fast"
PositivePriorityOrder off
AutoInsertRateTranBlk off
SampleTimeConstraint "Unconstrained"
InsertRTBMode "Whenever possible"
}
Simulink.DataIOCC {
$ObjectID 3
Version "1.10.0"
Decimation "1"
ExternalInput "[t, u]"
FinalStateName "xFinal"
InitialState "xInitial"
LimitDataPoints on
MaxDataPoints "1000"
LoadExternalInput off
LoadInitialState off
SaveFinalState off
SaveCompleteFinalSimState off
SaveFormat "Array"
SaveOutput on
SaveState off
SignalLogging on
DSMLogging on
InspectSignalLogs off
SaveTime on
ReturnWorkspaceOutputs off
StateSaveName "xout"
TimeSaveName "tout"
OutputSaveName "yout"
SignalLoggingName "logsout"
DSMLoggingName "dsmout"
OutputOption "RefineOutputTimes"
OutputTimes "[]"
ReturnWorkspaceOutputsName "out"
Refine "1"
}
Simulink.OptimizationCC {
$ObjectID 4
Version "1.10.0"
Array {
Type "Cell"
Dimension 4
Cell "ZeroExternalMemoryAtStartup"
Cell "ZeroInternalMemoryAtStartup"
Cell "NoFixptDivByZeroProtection"
Cell "OptimizeModelRefInitCode"
PropName "DisabledProps"
}
BlockReduction on
BooleanDataType on
ConditionallyExecuteInputs on
InlineParams off
UseIntDivNetSlope off
InlineInvariantSignals off
OptimizeBlockIOStorage on
BufferReuse on
EnhancedBackFolding off
StrengthReduction off
EnforceIntegerDowncast on
ExpressionFolding on
BooleansAsBitfields off
BitfieldContainerType "uint_T"
EnableMemcpy on
MemcpyThreshold 64
PassReuseOutputArgsAs "Structure reference"
ExpressionDepthLimit 2147483647
FoldNonRolledExpr on
LocalBlockOutputs on
RollThreshold 5
SystemCodeInlineAuto off
StateBitsets off
DataBitsets off
UseTempVars off
ZeroExternalMemoryAtStartup on
ZeroInternalMemoryAtStartup on
InitFltsAndDblsToZero on
NoFixptDivByZeroProtection off
EfficientFloat2IntCast off
EfficientMapNaN2IntZero on
OptimizeModelRefInitCode off
LifeSpan "inf"
MaxStackSize "Inherit from target"
BufferReusableBoundary on
SimCompilerOptimization "Off"
AccelVerboseBuild off
}
Simulink.DebuggingCC {
$ObjectID 5
Version "1.10.0"
RTPrefix "error"
ConsistencyChecking "none"
ArrayBoundsChecking "none"
SignalInfNanChecking "none"
SignalRangeChecking "none"
ReadBeforeWriteMsg "UseLocalSettings"
WriteAfterWriteMsg "UseLocalSettings"
WriteAfterReadMsg "UseLocalSettings"
AlgebraicLoopMsg "warning"
ArtificialAlgebraicLoopMsg "warning"
SaveWithDisabledLinksMsg "warning"
SaveWithParameterizedLinksMsg "none"
CheckSSInitialOutputMsg on
UnderspecifiedInitializationDetection "Classic"
MergeDetectMultiDrivingBlocksExec "none"
CheckExecutionContextPreStartOutputMsg off
CheckExecutionContextRuntimeOutputMsg off
SignalResolutionControl "TryResolveAllWithWarning"
BlockPriorityViolationMsg "warning"
MinStepSizeMsg "warning"
TimeAdjustmentMsg "none"
MaxConsecutiveZCsMsg "error"
SolverPrmCheckMsg "warning"
InheritedTsInSrcMsg "warning"
DiscreteInheritContinuousMsg "warning"
MultiTaskDSMMsg "warning"
MultiTaskCondExecSysMsg "none"
MultiTaskRateTransMsg "error"
SingleTaskRateTransMsg "none"
TasksWithSamePriorityMsg "warning"
SigSpecEnsureSampleTimeMsg "warning"
CheckMatrixSingularityMsg "none"
IntegerOverflowMsg "warning"
Int32ToFloatConvMsg "warning"
ParameterDowncastMsg "error"
ParameterOverflowMsg "error"
ParameterUnderflowMsg "none"
ParameterPrecisionLossMsg "warning"
ParameterTunabilityLossMsg "warning"
FixptConstUnderflowMsg "none"
FixptConstOverflowMsg "none"
FixptConstPrecisionLossMsg "none"
UnderSpecifiedDataTypeMsg "none"
UnnecessaryDatatypeConvMsg "none"
VectorMatrixConversionMsg "none"
InvalidFcnCallConnMsg "error"
FcnCallInpInsideContextMsg "Use local settings"
SignalLabelMismatchMsg "none"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
SFcnCompatibilityMsg "none"
UniqueDataStoreMsg "none"
BusObjectLabelMismatch "warning"
RootOutportRequireBusObject "warning"
AssertControl "UseLocalSettings"
EnableOverflowDetection off
ModelReferenceIOMsg "none"
ModelReferenceVersionMismatchMessage "none"
ModelReferenceIOMismatchMessage "none"
ModelReferenceCSMismatchMessage "none"
UnknownTsInhSupMsg "warning"
ModelReferenceDataLoggingMessage "warning"
ModelReferenceSymbolNameMessage "warning"
ModelReferenceExtraNoncontSigs "error"
StateNameClashWarn "warning"
SimStateInterfaceChecksumMismatchMsg "warning"
StrictBusMsg "Warning"
BusNameAdapt "WarnAndRepair"
NonBusSignalsTreatedAsBus "none"
LoggingUnavailableSignals "error"
BlockIODiagnostic "none"
}
Simulink.HardwareCC {
$ObjectID 6
Version "1.10.0"
ProdBitPerChar 8
ProdBitPerShort 16
ProdBitPerInt 32
ProdBitPerLong 32
ProdIntDivRoundTo "Undefined"
ProdEndianess "Unspecified"
ProdWordSize 32
ProdShiftRightIntArith on
ProdHWDeviceType "32-bit Generic"
TargetBitPerChar 8
TargetBitPerShort 16
TargetBitPerInt 32
TargetBitPerLong 32
TargetShiftRightIntArith on
TargetIntDivRoundTo "Undefined"
TargetEndianess "Unspecified"
TargetWordSize 32
TargetTypeEmulationWarnSuppressLevel 0
TargetPreprocMaxBitsSint 32
TargetPreprocMaxBitsUint 32
TargetHWDeviceType "Specified"
TargetUnknown off
ProdEqTarget on
}
Simulink.ModelReferenceCC {
$ObjectID 7
Version "1.10.0"
UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange"
CheckModelReferenceTargetMessage "error"
EnableParallelModelReferenceBuilds off
ParallelModelReferenceMATLABWorkerInit "None"
ModelReferenceNumInstancesAllowed "Multi"
PropagateVarSize "Infer from blocks in model"
ModelReferencePassRootInputsByReference on
ModelReferenceMinAlgLoopOccurrences off
PropagateSignalLabelsOutOfModel off
SupportModelReferenceSimTargetCustomCode off
}
Simulink.SFSimCC {
$ObjectID 8
Version "1.10.0"
SFSimEnableDebug on
SFSimOverflowDetection on
SFSimEcho on
SimBlas on
SimCtrlC on
SimExtrinsic on
SimIntegrity on
SimUseLocalCustomCode off
SimBuildMode "sf_incremental_build"
}
Simulink.RTWCC {
$BackupClass "Simulink.RTWCC"
$ObjectID 9
Version "1.10.0"
Array {
Type "Cell"
Dimension 1
Cell "IncludeHyperlinkInReport"
PropName "DisabledProps"
}
SystemTargetFile "grt.tlc"
GenCodeOnly off
MakeCommand "make_rtw"
GenerateMakefile on
TemplateMakefile "grt_default_tmf"
GenerateReport off
SaveLog off
RTWVerbose on
RetainRTWFile off
ProfileTLC off
TLCDebug off
TLCCoverage off
TLCAssert off
ProcessScriptMode "Default"
ConfigurationMode "Optimized"
ConfigAtBuild off
RTWUseLocalCustomCode off
RTWUseSimCustomCode off
IncludeHyperlinkInReport off
LaunchReport off
TargetLang "C"
IncludeBusHierarchyInRTWFileBlockHierarchyMap off
IncludeERTFirstTime on
GenerateTraceInfo off
GenerateTraceReport off
GenerateTraceReportSl off
GenerateTraceReportSf off
GenerateTraceReportEml off
GenerateCodeInfo off
RTWCompilerOptimization "Off"
CheckMdlBeforeBuild "Off"
CustomRebuildMode "OnUpdate"
Array {
Type "Handle"
Dimension 2
Simulink.CodeAppCC {
$ObjectID 10
Version "1.10.0"
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"
}
ForceParamTrailComments off
GenerateComments on
IgnoreCustomStorageClasses on
IgnoreTestpoints off
IncHierarchyInIds off
MaxIdLength 31
PreserveName off
PreserveNameWithParent off
ShowEliminatedStatement off
IncAutoGenComments off
SimulinkDataObjDesc off
SFDataObjDesc off
IncDataTypeInIds off
MangleLength 1
CustomSymbolStrGlobalVar "$R$N$M"
CustomSymbolStrType "$N$R$M"
CustomSymbolStrField "$N$M"
CustomSymbolStrFcn "$R$N$M$F"
CustomSymbolStrFcnArg "rt$I$N$M"
CustomSymbolStrBlkIO "rtb_$N$M"
CustomSymbolStrTmpVar "$N$M"
CustomSymbolStrMacro "$R$N$M"
DefineNamingRule "None"
ParamNamingRule "None"
SignalNamingRule "None"
InsertBlockDesc off
SimulinkBlockComments on
EnableCustomComments off
InlinedPrmAccess "Literals"
ReqsInCode off
UseSimReservedNames off
}
Simulink.GRTTargetCC {
$BackupClass "Simulink.TargetCC"
$ObjectID 11
Version "1.10.0"
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"
}
TargetFcnLib "ansi_tfl_tmw.mat"
TargetLibSuffix ""
TargetPreCompLibLocation ""
TargetFunctionLibrary "ANSI_C"
UtilityFuncGeneration "Auto"
ERTMultiwordTypeDef "System defined"
ERTCodeCoverageTool "None"
ERTMultiwordLength 256
MultiwordLength 2048
GenerateFullHeader on
GenerateSampleERTMain off
GenerateTestInterfaces off
IsPILTarget off
ModelReferenceCompliant on
ParMdlRefBuildCompliant on
CompOptLevelCompliant on
IncludeMdlTerminateFcn on
GeneratePreprocessorConditionals "Disable all"
CombineOutputUpdateFcns off
SuppressErrorStatus off
ERTFirstTimeCompliant off
IncludeFileDelimiter "Auto"
ERTCustomFileBanners off
SupportAbsoluteTime on
LogVarNameModifier "rt_"
MatFileLogging on
MultiInstanceERTCode off
SupportNonFinite on
SupportComplex on
PurelyIntegerCode off
SupportContinuousTime on
SupportNonInlinedSFcns on
SupportVariableSizeSignals off
EnableShiftOperators on
ParenthesesLevel "Nominal"
PortableWordSizes off
ModelStepFunctionPrototypeControlCompliant off
CPPClassGenCompliant off
AutosarCompliant off
UseMalloc off
ExtMode off
ExtModeStaticAlloc off
ExtModeTesting off
ExtModeStaticAllocSize 1000000
ExtModeTransport 0
ExtModeMexFile "ext_comm"
ExtModeIntrfLevel "Level1"
RTWCAPISignals off
RTWCAPIParams off
RTWCAPIStates off
GenerateASAP2 off
}
PropName "Components"
}
}
PropName "Components"
}
Name "Configuration"
CurrentDlgPage "Solver"
ConfigPrmDlgPosition " [ 280, 135, 1160, 765 ] "
}
PropName "ConfigurationSets"
}
Simulink.ConfigSet {
$PropName "ActiveConfigurationSet"
$ObjectID 1
}
BlockDefaults {
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
BlockRotation 0
BlockMirror off
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
UseDisplayTextAsClickCallback off
}
LineDefaults {
FontName "Arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
BlockParameterDefaults {
Block {
BlockType Constant
Value "1"
VectorParams1D on
SamplingMode "Sample based"
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "fixdt(1,16,0)"
ConRadixGroup "Use specified scaling"
OutScaling "[]"
OutDataTypeStr "Inherit: Inherit from 'Constant value'"
LockScale off
SampleTime "inf"
FramePeriod "inf"
PreserveConstantTs off
}
Block {
BlockType DeadZone
LowerValue "-0.5"
UpperValue "0.5"
SaturateOnIntegerOverflow on
LinearizeAsGain on
ZeroCross on
SampleTime "-1"
}
Block {
BlockType Fcn
Expr "sin(u[1])"
SampleTime "-1"
}
Block {
BlockType Gain
Gain "1"
Multiplication "Element-wise(K.*u)"
ParamMin "[]"
ParamMax "[]"
ParameterDataTypeMode "Same as input"
ParameterDataType "fixdt(1,16,0)"
ParameterScalingMode "Best Precision: Matrix-wise"
ParameterScaling "[]"
ParamDataTypeStr "Inherit: Same as input"
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Same as input"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: Same as input"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Inport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
VarSizeSig "Inherit"
SampleTime "-1"
OutMin "[]"
OutMax "[]"
DataType "auto"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: auto"
LockScale off
SignalType "auto"
SamplingMode "auto"
LatchByDelayingOutsideSignal off
LatchInputForFeedbackSignals off
Interpolate on
}
Block {
BlockType Integrator
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
IgnoreLimit off
ZeroCross on
ContinuousStateAttributes "''"
}
Block {
BlockType Math
Operator "exp"
OutputSignalType "auto"
SampleTime "-1"
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Same as first input"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: Same as first input"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
IntermediateResultsDataTypeStr "Inherit: Inherit via internal rule"
AlgorithmType "Newton-Raphson"
Iterations "3"
}
Block {
BlockType MinMax
Function "min"
Inputs "1"
InputSameDT on
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Inherit via internal rule"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: Inherit via internal rule"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
ZeroCross on
SampleTime "-1"
}
Block {
BlockType Mux
Inputs "4"
DisplayOption "none"
UseBusObject off
BusObject "BusObject"
NonVirtualBus off
}
Block {
BlockType Outport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
VarSizeSig "Inherit"
SampleTime "-1"
OutMin "[]"
OutMax "[]"
DataType "auto"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: auto"
LockScale off
SignalType "auto"
SamplingMode "auto"
SourceOfInitialOutputValue "Dialog"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Product
Inputs "2"
Multiplication "Element-wise(.*)"
CollapseMode "All dimensions"
CollapseDim "1"
InputSameDT on
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Same as first input"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: Same as first input"
LockScale off
RndMeth "Zero"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Saturate
UpperLimit "0.5"
LowerLimit "-0.5"
LinearizeAsGain on
ZeroCross on
SampleTime "-1"
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Same as input"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: Same as input"
LockScale off
RndMeth "Floor"
}
Block {
BlockType Scope
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 "-1"
}
Block {
BlockType SubSystem
ShowPortLabels "FromPortIcon"
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
TreatAsAtomicUnit off
CheckFcnCallInpInsideContextMsg off
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
CollapseMode "All dimensions"
CollapseDim "1"
InputSameDT on
AccumDataTypeStr "Inherit: Inherit via internal rule"
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Same as first input"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: Same as first input"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
}
System {
Name "Chambers2010"
Location [2, 74, 1918, 1139]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "a4letter"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "196"
ReportName "simulink-default.rpt"
SIDHighWatermark 178
Block {
BlockType Scope
Name "5HT"
SID 1
Ports [1]
Position [259, 495, 291, 525]
BlockRotation 270
BlockMirror on
DropShadow on
Floating off
Location [951, 461, 1275, 700]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveToWorkspace on
SaveName "Serotonin_release"
DataFormat "Array"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType SubSystem
Name "5HT release"
SID 2
Ports [1, 1]
Position [320, 444, 420, 486]
BlockMirror on
BackgroundColor "gray"
NamePlacement "alternate"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "5HT release"
Location [2, 82, 1902, 1147]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "243"
Block {
BlockType Inport
Name "Muscle"
SID 3
Position [20, 48, 50, 62]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Integrator
Name "5HT"
SID 4
Ports [1, 1]
Position [365, 40, 395, 70]
}
Block {
BlockType Gain
Name "Gain"
SID 5
Position [295, 39, 340, 71]
Gain "0.1"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Saturate
Name "Saturation"
SID 6
Ports [1, 1]
Position [80, 40, 110, 70]
UpperLimit "1"
LowerLimit "0"
LinearizeAsGain off
ZeroCross off
}
Block {
BlockType Sum
Name "Sum"
SID 7
Ports [2, 1]
Position [230, 45, 250, 65]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Fcn
Name "f"
SID 8
Position [140, 40, 200, 70]
Expr "u^0.2"
}
Block {
BlockType Outport
Name "Release"
SID 9
Position [485, 48, 515, 62]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Muscle"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "f"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "5HT"
SrcPort 1
Points [40, 0]
Branch {
DstBlock "Release"
DstPort 1
}
Branch {
Points [0, 75; -200, 0]
DstBlock "Sum"
DstPort 2
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "5HT"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "f"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Circular\nMuscle\nResponse"
SID 10
Ports [1, 1]
Position [488, 345, 532, 430]
BlockRotation 270
BlockMirror on
BackgroundColor "gray"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Circular\nMuscle\nResponse"
Location [2, 82, 1902, 1147]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "243"
Block {
BlockType Inport
Name "Input"
SID 11
Position [25, 48, 55, 62]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Integrator
Name "Muscle"
SID 12
Ports [1, 1]
Position [225, 40, 255, 70]
}
Block {
BlockType Sum
Name "Sum1"
SID 13
Ports [2, 1]
Position [125, 45, 145, 65]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Response"
SID 14
Position [355, 48, 385, 62]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Muscle"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Response"
DstPort 1
}
Branch {
Points [0, 50; -140, 0]
DstBlock "Sum1"
DstPort 2
}
}
Line {
SrcBlock "Input"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Muscle"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "Circular Muscle Activity"
SID 15
Ports [1]
Position [615, 449, 645, 481]
DropShadow on
NamePlacement "alternate"
Floating off
Location [1353, 129, 1677, 368]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "0"
YMax "0.65"
SaveToWorkspace on
SaveName "Circular_Muscle"
DataFormat "Array"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Constant
Name "Constant \nNutrient Stimulus"
SID 16
Position [35, 25, 65, 55]
Value "0.25"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType SubSystem
Name "Excitatory\nMotor\nNeurons"
SID 17
Ports [2, 1]
Position [365, 210, 480, 275]
BlockRotation 270
BlockMirror on
BackgroundColor "gray"
NamePlacement "alternate"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Excitatory\nMotor\nNeurons"
Location [2, 82, 1902, 1147]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "243"
Block {
BlockType Inport
Name "Fast EPSP"
SID 18
Position [20, 68, 50, 82]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Slow EPSP"
SID 19
Position [20, 133, 50, 147]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType SubSystem
Name "Combined Firing"
SID 20
Ports [2, 1]
Position [315, 84, 415, 126]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Combined Firing"
Location [2, 74, 1918, 1139]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "243"
Block {
BlockType Inport
Name "fEPSP"
SID 21
Position [25, 68, 55, 82]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "sEPSP"
SID 22
Position [25, 138, 55, 152]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Sum
Name "Add"
SID 23
Ports [2, 1]
Position [355, 92, 385, 123]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain"
SID 24
Position [240, 129, 295, 171]
Gain "0.1"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType MinMax
Name "Max"
SID 25
Ports [2, 1]
Position [125, 62, 155, 93]
Function "max"
Inputs "2"
InputSameDT off
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType MinMax
Name "Min"
SID 26
Ports [2, 1]
Position [125, 132, 155, 163]
Function "min"
Inputs "2"
InputSameDT off
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
SID 27
Position [420, 103, 450, 117]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "fEPSP"
SrcPort 1
Points [25, 0]
Branch {
Points [0, 65]
DstBlock "Min"
DstPort 1
}
Branch {
Points [0, -5]
DstBlock "Max"
DstPort 1
}
}
Line {
SrcBlock "sEPSP"
SrcPort 1
Points [35, 0]
Branch {
Points [0, -60]
DstBlock "Max"
DstPort 2
}
Branch {
Points [0, 10]
DstBlock "Min"
DstPort 2
}
}
Line {
SrcBlock "Max"
SrcPort 1
Points [90, 0; 0, 20]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Min"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [20, 0; 0, -35]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Fcn
Name "Sigmoidal"
SID 28
Position [145, 60, 205, 90]
Expr "0.93/(1+exp((0.5-u)/0.075))"
}
Block {
BlockType Scope
Name "fEPSP firing rate"
SID 29
Ports [1]
Position [340, 14, 370, 46]
Floating off
Location [6, 357, 330, 596]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "sEPSP firing rate"
SID 30
Ports [1]
Position [330, 189, 360, 221]
Floating off
Location [6, 57, 330, 296]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "second messenger\nsystem"
SID 31
Ports [1, 1]
Position [130, 119, 230, 161]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "second messenger\nsystem"
Location [2, 82, 1902, 1147]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "195"
Block {
BlockType Inport
Name "Input"
SID 32
Position [35, 128, 65, 142]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Sum
Name "Add"
SID 33
Ports [2, 1]
Position [245, 107, 275, 138]
Inputs "-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
SID 34
Ports [2, 1]
Position [220, 207, 250, 238]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add2"
SID 35
Ports [2, 1]
Position [220, 337, 250, 368]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add3"
SID 36
Ports [2, 1]
Position [85, 317, 115, 348]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Constant"
SID 37
Position [15, 310, 45, 340]
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Decay"
SID 38
Position [520, 20, 550, 50]
BlockMirror on
Value "0.5"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Gain
Name "Gain"
SID 39
Position [390, 15, 445, 55]
BlockMirror on
Gain "5e-1"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
SID 40
Position [350, 255, 395, 295]
BlockMirror on
Gain "5e-1"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
SID 41
Position [330, 441, 380, 479]
BlockMirror on
Gain "3.2e-1"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
SID 42
Position [105, 38, 150, 72]
Gain "4e-1"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator"
SID 43
Ports [1, 1]
Position [310, 110, 340, 140]
}
Block {
BlockType Integrator
Name "Integrator1"
SID 44
Ports [1, 1]
Position [310, 210, 340, 240]
}
Block {
BlockType Integrator
Name "Integrator2"
SID 45
Ports [1, 1]
Position [305, 340, 335, 370]
}
Block {
BlockType Math
Name "Math\nFunction"
SID 46
Ports [1, 1]
Position [385, 170, 415, 200]
BlockMirror on
Operator "square"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Product
Name "Product"
SID 47
Ports [2, 1]
Position [160, 312, 190, 343]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
SID 48
Ports [2, 1]
Position [190, 112, 220, 143]
Inputs "**"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
SID 49
Ports [2, 1]
Position [310, 17, 340, 88]
BlockMirror on
Inputs "**"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
SID 50
Ports [2, 1]
Position [260, 252, 290, 283]
BlockMirror on
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product4"
SID 51
Ports [2, 1]
Position [160, 367, 190, 398]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Rise"
SID 52
Position [35, 40, 65, 70]
Value "0.1"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType SubSystem
Name "sEPSP AP generator"
SID 53
Ports [1, 1]
Position [445, 334, 545, 376]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "sEPSP AP generator"
Location [2, 74, 1918, 1139]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "243"
Block {
BlockType Inport
Name "sEPSP amp"
SID 54
Position [25, 43, 55, 57]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Saturate
Name "Saturation"
SID 55
Ports [1, 1]
Position [95, 35, 125, 65]
UpperLimit "10000"
LowerLimit "0"
}
Block {
BlockType Fcn
Name "sEPSP APs"
SID 56
Position [165, 35, 225, 65]
Expr "(1/(1+exp((0.1-u)/0.02))) *(u^0.25)"
}
Block {
BlockType Outport
Name "AP freq"
SID 57
Position [275, 43, 305, 57]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "sEPSP amp"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "sEPSP APs"
SrcPort 1
DstBlock "AP freq"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "sEPSP APs"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Firing Rate"
SID 58
Position [560, 348, 590, 362]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [85, 0]
Branch {
Points [0, -55]
DstBlock "Product2"
DstPort 2
}
Branch {
DstBlock "Math\nFunction"
DstPort 1
}
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Rise"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Decay"
SrcPort 1
Points [-40, 0]
Branch {
Points [0, 240; -55, 0]
Branch {
Points [0, 185]
DstBlock "Gain2"
DstPort 1
}
Branch {
DstBlock "Gain1"
DstPort 1
}
}
Branch {
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [-75, 0]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Add1"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [10, 0; 0, 35; -25, 0]
Branch {
DstBlock "Product3"
DstPort 1
}
Branch {
Points [0, 40; -195, 0; 0, 20]
DstBlock "Product"
DstPort 1
}
}
Line {
SrcBlock "Integrator2"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 65; -235, 0]
Branch {
Points [-55, 0]
DstBlock "Add3"
DstPort 2
}
Branch {
Points [0, -45]
DstBlock "Product4"
DstPort 1
}
}
Branch {
DstBlock "sEPSP AP generator"
DstPort 1
}
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Add3"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [5, 0; 0, 15]
DstBlock "Add2"
DstPort 1
}
Line {
SrcBlock "Add2"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [-55, 0; 0, -40]
DstBlock "Add1"
DstPort 2
}
Line {
SrcBlock "Product4"
SrcPort 1
Points [5, 0; 0, -25]
DstBlock "Add2"
DstPort 2
}
Line {
SrcBlock "Add3"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [-180, 0]
DstBlock "Product4"
DstPort 2
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [15, 0; 0, 65]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [-180, 0; 0, 30]
DstBlock "Add1"
DstPort 1
}
Line {
SrcBlock "Input"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "sEPSP AP generator"
SrcPort 1
DstBlock "Firing Rate"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Firing Rate"
SID 59
Position [450, 98, 480, 112]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Fast EPSP"
SrcPort 1
DstBlock "Sigmoidal"
DstPort 1
}
Line {
SrcBlock "Slow EPSP"
SrcPort 1
DstBlock "second messenger\nsystem"
DstPort 1
}
Line {
SrcBlock "Combined Firing"
SrcPort 1
DstBlock "Firing Rate"
DstPort 1
}
Line {
SrcBlock "Sigmoidal"
SrcPort 1
Points [55, 0]
Branch {
Points [0, 20]
DstBlock "Combined Firing"
DstPort 1
}
Branch {
Points [0, -45]
DstBlock "fEPSP firing rate"
DstPort 1
}
}
Line {
SrcBlock "second messenger\nsystem"
SrcPort 1
Points [30, 0]
Branch {
Points [0, -25]
DstBlock "Combined Firing"
DstPort 2
}
Branch {
Points [0, 65]
DstBlock "sEPSP firing rate"
DstPort 1
}
}
}
}
Block {
BlockType Scope
Name "Excitatory\nMotor Neuron\nActivity"
SID 60
Ports [1]
Position [409, 335, 441, 365]
BlockRotation 270
BlockMirror on
DropShadow on
NamePlacement "alternate"
Floating off
Location [13, 56, 337, 295]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveToWorkspace on
SaveName "Excitatory_Motor_Neurons"
DataFormat "Array"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Gain
Name "Gain1"
SID 61
Position [210, 22, 235, 58]
NamePlacement "alternate"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
SID 62
Position [280, 120, 305, 150]
BlockMirror on
NamePlacement "alternate"
Gain "0"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
SID 63
Position [380, 155, 410, 185]
BlockRotation 270
BlockMirror on
NamePlacement "alternate"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain4"
SID 64
Position [435, 155, 465, 185]
BlockRotation 270
BlockMirror on
Gain "0"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain5"
SID 65
Position [560, 155, 590, 185]
BlockRotation 270
BlockMirror on
NamePlacement "alternate"
Gain "0"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain6"
SID 66
Position [615, 155, 645, 185]
BlockRotation 270
BlockMirror on
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain7"
SID 67
Position [115, 190, 145, 215]
BlockRotation 270
NamePlacement "alternate"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain8"
SID 68
Position [192, 185, 228, 220]
BlockRotation 270
Gain "0.5"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType SubSystem
Name "Inhibitory\nMotor\nNeurons"
SID 69
Ports [2, 1]
Position [547, 210, 658, 275]
BlockRotation 270
BlockMirror on
BackgroundColor "gray"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Inhibitory\nMotor\nNeurons"
Location [2, 74, 1918, 1139]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "195"
Block {
BlockType Inport
Name "Fast EPSP"
SID 70
Position [35, 78, 65, 92]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Slow EPSP"
SID 71
Position [35, 143, 65, 157]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType SubSystem
Name "Combined Firing"
SID 72
Ports [2, 1]
Position [325, 54, 405, 181]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Combined Firing"
Location [962, 264, 1460, 564]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "fEPSP"
SID 73
Position [25, 68, 55, 82]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "sEPSP"
SID 74
Position [25, 138, 55, 152]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Sum
Name "Add"
SID 75
Ports [2, 1]
Position [355, 92, 385, 123]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain"
SID 76
Position [240, 129, 295, 171]
Gain "0.1"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType MinMax
Name "Max"
SID 77
Ports [2, 1]
Position [125, 62, 155, 93]
Function "max"
Inputs "2"
InputSameDT off
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType MinMax
Name "Min"
SID 78
Ports [2, 1]
Position [125, 132, 155, 163]
Function "min"
Inputs "2"
InputSameDT off
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
SID 79
Position [420, 103, 450, 117]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "fEPSP"
SrcPort 1
Points [25, 0]
Branch {
Points [0, 65]
DstBlock "Min"
DstPort 1
}
Branch {
Points [0, -5]
DstBlock "Max"
DstPort 1
}
}
Line {
SrcBlock "sEPSP"
SrcPort 1
Points [35, 0]
Branch {
Points [0, -60]
DstBlock "Max"
DstPort 2
}
Branch {
Points [0, 10]
DstBlock "Min"
DstPort 2
}
}
Line {
SrcBlock "Max"
SrcPort 1
Points [90, 0; 0, 20]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Min"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [20, 0; 0, -35]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Second messenger\nsystem"
SID 80
Ports [1, 1]
Position [115, 128, 245, 172]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Second messenger\nsystem"
Location [892, 452, 1589, 1016]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Input"
SID 81
Position [35, 163, 65, 177]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Sum
Name "Add"
SID 82
Ports [2, 1]
Position [285, 142, 315, 173]
Inputs "-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
SID 83
Ports [2, 1]
Position [250, 252, 280, 283]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add2"
SID 84
Ports [2, 1]
Position [250, 352, 290, 448]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add3"
SID 85
Ports [2, 1]
Position [95, 362, 125, 393]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Constant"
SID 86
Position [20, 355, 50, 385]
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Decay"
SID 87
Position [540, 45, 570, 75]
BlockMirror on
Value "0.5"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Gain
Name "Gain"
SID 88
Position [415, 43, 465, 77]
BlockMirror on
Gain "5e-1"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
SID 89
Position [370, 304, 410, 336]
BlockMirror on
Gain "5e-1"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
SID 90
Position [355, 483, 410, 517]
BlockMirror on
Gain "3.2e-1"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
SID 91
Position [135, 82, 185, 118]
Gain "4e-1"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator"
SID 92
Ports [1, 1]
Position [340, 145, 370, 175]
}
Block {
BlockType Integrator
Name "Integrator1"
SID 93
Ports [1, 1]
Position [340, 255, 370, 285]
}
Block {
BlockType Integrator
Name "Integrator2"
SID 94
Ports [1, 1]
Position [335, 385, 365, 415]
}
Block {
BlockType Math
Name "Math\nFunction"
SID 95
Ports [1, 1]
Position [415, 215, 445, 245]
BlockMirror on
Operator "square"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Product
Name "Product"
SID 96
Ports [2, 1]
Position [165, 357, 195, 388]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
SID 97
Ports [2, 1]
Position [215, 147, 245, 178]
Inputs "**"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
SID 98
Ports [2, 1]
Position [340, 47, 370, 103]
BlockMirror on
Inputs "**"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
SID 99
Ports [2, 1]
Position [285, 297, 315, 328]
BlockMirror on
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product4"
SID 100
Ports [2, 1]
Position [190, 407, 220, 438]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Rise"
SID 101
Position [50, 85, 80, 115]
Value "0.1"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType SubSystem
Name "sEPSP AP generator"
SID 102
Ports [1, 1]
Position [455, 379, 555, 421]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "sEPSP AP generator"
Location [698, 160, 1067, 296]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "sEPSP amp"
SID 103
Position [30, 43, 60, 57]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Saturate
Name "Saturation"
SID 104
Ports [1, 1]
Position [100, 35, 130, 65]
UpperLimit "10000"
LowerLimit "0"
}
Block {
BlockType Fcn
Name "sEPSP APs"
SID 105
Position [170, 35, 230, 65]
Expr "(1/(1+exp((0.1-u)/0.02))) *(u^0.25)"
}
Block {
BlockType Outport
Name "AP freq"
SID 106
Position [270, 43, 300, 57]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "sEPSP amp"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "sEPSP APs"
SrcPort 1
DstBlock "AP freq"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "sEPSP APs"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Phosphorylated K"
SID 107
Position [590, 393, 620, 407]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [85, 0]
Branch {
Points [0, -70]
DstBlock "Product2"
DstPort 2
}
Branch {
DstBlock "Math\nFunction"
DstPort 1
}
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Rise"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Decay"
SrcPort 1
Points [-30, 0]
Branch {
Points [0, 260; -70, 0]
Branch {
Points [0, 180]
DstBlock "Gain2"
DstPort 1
}
Branch {
DstBlock "Gain1"
DstPort 1
}
}
Branch {
Points [0, 0]
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [-65, 0]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Add1"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [10, 0; 0, 35; -25, 0]
Branch {
DstBlock "Product3"
DstPort 1
}
Branch {
Points [0, 40; -225, 0; 0, 20]
DstBlock "Product"
DstPort 1
}
}
Line {
SrcBlock "Integrator2"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 65; -235, 0]
Branch {
Points [-75, 0]
DstBlock "Add3"
DstPort 2
}
Branch {
Points [0, -50]
DstBlock "Product4"
DstPort 1
}
}
Branch {
DstBlock "sEPSP AP generator"
DstPort 1
}
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Add2"
DstPort 1
}
Line {
SrcBlock "Add2"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [-50, 0; 0, -40]
DstBlock "Add1"
DstPort 2
}
Line {
SrcBlock "Product4"
SrcPort 1
DstBlock "Add2"
DstPort 2
}
Line {
SrcBlock "Add3"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [-175, 0]
DstBlock "Product4"
DstPort 2
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [10, 0]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [-180, 0; 0, 30]
DstBlock "Add1"
DstPort 1
}
Line {
SrcBlock "Input"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "sEPSP AP generator"
SrcPort 1
DstBlock "Phosphorylated K"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Add3"
DstPort 1
}
}
}
Block {
BlockType Fcn
Name "Sigmoidal"
SID 108
Position [150, 70, 210, 100]
Expr "0.93/(1+exp((0.5-u)/0.075))"
}
Block {
BlockType Scope
Name "fEPSP firing rate"
SID 109
Ports [1]
Position [264, 20, 296, 50]
BlockRotation 270
Floating off
Location [6, 357, 330, 596]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "sEPSP firing rate"
SID 110
Ports [1]
Position [264, 215, 296, 245]
BlockRotation 270
BlockMirror on
NamePlacement "alternate"
Floating off
Location [6, 57, 330, 296]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Outport
Name "Firing Rate"
SID 111
Position [465, 113, 495, 127]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Fast EPSP"
SrcPort 1
DstBlock "Sigmoidal"
DstPort 1
}
Line {
SrcBlock "Slow EPSP"
SrcPort 1
DstBlock "Second messenger\nsystem"
DstPort 1
}
Line {
SrcBlock "Combined Firing"
SrcPort 1
DstBlock "Firing Rate"
DstPort 1
}
Line {
SrcBlock "Sigmoidal"
SrcPort 1
Points [65, 0]
Branch {
DstBlock "Combined Firing"
DstPort 1
}
Branch {
DstBlock "fEPSP firing rate"
DstPort 1
}
}
Line {
SrcBlock "Second messenger\nsystem"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Combined Firing"
DstPort 2
}
Branch {
DstBlock "sEPSP firing rate"
DstPort 1
}
}
}
}
Block {
BlockType Scope
Name "Inhibitory\nMotor Neuron\nActivity"
SID 112
Ports [1]
Position [589, 335, 621, 365]
BlockRotation 270
BlockMirror on
DropShadow on
Floating off
Location [13, 522, 337, 761]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveToWorkspace on
SaveName "Inhbitory_Motor_Neurons"
DataFormat "Array"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Sensory Neuron Activity"
SID 113
Ports [1]
Position [615, 39, 645, 71]
DropShadow on
NamePlacement "alternate"
Floating off
Location [859, 56, 1183, 298]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "0"
YMax "1"
SaveToWorkspace on
SaveName "Sensory_Neurons"
DataFormat "Array"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Sensory Neurons"
SID 114
Ports [2, 1]
Position [385, 25, 485, 85]
BackgroundColor "gray"
NamePlacement "alternate"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Sensory Neurons"
Location [2, 82, 1902, 1147]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "a4letter"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "195"
Block {
BlockType Inport
Name "PPP"
SID 115
Position [20, 68, 50, 82]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Slow EPSP"
SID 116
Position [20, 408, 50, 422]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType SubSystem
Name "Combined Firing"
SID 117
Ports [2, 1]
Position [400, 84, 500, 126]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Combined Firing"
Location [2, 82, 1902, 1147]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "243"
Block {
BlockType Inport
Name "PPP"
SID 118
Position [25, 63, 55, 77]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "sEPSP"
SID 119
Position [25, 148, 55, 162]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Sum
Name "Add"
SID 120
Ports [2, 1]
Position [280, 47, 335, 183]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "J"
SID 121
Position [195, 129, 250, 171]
Gain "0.05"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType MinMax
Name "Max"
SID 122
Ports [2, 1]
Position [125, 62, 155, 93]
Function "max"
Inputs "2"
InputSameDT off
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType MinMax
Name "Min"
SID 123
Ports [2, 1]
Position [125, 132, 155, 163]
Function "min"
Inputs "2"
InputSameDT off
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
SID 124
Position [365, 108, 395, 122]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "PPP"
SrcPort 1
Points [25, 0]
Branch {
Points [0, 70]
DstBlock "Min"
DstPort 1
}
Branch {
Points [0, 0]
DstBlock "Max"
DstPort 1
}
}
Line {
SrcBlock "sEPSP"
SrcPort 1
Points [35, 0]
Branch {
Points [0, -70]
DstBlock "Max"
DstPort 2
}
Branch {
Points [0, 0]
DstBlock "Min"
DstPort 2
}
}
Line {
SrcBlock "Max"
SrcPort 1
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Min"
SrcPort 1
DstBlock "J"
DstPort 1
}
Line {
SrcBlock "J"
SrcPort 1
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType DeadZone
Name "Delay"
SID 125
Position [265, 60, 295, 90]
LowerValue "-1000"
UpperValue "0.017"
}
Block {
BlockType DeadZone
Name "Delay1"
SID 126
Position [265, 125, 295, 155]
LowerValue "-1000"
UpperValue "0"
}
Block {
BlockType SubSystem
Name "Internal Ca"
SID 127
Ports [1, 1]
Position [539, 215, 581, 315]
BlockRotation 270
BlockMirror on
NamePlacement "alternate"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Internal Ca"
Location [2, 82, 1902, 1147]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "243"
Block {
BlockType Inport
Name "Firing rate"
SID 128
Position [25, 53, 55, 67]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Scope
Name "AHP"
SID 129
Ports [1]
Position [435, 44, 465, 76]
Floating off
Location [980, 95, 1304, 334]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "AHP"
DataFormat "Array"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Gain
Name "Ca entry (K)"
SID 130
Position [135, 42, 160, 78]
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Calcium"
SID 131
Ports [1, 1]
Position [295, 45, 325, 75]
}
Block {
BlockType Gain
Name "Decay rate"
SID 132
Position [285, 110, 320, 150]
BlockMirror on
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
SID 133
Ports [2, 1]
Position [200, 50, 220, 70]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "[Ca]"
SID 134
Position [435, 123, 465, 137]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Firing rate"
SrcPort 1
DstBlock "Ca entry (K)"
DstPort 1
}
Line {
SrcBlock "Calcium"
SrcPort 1
Points [40, 0]
Branch {
DstBlock "AHP"
DstPort 1
}
Branch {
Points [0, 70]
Branch {
DstBlock "Decay rate"
DstPort 1
}
Branch {
DstBlock "[Ca]"
DstPort 1
}
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Calcium"
DstPort 1
}
Line {
SrcBlock "Ca entry (K)"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Decay rate"
SrcPort 1
Points [-70, 0]
DstBlock "Sum1"
DstPort 2
}
}
}
Block {
BlockType Scope
Name "PPP firing rate"
SID 135
Ports [1]
Position [375, 14, 405, 46]
Floating off
Location [6, 357, 330, 596]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "fEPSPFR"
DataFormat "Array"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Fcn
Name "Sigmoidal"
SID 136
Position [80, 60, 140, 90]
Expr "0.93/(1+exp((0.4-u)/0.1))"
}
Block {
BlockType Sum
Name "Sum"
SID 137
Ports [2, 1]
Position [205, 65, 225, 85]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType SubSystem
Name "sEPSP AHP interaction"
SID 138
Ports [2, 2]
Position [316, 320, 374, 400]
BlockRotation 270
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "sEPSP AHP interaction"
Location [2, 82, 1902, 1147]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "243"
Block {
BlockType Inport
Name "K"
SID 139
Position [15, 78, 45, 92]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "[Ca]"
SID 140
Position [15, 123, 45, 137]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Fcn
Name "Fcn"
SID 141
Position [180, 115, 240, 145]
Expr "((1-u[2])*u[3]) + (u[1]*u[2]*u[3])"
}
Block {
BlockType Fcn
Name "Fcn1"
SID 142
Position [180, 15, 240, 45]
Expr "((1-u[3])*u[2]) + ((1-u[1])*u[2]*u[3])"
}
Block {
BlockType Mux
Name "Mux"
SID 143
Ports [3, 1]
Position [135, 66, 140, 104]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Constant
Name "rho"
SID 144
Position [15, 15, 45, 45]
Value "0.5"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "sEPSP"
SID 145
Position [290, 23, 320, 37]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "AHP"
SID 146
Position [290, 123, 320, 137]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Fcn"
DstPort 1
}
Branch {
DstBlock "Fcn1"
DstPort 1
}
}
Line {
SrcBlock "rho"
SrcPort 1
Points [70, 0]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "K"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "[Ca]"
SrcPort 1
Points [70, 0]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "AHP"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "sEPSP"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "sEPSP AP generator"
SID 147
Ports [1, 1]
Position [60, 119, 160, 161]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "sEPSP AP generator"
Location [2, 82, 1902, 1147]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "243"
Block {
BlockType Inport
Name "sEPSP amp"
SID 148
Position [25, 43, 55, 57]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Fcn
Name "sEPSP APs"
SID 149
Position [95, 35, 155, 65]
Expr "(0.6/(1+exp((0.1-u)/0.003))) *(u^0.25)"
}
Block {
BlockType Outport
Name "AP freq"
SID 150
Position [195, 43, 225, 57]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "sEPSP amp"
SrcPort 1
DstBlock "sEPSP APs"
DstPort 1
}
Line {
SrcBlock "sEPSP APs"
SrcPort 1
DstBlock "AP freq"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "sEPSP firing rate"
SID 151
Ports [1]
Position [375, 164, 405, 196]
Floating off
Location [8, 359, 332, 598]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType SubSystem
Name "second messenger\nsystem"
SID 152
Ports [1, 1]
Position [100, 393, 275, 437]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "second messenger\nsystem"
Location [2, 82, 1902, 1147]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "195"
Block {
BlockType Inport
Name "sEPSP\ninput"
SID 153
Position [30, 143, 60, 157]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Sum
Name "Add"
SID 154
Ports [2, 1]
Position [275, 122, 305, 153]
Inputs "-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
SID 155
Ports [2, 1]
Position [235, 232, 265, 263]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add2"
SID 156
Ports [2, 1]
Position [270, 332, 305, 423]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add3"
SID 157
Ports [2, 1]
Position [85, 342, 115, 373]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Constant"
SID 158
Position [30, 335, 60, 365]
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Decay"
SID 159
Position [530, 30, 560, 60]
BlockMirror on
Value "0.5"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Gain
Name "Gain"
SID 160
Position [400, 25, 440, 65]
BlockMirror on
Gain "5e-1"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
SID 161
Position [365, 284, 415, 316]
BlockMirror on
Gain "5e-1"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
SID 162
Position [360, 465, 420, 505]
BlockMirror on
Gain "3.2e-1"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
SID 163
Position [125, 62, 170, 98]
Gain "4e-1"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator"
SID 164
Ports [1, 1]
Position [325, 125, 355, 155]
}
Block {
BlockType Integrator
Name "Integrator1"
SID 165
Ports [1, 1]
Position [325, 235, 355, 265]
}
Block {
BlockType Integrator
Name "Integrator2"
SID 166
Ports [1, 1]
Position [360, 360, 390, 390]
}
Block {
BlockType Math
Name "Math\nFunction"
SID 167
Ports [1, 1]
Position [400, 195, 430, 225]
BlockMirror on
Operator "square"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Product
Name "Product"
SID 168
Ports [2, 1]
Position [190, 337, 220, 368]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
SID 169
Ports [2, 1]
Position [205, 127, 235, 158]
Inputs "**"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
SID 170
Ports [2, 1]
Position [325, 30, 355, 90]
BlockMirror on
Inputs "**"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
SID 171
Ports [2, 1]
Position [275, 277, 305, 308]
BlockMirror on
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product4"
SID 172
Ports [2, 1]
Position [190, 382, 220, 413]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Rise"
SID 173
Position [30, 65, 60, 95]
Value "0.5"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "phosphorylated\nchannel"
SID 174
Position [530, 368, 560, 382]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [85, 0]
Branch {
Points [0, -60; -75, 0]
DstBlock "Product2"
DstPort 2
}
Branch {
DstBlock "Math\nFunction"
DstPort 1
}
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Rise"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Decay"
SrcPort 1
Points [-35, 0]
Branch {
Points [0, 255; -35, 0]
Branch {
Points [0, 185]
DstBlock "Gain2"
DstPort 1
}
Branch {
DstBlock "Gain1"
DstPort 1
}
}
Branch {
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [-60, 0]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Add1"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [10, 0; 0, 35; -25, 0]
Branch {
DstBlock "Product3"
DstPort 1
}
Branch {
Points [0, 40; -185, 0; 0, 20]
DstBlock "Product"
DstPort 1
}
}
Line {
SrcBlock "Integrator2"
SrcPort 1
Points [25, 0]
Branch {
Points [0, 70; -280, 0]
Branch {
Points [-70, 0]
DstBlock "Add3"
DstPort 2
}
Branch {
Points [0, -55]
DstBlock "Product4"
DstPort 1
}
}
Branch {
DstBlock "phosphorylated\nchannel"
DstPort 1
}
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Add3"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Add2"
DstPort 1
}
Line {
SrcBlock "Add2"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [-60, 0; 0, -40]
DstBlock "Add1"
DstPort 2
}
Line {
SrcBlock "Product4"
SrcPort 1
DstBlock "Add2"
DstPort 2
}
Line {
SrcBlock "Add3"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [-180, 0]
DstBlock "Product4"
DstPort 2
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [10, 0; 0, 55]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [-185, 0; 0, 30]
DstBlock "Add1"
DstPort 1
}
Line {
SrcBlock "sEPSP\ninput"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
}
}
Block {
BlockType Outport
Name "Firing Rate"
SID 175
Position [580, 33, 610, 47]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "PPP"
SrcPort 1
DstBlock "Sigmoidal"
DstPort 1
}
Line {
SrcBlock "Slow EPSP"
SrcPort 1
DstBlock "second messenger\nsystem"
DstPort 1
}
Line {
SrcBlock "Combined Firing"
SrcPort 1
Points [10, 0]
Branch {
Points [45, 0]
DstBlock "Internal Ca"
DstPort 1
}
Branch {
Points [0, -65]
DstBlock "Firing Rate"
DstPort 1
}
}
Line {
SrcBlock "Sigmoidal"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Delay"
DstPort 1
}
Line {
SrcBlock "Delay"
SrcPort 1
Points [20, 0]
Branch {
Points [0, -45]
DstBlock "PPP firing rate"
DstPort 1
}
Branch {
Points [0, 20]
DstBlock "Combined Firing"
DstPort 1
}
}
Line {
SrcBlock "second messenger\nsystem"
SrcPort 1
DstBlock "sEPSP AHP interaction"
DstPort 1
}
Line {
SrcBlock "Internal Ca"
SrcPort 1
Points [0, 95]
DstBlock "sEPSP AHP interaction"
DstPort 2
}
Line {
SrcBlock "sEPSP AHP interaction"
SrcPort 1
Points [0, -35; -310, 0; 0, -140]
DstBlock "sEPSP AP generator"
DstPort 1
}
Line {
SrcBlock "Delay1"
SrcPort 1
Points [20, 0]
Branch {
Points [0, -25]
DstBlock "Combined Firing"
DstPort 2
}
Branch {
Points [0, 40]
DstBlock "sEPSP firing rate"
DstPort 1
}
}
Line {
SrcBlock "sEPSP AP generator"
SrcPort 1
DstBlock "Delay1"
DstPort 1
}
Line {
SrcBlock "sEPSP AHP interaction"
SrcPort 2
Points [0, -80; -145, 0]
DstBlock "Sum"
DstPort 2
}
}
}
Block {
BlockType Sum
Name "Sum"
SID 176
Ports [2, 1]
Position [500, 290, 520, 310]
BlockRotation 270
BlockMirror on
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "+|-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
SID 177
Ports [2, 1]
Position [120, 30, 140, 50]
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
SID 178
Ports [2, 1]
Position [200, 125, 220, 145]
BlockRotation 270
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Line {
SrcBlock "Sensory Neurons"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Sensory Neuron Activity"
DstPort 1
}
Branch {
Points [0, 80]
Branch {
Points [-110, 0]
Branch {
DstBlock "Gain2"
DstPort 1
}
Branch {
DstBlock "Gain3"
DstPort 1
}
}
Branch {
Points [-55, 0]
Branch {
DstBlock "Gain4"
DstPort 1
}
Branch {
Points [125, 0]
Branch {
Points [55, 0]
DstBlock "Gain6"
DstPort 1
}
Branch {
DstBlock "Gain5"
DstPort 1
}
}
}
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sensory Neurons"
DstPort 1
}
Line {
SrcBlock "Constant \nNutrient Stimulus"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "5HT release"
SrcPort 1
Points [-40, 0]
Branch {
DstBlock "5HT"
DstPort 1
}
Branch {
Points [-65, 0]
Branch {
Points [-80, 0]
DstBlock "Gain7"
DstPort 1
}
Branch {
DstBlock "Gain8"
DstPort 1
}
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [0, -50]
DstBlock "Sensory Neurons"
DstPort 2
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Gain7"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Excitatory\nMotor\nNeurons"
SrcPort 1
Points [0, 20]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
DstBlock "Excitatory\nMotor Neuron\nActivity"
DstPort 1
}
}
Line {
SrcBlock "Inhibitory\nMotor\nNeurons"
SrcPort 1
Points [0, 20]
Branch {
DstBlock "Sum"
DstPort 2
}
Branch {
DstBlock "Inhibitory\nMotor Neuron\nActivity"
DstPort 1
}
}
Line {
SrcBlock "Circular\nMuscle\nResponse"
SrcPort 1
Points [0, 30]
Branch {
DstBlock "5HT release"
DstPort 1
}
Branch {
DstBlock "Circular Muscle Activity"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Circular\nMuscle\nResponse"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Excitatory\nMotor\nNeurons"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Excitatory\nMotor\nNeurons"
DstPort 2
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Inhibitory\nMotor\nNeurons"
DstPort 1
}
Line {
SrcBlock "Gain6"
SrcPort 1
DstBlock "Inhibitory\nMotor\nNeurons"
DstPort 2
}
Line {
SrcBlock "Gain8"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
}
}