📄 fangzheng.mdl
字号:
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 Display
Format "short"
Decimation "10"
Floating off
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 Product
Inputs "2"
Multiplication "Element-wise(.*)"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Zero"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
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 StateSpace
A "1"
B "1"
C "1"
D "1"
X0 "0"
AbsoluteTolerance "auto"
Realization "auto"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
}
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 "fangzheng"
Location [182, 104, 891, 546]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "Analog\nFilter Design1"
Ports [1, 1]
Position [410, 92, 475, 148]
ForegroundColor "blue"
SourceBlock "dspddes2/Analog\nFilter Design"
SourceType "Analog Filter Design"
ShowPortLabels on
method "Butterworth"
filttype "Bandpass"
N "2"
Wlo "850*2*pi"
Whi "2*pi*1150"
Rp "2"
Rs "40"
}
Block {
BlockType Reference
Name "Analog\nFilter Design2"
Ports [1, 1]
Position [350, 237, 415, 293]
ForegroundColor "blue"
SourceBlock "dspddes2/Analog\nFilter Design"
SourceType "Analog Filter Design"
ShowPortLabels on
method "Butterworth"
filttype "Bandpass"
N "2"
Wlo "50*2*pi"
Whi "2*pi*150"
Rp "2"
Rs "40"
}
Block {
BlockType Display
Name "Display"
Ports [1]
Position [120, 20, 210, 50]
Orientation "left"
NamePlacement "alternate"
Decimation "1"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [245, 102, 275, 133]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [235, 247, 265, 278]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [315, 34, 345, 66]
Location [345, 301, 669, 540]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "0.01"
YMin "-0.5"
YMax "0.5"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [530, 34, 560, 66]
Location [437, 336, 761, 575]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "0.01"
YMin "-0.00125"
YMax "0.00125"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [545, 249, 575, 281]
Location [469, 228, 792, 467]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "0.01"
YMin "-1.75e-005"
YMax "1.75e-005"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [40, 44, 70, 76]
Orientation "left"
NamePlacement "alternate"
Location [-25, 266, 299, 505]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "0.01"
YMin "-0.5"
YMax "0.5"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
}
Block {
BlockType Sin
Name "Sine Wave"
Ports [0, 1]
Position [115, 75, 145, 105]
SineType "Time based"
Amplitude "0.5"
Frequency "628*2*pi"
SampleTime "1/628000"
}
Block {
BlockType Sin
Name "Sine Wave1"
Ports [0, 1]
Position [50, 110, 80, 140]
SineType "Time based"
Frequency "6280*2*pi"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave2"
Ports [0, 1]
Position [115, 320, 145, 350]
SineType "Time based"
Frequency "6280*2*pi"
SampleTime "0"
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [40, 0; 0, 20; 10, 0]
Branch {
Points [15, 0]
Branch {
DstBlock "Product"
DstPort 1
}
Branch {
Points [10, 0]
DstBlock "Display"
DstPort 1
}
}
Branch {
Points [0, -50]
DstBlock "Scope3"
DstPort 1
}
}
Line {
SrcBlock "Sine Wave1"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [25, 0]
Branch {
Points [-5, 0]
DstBlock "Scope"
DstPort 1
}
Branch {
DstBlock "Analog\nFilter Design1"
DstPort 1
}
}
Line {
SrcBlock "Sine Wave2"
SrcPort 1
Points [35, 0; 0, -65]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Analog\nFilter Design2"
DstPort 1
}
Line {
SrcBlock "Analog\nFilter Design2"
SrcPort 1
DstBlock "Scope2"
DstPort 1
}
Line {
SrcBlock "Analog\nFilter Design1"
SrcPort 1
Points [0, -5; 25, 0]
Branch {
Points [0, -65]
DstBlock "Scope1"
DstPort 1
}
Branch {
Points [0, 80; -310, 0; 0, 60]
DstBlock "Product1"
DstPort 1
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -