📄 sim33.mdl
字号:
PropName "Components"
}
}
PropName "Components"
}
Name "Configuration"
SimulationMode "normal"
CurrentDlgPage "Solver"
}
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 Display
Format "short"
Decimation "10"
Floating off
SampleTime "-1"
}
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 RandomNumber
Mean "0"
Variance "1"
Seed "0"
SampleTime "-1"
VectorParams1D on
}
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 UnitDelay
X0 "0"
SampleTime "1"
StateMustResolveToSignalObject off
RTWStateStorageClass "Auto"
}
}
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 "sim33"
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 UnitDelay
Name "A"
Position [165, 180, 205, 230]
BackgroundColor "magenta"
SampleTime "0.25"
}
Block {
BlockType UnitDelay
Name "B"
Position [165, 263, 210, 317]
BackgroundColor "magenta"
SampleTime "0.5"
}
Block {
BlockType Display
Name "Display"
Ports [1]
Position [525, 182, 605, 228]
BackgroundColor "[0.501961, 0.000000, 1.000000]"
Decimation "1"
}
Block {
BlockType SubSystem
Name "Enabled\nSubsystem"
Ports [2, 2, 1]
Position [295, 162, 395, 333]
BackgroundColor "[1.000000, 0.501961, 0.752941]"
ShowName off
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Enabled\nSubsystem"
Location [22, 309, 520, 629]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [110, 103, 140, 117]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [110, 178, 140, 192]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType EnablePort
Name "Enable"
Ports []
Position [245, 29, 277, 60]
StatesWhenEnabling "reset"
}
Block {
BlockType UnitDelay
Name "C"
Position [240, 93, 275, 127]
BackgroundColor "magenta"
SampleTime "0.125"
}
Block {
BlockType UnitDelay
Name "D"
Position [230, 168, 265, 202]
BackgroundColor "magenta"
SampleTime "0.25"
}
Block {
BlockType Outport
Name "Out1"
Position [360, 103, 390, 117]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [360, 178, 390, 192]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "C"
DstPort 1
}
Line {
SrcBlock "C"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "D"
DstPort 1
}
Line {
SrcBlock "D"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
Annotation {
Position [348, 63]
}
Annotation {
Position [466, 161]
}
}
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
Ports [0, 1]
Position [321, 90, 369, 135]
Orientation "down"
BackgroundColor "[0.000000, 1.000000, 0.501961]"
NamePlacement "alternate"
ShowName off
PulseType "Time based"
PulseWidth "60"
PhaseDelay "0.375"
}
Block {
BlockType RandomNumber
Name "Random\nNumber"
Position [50, 268, 95, 312]
BackgroundColor "[0.000000, 1.000000, 0.501961]"
ShowName off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [530, 261, 575, 319]
BackgroundColor "[0.501961, 0.000000, 1.000000]"
Location [185, 342, 509, 581]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
}
Block {
BlockType Sin
Name "Sine Wave"
Ports [0, 1]
Position [50, 181, 90, 229]
BackgroundColor "[0.000000, 1.000000, 0.501961]"
ShowName off
SineType "Time based"
SampleTime "0"
}
Line {
SrcBlock "A"
SrcPort 1
DstBlock "Enabled\nSubsystem"
DstPort 1
}
Line {
SrcBlock "B"
SrcPort 1
DstBlock "Enabled\nSubsystem"
DstPort 2
}
Line {
SrcBlock "Enabled\nSubsystem"
SrcPort 1
DstBlock "Display"
DstPort 1
}
Line {
SrcBlock "Enabled\nSubsystem"
SrcPort 2
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
DstBlock "Enabled\nSubsystem"
DstPort enable
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
DstBlock "A"
DstPort 1
}
Line {
SrcBlock "Random\nNumber"
SrcPort 1
DstBlock "B"
DstPort 1
}
Annotation {
Position [294, 301]
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -