📄 abc.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 "arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType Constant
Value "1"
VectorParams1D on
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
}
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
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 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 "S-Function"
FunctionName "system"
SFunctionModules "''"
PortCounts "[]"
}
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"
}
Block {
BlockType Switch
Criteria "u2 >= Threshold"
Threshold "0"
InputSameDT on
OutDataTypeMode "Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow on
ZeroCross 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 "abc"
Location [2, 82, 1253, 749]
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 [555, 107, 585, 138]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Delay1"
Ports [1, 1]
Position [385, 130, 440, 170]
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "1000"
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "From Wave\nFile"
Ports [0, 1]
Position [50, 52, 195, 108]
SourceBlock "dspwin32/From Wave\nFile"
SourceType "From Wave File"
FileName "12345.wav"
SamplesPerFrame "256"
MinBufSize "256"
dType "double"
bLoop off
timesToPlay "1"
restartMode "immediately after last sample"
firstSampleOutput off
lastSampleOutput off
}
Block {
BlockType Reference
Name "From Wave\nFile1"
Ports [0, 1]
Position [120, 327, 265, 383]
SourceBlock "dspwin32/From Wave\nFile"
SourceType "From Wave File"
FileName "12345.wav"
SamplesPerFrame "256"
MinBufSize "256"
dType "double"
bLoop off
timesToPlay "1"
restartMode "immediately after last sample"
firstSampleOutput off
lastSampleOutput off
}
Block {
BlockType Gain
Name "Gain"
Position [360, 65, 390, 95]
Gain "0.5"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "LMS Filter1"
Ports [2, 3]
Position [590, 312, 695, 398]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag0"
SourceBlock "dspadpt3/LMS Filter"
SourceType "LMS Filter"
ShowPortLabels off
Algo "Normalized LMS"
L "32"
stepflag "Dialog"
mu "0.0001"
leakage "1.0"
ic "0"
Adapt off
resetflag "None"
weights on
firstCoeffMode "Same word length as first input"
firstCoeffWordLength "16"
firstCoeffFracLength "15"
secondCoeffMode "User-defined"
secondCoeffWordLength "2"
secondCoeffFracLength "15"
accumMode "Same as first input"
accumWordLength "32"
accumFracLength "20"
accum2Mode "User-defined"
accum2FracLength "20"
prodOutputMode "Same as first input"
prodOutputWordLength "32"
prodOutputFracLength "20"
prodOutput2Mode "User-defined"
prodOutput2FracLength "20"
prodOutput3Mode "User-defined"
prodOutput3FracLength "20"
prodOutput4Mode "User-defined"
prodOutput4FracLength "20"
quotientMode "User-defined"
quotientFracLength "20"
memoryMode "Same as first input"
memoryWordLength "16"
memoryFracLength "15"
roundingMode "Floor"
overflowMode off
addnparflag off
LockScale off
Port {
PortNumber 2
Name "error"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Manual Switch"
Ports [2, 1]
Position [815, 327, 845, 363]
SourceBlock "simulink/Signal\nRouting/Manual Switch"
SourceType "Manual Switch"
ShowPortLabels on
sw "0"
action "0"
}
Block {
BlockType Reference
Name "To Wave\nDevice2"
Ports [1]
Position [895, 319, 950, 371]
SourceBlock "dspwin32/To Wave\nDevice"
SourceType "To Wave Device"
bufDuration "2"
initDelay "0.1"
useDefaultDevice on
userDeviceID "SoundMAX HD Audio"
enable24Bit off
}
Line {
SrcBlock "From Wave\nFile"
SrcPort 1
Points [0, 0; 65, 0]
Branch {
Points [0, 70]
DstBlock "Delay1"
DstPort 1
}
Branch {
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Add"
SrcPort 1
Points [30, 0; 0, 35]
Branch {
Points [0, 75; -110, 0; 0, 100]
DstBlock "LMS Filter1"
DstPort 1
}
Branch {
Points [145, 0; 0, 175]
DstBlock "Manual Switch"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [90, 0; 0, 35]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Delay1"
SrcPort 1
Points [40, 0; 0, -20]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "From Wave\nFile1"
SrcPort 1
Points [305, 0]
DstBlock "LMS Filter1"
DstPort 2
}
Line {
SrcBlock "Manual Switch"
SrcPort 1
Points [0, 0]
DstBlock "To Wave\nDevice2"
DstPort 1
}
Line {
Name "error"
Labels [0, 0]
SrcBlock "LMS Filter1"
SrcPort 2
DstBlock "Manual Switch"
DstPort 2
}
}
}
MatData {
NumRecords 1
DataRecord {
Tag DataTag0
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"# 0 0 , 3$U3 "
}
}
# Finite State Machines
#
# Stateflow Version 6.2 (R14SP2) dated Aug 4 2005, 10:13:39
#
#
Stateflow {
machine {
id 1
name "abc"
created "13-Jun-2008 23:32:24"
isLibrary 0
firstTarget 2
sfVersion 62014000
}
target {
id 2
name "sfun"
description "Default Simulink S-Function Target."
machine 1
linkNode [1 0 0]
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -