📄 untitled.mdl
字号:
ExtModeMexFile "ext_comm"
RTWCAPISignals off
RTWCAPIParams off
RTWCAPIStates off
GenerateASAP2 off
}
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 Gain
Gain "1"
Multiplication "Element-wise(K.*u)"
ParameterDataTypeMode "Same as input"
ParameterDataType "sfix(16)"
ParameterScalingMode "Best Precision: Matrix-wise"
ParameterScaling "2^0"
OutDataTypeMode "Same as input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
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 "S-Function"
FunctionName "system"
PortCounts "[]"
SFunctionModules "''"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
}
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 "untitled"
Location [2, 72, 1278, 748]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [175, 217, 205, 248]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [320, 227, 350, 258]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add2"
Ports [2, 1]
Position [425, 227, 455, 258]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Discrete\nShift Register"
Ports [1, 1]
Position [100, 63, 145, 107]
FontSize 10
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discr"
"ete\nShift Register"
SourceType "Discrete Shift Register"
ShowPortLabels on
NSamples "1"
InitialValue "101001001"
Ts "50e-6"
}
Block {
BlockType Reference
Name "Discrete\nShift Register1"
Ports [1, 1]
Position [250, 58, 295, 102]
FontSize 10
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discr"
"ete\nShift Register"
SourceType "Discrete Shift Register"
ShowPortLabels on
NSamples "1"
InitialValue "0"
Ts "50e-6"
}
Block {
BlockType Reference
Name "Discrete\nShift Register2"
Ports [1, 1]
Position [365, 63, 410, 107]
FontSize 10
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discr"
"ete\nShift Register"
SourceType "Discrete Shift Register"
ShowPortLabels on
NSamples "1"
InitialValue "0"
Ts "50e-6"
}
Block {
BlockType Reference
Name "Discrete\nShift Register3"
Ports [1, 1]
Position [480, 58, 525, 102]
FontSize 10
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discr"
"ete\nShift Register"
SourceType "Discrete Shift Register"
ShowPortLabels on
NSamples "1"
InitialValue "0"
Ts "50e-6"
}
Block {
BlockType Gain
Name "Gain"
Position [180, 155, 210, 185]
Gain "0"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [325, 165, 355, 195]
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [445, 175, 475, 205]
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [705, 69, 735, 101]
Location [188, 390, 512, 629]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
}
Line {
SrcBlock "Discrete\nShift Register"
SrcPort 1
Points [10, 0]
Branch {
Points [30, 0; 0, -5]
DstBlock "Discrete\nShift Register1"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Discrete\nShift Register1"
SrcPort 1
Points [10, 0]
Branch {
Points [15, 0; 0, 5]
DstBlock "Discrete\nShift Register2"
DstPort 1
}
Branch {
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Discrete\nShift Register2"
SrcPort 1
Points [15, 0]
Branch {
Points [10, 0; 0, -5]
DstBlock "Discrete\nShift Register3"
DstPort 1
}
Branch {
DstBlock "Gain2"
DstPort 1
}
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [0, -20; -70, 0]
DstBlock "Add2"
DstPort 1
}
Line {
SrcBlock "Add2"
SrcPort 1
Points [0, 35; -155, 0]
DstBlock "Add1"
DstPort 2
}
Line {
SrcBlock "Discrete\nShift Register3"
SrcPort 1
Points [80, 0; 0, 5; 60, 0]
Branch {
DstBlock "Scope"
DstPort 1
}
Branch {
Points [0, -55; -295, 0; 0, 220]
DstBlock "Add2"
DstPort 2
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [0, 35; -55, 0]
DstBlock "Add1"
DstPort 1
}
Line {
SrcBlock "Add1"
SrcPort 1
Points [0, 105; -140, 0; 0, -5; -55, 0]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, -30; -95, 0; 0, 85]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Add"
SrcPort 1
Points [35, 0; 0, 75; -230, 0; 0, -225]
DstBlock "Discrete\nShift Register"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -