📄 work3.mdl
字号:
}
Block {
BlockType Math
Operator "exp"
OutputSignalType "auto"
SampleTime "-1"
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType "M-S-Function"
FunctionName "mlfile"
}
Block {
BlockType Outport
Port "1"
UseBusObject off
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 RealImagToComplex
Input "Real and imag"
ConstantPart "0"
SampleTime "-1"
}
Block {
BlockType Scope
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 "-1"
}
Block {
BlockType "S-Function"
FunctionName "system"
SFunctionModules "''"
PortCounts "[]"
}
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"
TreatAsAtomicUnit 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 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 "Arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "work3"
Location [2, 82, 1270, 753]
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 Abs
Name "Abs"
Position [460, 165, 490, 195]
Orientation "left"
SaturateOnIntegerOverflow off
ZeroCross on
SampleTime "-1"
}
Block {
BlockType Sum
Name "Add1"
Ports [17, 1]
Position [57, 95, 1203, 110]
Orientation "down"
NamePlacement "alternate"
Inputs "+++++++++++++++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add2"
Ports [19, 1]
Position [40, 270, 1200, 285]
Orientation "up"
NamePlacement "alternate"
Inputs "+++++++++++++++++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [530, 163, 560, 192]
Orientation "left"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [380, 158, 420, 202]
Orientation "left"
Floating off
Location [5, 56, 1285, 773]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "0"
YMax "3.25"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave0"
Ports [0, 1]
Position [60, 30, 90, 60]
SineType "Time based"
Amplitude "0.1128"
Frequency "0"
Phase "pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave1"
Ports [0, 1]
Position [130, 30, 160, 60]
SineType "Time based"
Amplitude "0.1129 "
Frequency "2*pi*6"
Phase "pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave10"
Ports [0, 1]
Position [715, 30, 745, 60]
SineType "Time based"
Amplitude "0.1262"
Frequency "2*pi*60"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave11"
Ports [0, 1]
Position [780, 30, 810, 60]
SineType "Time based"
Amplitude "0.1302"
Frequency "2*pi*66"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave12"
Ports [0, 1]
Position [845, 30, 875, 60]
SineType "Time based"
Amplitude "0.1355"
Frequency "2*pi*72"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave13"
Ports [0, 1]
Position [910, 30, 940, 60]
SineType "Time based"
Amplitude "0.1426"
Frequency "2*pi*78"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave14"
Ports [0, 1]
Position [975, 30, 1005, 60]
SineType "Time based"
Amplitude "0.1532"
Frequency "2*pi*84"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave15"
Ports [0, 1]
Position [1040, 30, 1070, 60]
SineType "Time based"
Amplitude "0.1709"
Frequency "2*pi*90"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave16"
Ports [0, 1]
Position [1105, 30, 1135, 60]
SineType "Time based"
Amplitude "0.2132"
Frequency "2*pi*96"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
VectorParams1D off
}
Block {
BlockType Sin
Name "Sine Wave17"
Ports [0, 1]
Position [40, 325, 70, 355]
SineType "Time based"
Amplitude "0.1129"
Frequency "2*pi*5"
Phase "pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave18"
Ports [0, 1]
Position [100, 340, 130, 370]
SineType "Time based"
Amplitude "0.1131"
Frequency "2*pi*10"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave19"
Ports [0, 1]
Position [160, 325, 190, 355]
SineType "Time based"
Amplitude "0.1135"
Frequency "2*pi*15"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave2"
Ports [0, 1]
Position [195, 30, 225, 60]
SineType "Time based"
Amplitude "0.1132"
Frequency "2*pi*12"
Phase "pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave20"
Ports [0, 1]
Position [220, 340, 250, 370]
SineType "Time based"
Amplitude "0.1140"
Frequency "2*pi*20"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave21"
Ports [0, 1]
Position [285, 325, 315, 355]
SineType "Time based"
Amplitude "0.1147"
Frequency "2*pi*25"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave22"
Ports [0, 1]
Position [345, 340, 375, 370]
SineType "Time based"
Amplitude "0.1155"
Frequency "2*pi*30"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave23"
Ports [0, 1]
Position [405, 325, 435, 355]
SineType "Time based"
Amplitude "0.1166"
Frequency "2*pi*35"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave24"
Ports [0, 1]
Position [455, 340, 485, 370]
SineType "Time based"
Amplitude "0.1179"
Frequency "2*pi*40"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave25"
Ports [0, 1]
Position [520, 325, 550, 355]
SineType "Time based"
Amplitude "0.1194"
Frequency "2*pi*45"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave26"
Ports [0, 1]
Position [580, 340, 610, 370]
SineType "Time based"
Amplitude "0.1213"
Frequency "2*pi*50"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave27"
Ports [0, 1]
Position [640, 325, 670, 355]
SineType "Time based"
Amplitude "0.1235"
Frequency "2*pi*55"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave28"
Ports [0, 1]
Position [695, 340, 725, 370]
SineType "Time based"
Amplitude "0.1262"
Frequency "2*pi*60"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave29"
Ports [0, 1]
Position [755, 325, 785, 355]
SineType "Time based"
Amplitude "0.1294"
Frequency "2*pi*65"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave3"
Ports [0, 1]
Position [260, 30, 290, 60]
SineType "Time based"
Amplitude "0.1138"
Frequency "2*pi*18"
Phase "pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave30"
Ports [0, 1]
Position [810, 340, 840, 370]
SineType "Time based"
Amplitude "0.1335"
Frequency "2*pi*70"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave31"
Ports [0, 1]
Position [870, 325, 900, 355]
SineType "Time based"
Amplitude "0.1387"
Frequency "2*pi*75"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave32"
Ports [0, 1]
Position [930, 340, 960, 370]
SineType "Time based"
Amplitude "0.1457"
Frequency "2*pi*80"
Phase " pi/2+2*pi*rand"
SampleTime "0.001"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -