📄 work2.mdl
字号:
ExtModeTesting off
ExtModeStaticAllocSize 1000000
ExtModeTransport 0
ExtModeMexFile "ext_comm"
RTWCAPISignals off
RTWCAPIParams off
RTWCAPIStates off
GenerateASAP2 off
}
PropName "Components"
}
}
hdlcoderui.hdlcc {
$ObjectID 11
Description "HDL Coder custom configuration component"
Version "1.2.0"
Name "HDL Coder"
Array {
Type "Cell"
Dimension 1
Cell ""
PropName "HDLConfigFile"
}
HDLCActiveTab "0"
}
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 "Arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType Abs
}
Block {
BlockType DataTypeConversion
OutDataTypeMode "Inherit via back propagation"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
ConvertRealWorld "Real World Value (RWV)"
RndMeth "Zero"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Inport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
LatchByDelayingOutsideSignal off
LatchByCopyingInsideSignal off
Interpolate on
}
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 "work2"
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 [25, 1]
Position [27, 95, 1253, 110]
Orientation "down"
NamePlacement "alternate"
Inputs "+++++++++++++++++++++++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add2"
Ports [20, 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 [35, 30, 65, 60]
ShowName off
SineType "Time based"
Amplitude "0.1128"
Frequency "2*pi"
Phase "2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave1"
Ports [0, 1]
Position [90, 30, 120, 60]
ShowName off
SineType "Time based"
Amplitude "0.1129 "
Frequency "2*pi*5"
Phase "2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave10"
Ports [0, 1]
Position [540, 30, 570, 60]
ShowName off
SineType "Time based"
Amplitude "0.1182"
Frequency "2*pi*41"
Phase "2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave11"
Ports [0, 1]
Position [590, 30, 620, 60]
ShowName off
SineType "Time based"
Amplitude "0.1194"
Frequency "2*pi*45"
Phase "2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave12"
Ports [0, 1]
Position [630, 30, 660, 60]
ShowName off
SineType "Time based"
Amplitude "0.1209"
Frequency "2*pi*49"
Phase "2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave13"
Ports [0, 1]
Position [685, 30, 715, 60]
ShowName off
SineType "Time based"
Amplitude "0.1225"
Frequency "2*pi*53"
Phase "2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave14"
Ports [0, 1]
Position [740, 30, 770, 60]
ShowName off
SineType "Time based"
Amplitude "0.1245"
Frequency "2*pi*57"
Phase "2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave15"
Ports [0, 1]
Position [780, 30, 810, 60]
ShowName off
SineType "Time based"
Amplitude " 0.1268"
Frequency "2*pi*61"
Phase "2*pi*rand"
SampleTime "0.001"
}
Block {
BlockType Sin
Name "Sine Wave16"
Ports [0, 1]
Position [830, 30, 860, 60]
ShowName off
SineType "Time based"
Amplitude "0.1294"
Frequency "2*pi*65"
Phase "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"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -