📄 ddc.mdl
字号:
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
OutMin "[]"
OutMax "[]"
DataType "auto"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: auto"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType PMComponent
SubClassName "unknown"
}
Block {
BlockType Sensor
SubClassName "unknown"
PortType "blob"
}
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 ToWorkspace
VariableName "simulink_output"
MaxDataPoints "1000"
Decimation "1"
SampleTime "0"
FixptAsFi off
}
Block {
BlockType Terminator
}
Block {
BlockType PMIOPort
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
UseDisplayTextAsClickCallback off
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "ddc"
Location [221, 135, 868, 608]
Open on
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"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "DDC queue subsystem"
Ports [0, 6]
Position [15, 58, 245, 422]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "DDC queue subsystem"
Location [58, 99, 1062, 705]
Open on
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 Reference
Name "Average time in the system"
Ports [1]
Position [885, 377, 935, 413]
Priority "1"
UserDataPersistent on
UserData "DataTag0"
SourceBlock "simeventssink1/Signal Scope"
SourceType "Signal Scope"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
PlotType "Continuous"
InputType "Signal"
NumInputs "1"
AttributeNameY "Count"
XInputOptionSignal "Event time"
XInputOptionEntity "Event time"
AttributeNameX "Count"
EnableEntityOutport on
XMin "0"
XMax "10"
XLimitExceededOption "Stretch axis limits"
YMin "0"
YMax "10"
YLimitExceededOption "Stretch axis limits"
AxisGrid on
AxisLegend "off"
LineDisables " "
LineColors "b"
LineStyles "-"
LineMarkers "."
OpenScopeAtSimStart on
Title " "
YLabel " "
XLabel "Time"
FigurePosition "des_figposition([5 60 25 25])"
AxisZoom off
DataStoreOption "Limited"
DataPointsLimit "10000"
StatNumberArrived "Off"
ShowCountPlotted on
ShowToolbar on
}
Block {
BlockType Reference
Name "Entity Sink"
Ports [0, 0, 0, 0, 0, 1]
Position [875, 477, 945, 523]
Priority "1"
UserDataPersistent on
UserData "DataTag1"
SourceBlock "simeventssink1/Entity Sink"
SourceType "Entity Sink"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
AvailableForArrivals on
StatNumberArrived "Off"
}
Block {
BlockType Reference
Name "FIFO Queue"
Ports [0, 3, 0, 0, 0, 1, 1]
Position [245, 80, 335, 280]
Priority "1"
UserDataPersistent on
UserData "DataTag2"
SourceBlock "simeventsqueue1/FIFO Queue"
SourceType "FIFO Queue"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Capacity "Inf"
EnableTOPort off
StatNumberDeparted "Off"
StatNumberInBlock "On"
StatPendingEntity "Off"
StatAverageWait "On"
StatAverageQueueLength "On"
StatNumberTimedout "Off"
}
Block {
BlockType Reference
Name "N-Server"
Ports [0, 2, 0, 0, 0, 1, 1]
Position [535, 312, 630, 448]
Priority "1"
AttributesFormatString "Number of servers = %<NumberOfServers>"
UserDataPersistent on
UserData "DataTag3"
FontSize 12
SourceBlock "simeventsserver1/N-Server"
SourceType "N-Server"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
NumberOfServers "c"
ServiceTimeFrom "Dialog"
ServiceTime "service_time"
AttributeName "ServiceTime"
PriorityServiceCompletion "500"
EnableTOPort off
StatNumberDeparted "Off"
StatNumberInBlock "Off"
StatPendingEntity "Off"
StatNumberPending "Off"
StatAverageWait "On"
StatUtilization "On"
StatNumberTimedout "Off"
}
Block {
BlockType Reference
Name "Number of entites \nin queue"
Ports [1]
Position [435, 19, 485, 61]
Priority "1"
UserDataPersistent on
UserData "DataTag4"
SourceBlock "simeventssink1/Signal Scope"
SourceType "Signal Scope"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
PlotType "Stair"
InputType "Signal"
NumInputs "1"
AttributeNameY "Count"
XInputOptionSignal "Event time"
XInputOptionEntity "Event time"
AttributeNameX "Count"
EnableEntityOutport on
XMin "0"
XMax "10"
XLimitExceededOption "Stretch axis limits"
YMin "0"
YMax "10"
YLimitExceededOption "Stretch axis limits"
AxisGrid on
AxisLegend "off"
LineDisables " "
LineColors "0 0 1"
LineStyles "-"
LineMarkers "."
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -