📄 fig1_01bsim.mdl
字号:
Model {
Name "fig101a"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes off
StartTime "0.0"
StopTime "10"
SolverMode "Auto"
Solver "ode45"
RelTol "1e-3"
AbsTol "auto"
Refine "1"
MaxStep "auto"
InitialStep "auto"
FixedStep "auto"
MaxOrder 5
OutputOption "RefineOutputTimes"
OutputTimes "[]"
LoadExternalInput off
ExternalInput "[t, u]"
SaveTime on
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput on
OutputSaveName "yout"
LoadInitialState off
InitialState "xInitial"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Matrix"
LimitMaxRows on
MaxRows "50000"
Decimation "1"
AlgebraicLoopMsg "warning"
MinStepSizeMsg "warning"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
InheritedTsInSrcMsg "warning"
IntegerOverflowMsg "warning"
UnnecessaryDatatypeConvMsg "none"
Int32ToFloatConvMsg "warning"
SignalLabelMismatchMsg "none"
ConsistencyChecking "off"
ZeroCross on
SimulationMode "normal"
BlockDataTips on
BlockParametersDataTip on
BlockAttributesDataTip off
BlockPortWidthsDataTip off
BlockDescriptionStringDataTip off
BlockMaskParametersDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
OptimizeBlockIOStorage on
BufferReuse on
BooleanDataType off
RTWSystemTargetFile "grt.tlc"
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "oneshot"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
ExtModeArmWhenConnect off
Created "Wed Nov 29 16:08:28 2000"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Fri Dec 01 13:21:42 2000"
ModelVersionFormat "1.%<AutoIncrement:12>"
ConfigurationManager "none"
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
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 "fig101a"
Location [195, 125, 605, 591]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
ReportName "simulink-default.rpt"
Block {
BlockType Gain
Name " Furnace"
Position [395, 215, 425, 245]
Gain "112.5"
SaturateOnIntegerOverflow off
}
Block {
BlockType Step
Name " Outside\ntemperature"
Position [455, 155, 485, 185]
Orientation "down"
NamePlacement "alternate"
Time "0"
Before "0"
After "5"
SampleTime "0.01"
}
Block {
BlockType Step
Name " Reference\n Temperature"
Position [205, 215, 235, 245]
Time "6"
Before "10"
After "20"
SampleTime "0.01"
}
Block {
BlockType TransferFcn
Name " Room"
Position [500, 212, 560, 248]
Numerator "[1]"
Denominator "[11.25 1]"
}
Block {
BlockType Relay
Name " Thermostat"
Position [330, 215, 360, 245]
OnSwitchValue ".5"
OffSwitchValue "-.5"
OnOutputValue "1."
OffOutputValue "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1, 0, 0, 0]
Position [275, 220, 295, 240]
ShowName off
IconShape "round"
Inputs "|+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1, 0, 0, 0]
Position [460, 220, 480, 240]
ShowName off
IconShape "round"
Inputs "++|"
SaturateOnIntegerOverflow on
}
Block {
BlockType Scope
Name "heatin"
Ports [1, 0, 0, 0, 0]
Position [530, 114, 560, 146]
Floating off
Location [6, 355, 330, 594]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "auto"
YMin "0"
YMax "2"
SaveToWorkspace on
SaveName "heatin"
DataFormat "Matrix"
LimitMaxRows on
MaxRows "50000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "roomtemp"
Ports [1, 0, 0, 0, 0]
Position [635, 214, 665, 246]
Floating off
Location [372, 333, 696, 572]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "auto"
YMin "-2"
YMax "2"
SaveToWorkspace on
SaveName "roomtemp"
DataFormat "Matrix"
LimitMaxRows off
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Line {
SrcBlock " Outside\ntemperature"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock " Reference\n Temperature"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock " Room"
DstPort 1
}
Line {
SrcBlock " Furnace"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock " Room"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 55; -290, 0]
DstBlock "Sum"
DstPort 2
}
Branch {
DstBlock "roomtemp"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock " Thermostat"
DstPort 1
}
Line {
SrcBlock " Thermostat"
SrcPort 1
Points [5, 0]
Branch {
DstBlock " Furnace"
DstPort 1
}
Branch {
Points [0, -100]
DstBlock "heatin"
DstPort 1
}
}
Annotation {
Position [473, 83]
Text "Figure 1.1(a) Graph of system for feedback cont"
"rol of house temperature."
FontSize 14
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -