📄 hsp.mdl
字号:
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope6"
Ports [1]
Position [555, 64, 585, 96]
Floating off
Location [5, 58, 805, 601]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "auto"
YMin "2.85"
YMax "3.125"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope7"
Ports [1]
Position [685, 539, 715, 571]
Floating off
Location [5, 58, 805, 607]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "auto"
YMin "1.5"
YMax "3.6"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope8"
Ports [1]
Position [725, 594, 755, 626]
Floating off
Location [5, 58, 805, 601]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "auto"
YMin "0"
YMax "90"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope9"
Ports [1]
Position [320, 479, 350, 511]
Floating off
Location [5, 58, 805, 601]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "auto"
YMin "0.6"
YMax "1.025"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Stop"
Ports [1, 1]
Position [405, 632, 465, 668]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Stop"
Location [6, 84, 802, 580]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In1"
Position [150, 163, 180, 177]
Port "1"
Interpolate on
}
Block {
BlockType Clock
Name "Clock"
Position [125, 110, 145, 130]
DisplayTime off
Decimation "10"
}
Block {
BlockType Constant
Name "Constant"
Position [155, 55, 185, 85]
Value "0"
VectorParams1D on
}
Block {
BlockType Switch
Name "Switch"
Position [255, 105, 285, 135]
Threshold "50"
}
Block {
BlockType Outport
Name "mPhi"
Position [380, 113, 410, 127]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "In1"
SrcPort 1
Points [55, 0]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [50, 0]
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Switch"
SrcPort 1
DstBlock "mPhi"
DstPort 1
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "Switch"
DstPort 2
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [12, 1]
Position [260, 37, 305, 493]
ShowName off
IconShape "rectangular"
Inputs "|++++++++++++"
SaturateOnIntegerOverflow on
}
Block {
BlockType SubSystem
Name "Sympathetic Pathway"
Ports [1, 1]
Position [550, 139, 590, 171]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Sympathetic Pathway"
Location [2, 80, 798, 543]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "fcs"
Position [15, 93, 45, 107]
Port "1"
Interpolate on
}
Block {
BlockType Constant
Name "Constant"
Position [270, 155, 300, 185]
Value "fes1"
VectorParams1D on
}
Block {
BlockType Gain
Name "Gain"
Position [80, 84, 130, 116]
Gain "-kes"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Gain1"
Position [230, 83, 305, 117]
Gain "fes0-fes1"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [165, 85, 195, 115]
Operator "exp"
OutputSignalType "auto"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [345, 80, 365, 120]
ShowName off
IconShape "rectangular"
Inputs "|++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "fes"
Position [410, 93, 440, 107]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [25, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "fes"
DstPort 1
}
Line {
SrcBlock "fcs"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "T"
Ports [2, 1]
Position [185, 571, 265, 609]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "T"
Location [-13, 84, 783, 580]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "fes"
Position [75, 88, 105, 102]
Port "1"
Interpolate on
}
Block {
BlockType Inport
Name "fev"
Position [80, 233, 110, 247]
Port "2"
Interpolate on
}
Block {
BlockType Constant
Name "Constant"
Position [135, 169, 200, 201]
Value "fesmin-1"
VectorParams1D on
}
Block {
BlockType Constant
Name "Constant1"
Position [485, 169, 550, 201]
Value "initx(7)"
VectorParams1D on
}
Block {
BlockType Gain
Name "Gain"
Position [400, 79, 450, 111]
Gain "Gx(7)"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Gain1"
Position [395, 224, 445, 256]
Gain "Gx(8)"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [335, 80, 365, 110]
Operator "log"
OutputSignalType "auto"
}
Block {
BlockType Saturate
Name "Saturation"
Position [280, 80, 310, 110]
UpperLimit "inf"
LowerLimit "1"
LinearizeAsGain on
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [230, 72, 255, 128]
ShowName off
IconShape "rectangular"
Inputs "|+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [3, 1]
Position [605, 124, 640, 236]
ShowName off
IconShape "rectangular"
Inputs "|+++"
SaturateOnIntegerOverflow on
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [485, 77, 545, 113]
Numerator "[1]"
Denominator "[toux(7) 1]"
Realization "auto"
AbsoluteTolerance "auto"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Position [485, 222, 545, 258]
Numerator "[1]"
Denominator "[toux(8) 1]"
Realization "auto"
AbsoluteTolerance "auto"
}
Block {
BlockType TransportDelay
Name "Transport\nDelay"
Position [150, 80, 180, 110]
DelayTime "Dx(7)"
InitialInput "0"
BufferSize "1024"
PadeOrder "0"
}
Block {
BlockType TransportDelay
Name "Transport\nDelay1"
Position [155, 225, 185, 255]
DelayTime "Dx(8)"
InitialInput "0"
BufferSize "1024"
PadeOrder "0"
}
Block {
BlockType Outport
Name "T"
Position [715, 168, 745, 182]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "fes"
SrcPort 1
DstBlock "Transport\nDelay"
DstPort 1
}
Line {
SrcBlock "Transport\nDelay"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [10, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -