📄 configurelib.mdl
字号:
Library {
Name "configurelib"
Version 4.00
LibraryLinkDisplay "none"
CovSaveName "covdata"
CovNameIncrementing off
CovHtmlReporting on
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar off
StatusBar off
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Fri Mar 19 16:31:00 1999"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "obas"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Sun Aug 20 15:36:46 2000"
ModelVersionFormat "1.%<AutoIncrement:9>"
ConfigurationManager "none"
DefaultBlockFontName "Helvetica"
DefaultBlockFontSize 10
DefaultBlockFontWeight "normal"
DefaultBlockFontAngle "normal"
DefaultAnnotationFontName "Helvetica"
DefaultAnnotationFontSize 10
DefaultAnnotationFontWeight "normal"
DefaultAnnotationFontAngle "normal"
DefaultLineFontName "Helvetica"
DefaultLineFontSize 9
DefaultLineFontWeight "normal"
DefaultLineFontAngle "normal"
SimParamPage "Solver"
AlgebraicLoopMsg "warning"
MinStepSizeMsg "warning"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
InheritedTsInSrcMsg "warning"
SingleTaskRateTransMsg "none"
MultiTaskRateTransMsg "error"
IntegerOverflowMsg "warning"
CheckForMatrixSingularity "none"
UnnecessaryDatatypeConvMsg "none"
Int32ToFloatConvMsg "warning"
SignalLabelMismatchMsg "none"
LinearizationMsg "none"
VectorMatrixConversionMsg "none"
SfunCompatibilityCheckMsg "none"
BlockPriorityViolationMsg "warning"
ArrayBoundsChecking "none"
ConsistencyChecking "none"
Profile off
SimulationMode "normal"
RTWRetainRTWFile off
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
TLCProfiler off
TLCDebug off
TLCCoverage off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "normal"
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 on
ExtModeLogAll on
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 "configurelib"
Location [652, 215, 855, 546]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom off
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "Configurable\nSubsystem"
Ports [1, 1]
Position [60, 191, 135, 249]
ShowPortLabels on
BlockChoice "convert1"
TemplateBlock "self"
MemberBlocks "convert1,convert3,convert4"
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Configurable\nSubsystem"
Location [148, 182, 646, 482]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "F"
Position [20, 40, 40, 60]
FontName "MS Sans Serif"
Port "1"
Interpolate on
}
Block {
BlockType Reference
Name "convert1"
Ports [1, 1]
Position [100, 40, 140, 80]
SourceBlock "configurelib/convert1"
SourceType "SubSystem"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
}
Block {
BlockType Outport
Name "C"
Position [200, 40, 220, 60]
FontName "MS Sans Serif"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "F"
SrcPort 1
DstBlock "convert1"
DstPort 1
}
Line {
SrcBlock "convert1"
SrcPort 1
DstBlock "C"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "convert1"
Ports [1, 1]
Position [20, 12, 75, 68]
BackgroundColor "lightBlue"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "convert1"
Location [590, 261, 898, 397]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "F"
Position [30, 33, 60, 47]
Port "1"
Interpolate on
}
Block {
BlockType Constant
Name "Constant"
Position [70, 90, 100, 120]
ShowName off
Value "32"
VectorParams1D on
}
Block {
BlockType Gain
Name "Gain"
Position [195, 25, 225, 55]
ShowName off
Gain "5/9"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [115, 30, 135, 50]
ShowName off
IconShape "round"
Inputs "|+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "C"
Position [265, 33, 295, 47]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "C"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [20, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "F"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "convert2"
Ports [1, 1]
Position [95, 12, 150, 68]
BackgroundColor "orange"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "convert2"
Location [587, 411, 839, 503]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "F"
Position [30, 28, 60, 42]
Port "1"
Interpolate on
}
Block {
BlockType Fcn
Name "Fcn"
Position [90, 20, 150, 50]
Expr "5/9*(u-32)"
}
Block {
BlockType Outport
Name "C"
Position [185, 28, 215, 42]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "F"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "C"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "convert3"
Ports [1, 1]
Position [20, 94, 75, 146]
BackgroundColor "magenta"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "convert3"
Location [724, 612, 944, 694]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "F"
Position [25, 33, 55, 47]
Port "1"
Interpolate on
}
Block {
BlockType MATLABFcn
Name "MATLAB Fcn"
Position [80, 25, 140, 55]
MATLABFcn "5/9*(u-32)"
OutputDimensions "-1"
OutputSignalType "auto"
Output1D on
}
Block {
BlockType Outport
Name "C"
Position [165, 33, 195, 47]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "MATLAB Fcn"
SrcPort 1
DstBlock "C"
DstPort 1
}
Line {
SrcBlock "F"
SrcPort 1
DstBlock "MATLAB Fcn"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "convert4"
Ports [1, 1]
Position [100, 94, 155, 146]
BackgroundColor "darkGreen"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "convert4"
Location [726, 614, 946, 696]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "F"
Position [25, 33, 55, 47]
Port "1"
Interpolate on
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [1, 1]
Position [80, 25, 140, 55]
FunctionName "myconvert"
PortCounts "[]"
SFunctionModules "''"
}
Block {
BlockType Outport
Name "C"
Position [165, 33, 195, 47]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "F"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
Line {
SrcBlock "S-Function"
SrcPort 1
DstBlock "C"
DstPort 1
}
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -