📄 liuke2005023022_7p0.mdl
字号:
PropName "ConfigurationSets"
}
Simulink.ConfigSet {
$PropName "ActiveConfigurationSet"
$ObjectID 1
}
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType DiscretePulseGenerator
PulseType "Sample based"
TimeSource "Use simulation time"
Amplitude "1"
Period "2"
PulseWidth "1"
PhaseDelay "0"
SampleTime "1"
VectorParams1D on
}
Block {
BlockType EnablePort
StatesWhenEnabling "held"
ShowOutputPort off
ZeroCross on
}
Block {
BlockType Inport
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
Interpolate on
}
Block {
BlockType Outport
Port "1"
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Scope
Floating off
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 "0"
}
Block {
BlockType Sin
SineType "Time based"
TimeSource "Use simulation time"
Amplitude "1"
Bias "0"
Frequency "1"
Phase "0"
Samples "10"
Offset "0"
SampleTime "-1"
VectorParams1D on
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType TriggerPort
TriggerType "rising"
StatesWhenEnabling "inherit"
ShowOutputPort off
OutputDataType "auto"
SampleTimeType "triggered"
SampleTime "1"
ZeroCross 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 "kaoshi"
Location [2, 82, 1014, 721]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "Enabled and\nTriggered Subsystem"
Ports [1, 1, 1, 1]
Position [140, 297, 320, 363]
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Enabled and\nTriggered Subsystem"
Location [127, 208, 625, 508]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [110, 103, 140, 117]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType EnablePort
Name "Enable"
Ports []
Position [270, 20, 290, 40]
}
Block {
BlockType TriggerPort
Name "Trigger"
Ports []
Position [190, 20, 210, 40]
StatesWhenEnabling "held"
}
Block {
BlockType Outport
Name "Out"
Position [360, 103, 390, 117]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Out"
DstPort 1
}
}
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator Q1"
Ports [0, 1]
Position [110, 43, 155, 77]
Period "100"
PulseWidth "50"
PhaseDelay "25"
SampleTime "0.005"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator Q2"
Ports [0, 1]
Position [205, 38, 250, 72]
Period "100"
PulseWidth "50"
PhaseDelay "50"
SampleTime "0.005"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [420, 134, 450, 166]
Location [1, 50, 1025, 737]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveToWorkspace on
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [425, 189, 455, 221]
Location [188, 390, 512, 629]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveToWorkspace on
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [425, 249, 455, 281]
Location [188, 390, 512, 629]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveToWorkspace on
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [430, 309, 460, 341]
Location [188, 390, 512, 629]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveToWorkspace on
SaveName "ScopeData3"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope4"
Ports [4]
Position [585, 102, 670, 323]
Location [5, 54, 1029, 741]
Open off
NumInputPorts "4"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
YMin "-5~-5~-5~-5"
YMax "5~5~5~5"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
}
Block {
BlockType Sin
Name "Sine Wave"
Ports [0, 1]
Position [25, 160, 80, 230]
SineType "Sample based"
Frequency "2*pi"
Samples "200"
SampleTime "0.005"
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 135]
DstBlock "Enabled and\nTriggered Subsystem"
DstPort 1
}
Branch {
Points [0, -65; 300, 0]
Branch {
DstBlock "Scope4"
DstPort 1
}
Branch {
DstBlock "Scope"
DstPort 1
}
}
}
Line {
SrcBlock "Enabled and\nTriggered Subsystem"
SrcPort 1
Points [25, 0; 0, -35; 55, 0]
Branch {
DstBlock "Scope4"
DstPort 4
}
Branch {
Points [0, 30]
DstBlock "Scope3"
DstPort 1
}
}
Line {
SrcBlock "Pulse\nGenerator Q2"
SrcPort 1
Points [20, 0; 0, 130]
Branch {
DstBlock "Enabled and\nTriggered Subsystem"
DstPort trigger
}
Branch {
Points [130, 0]
Branch {
DstBlock "Scope4"
DstPort 2
}
Branch {
Points [0, 20]
DstBlock "Scope1"
DstPort 1
}
}
}
Line {
SrcBlock "Pulse\nGenerator Q1"
SrcPort 1
Points [25, 0; 0, 180; 55, 0]
Branch {
Points [-55, 0]
DstBlock "Enabled and\nTriggered Subsystem"
DstPort enable
}
Branch {
Points [165, 0]
Branch {
Points [0, 25]
DstBlock "Scope2"
DstPort 1
}
Branch {
DstBlock "Scope4"
DstPort 3
}
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -