📄 dsb.mdl
字号:
Model {
Name "dsb"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes off
StartTime "0.0"
StopTime "5.0"
SolverMode "Auto"
Solver "VariableStepDiscrete"
RelTol "1e-3"
AbsTol "auto"
Refine "1"
MaxStep "auto"
InitialStep "auto"
FixedStep "auto"
MaxOrder 5
OutputOption "RefineOutputTimes"
OutputTimes "[]"
LoadExternalInput off
ExternalInput "[t, u]"
SaveTime on
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput on
OutputSaveName "yout"
LoadInitialState off
InitialState "xInitial"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Matrix"
LimitMaxRows off
MaxRows "1000"
Decimation "1"
AlgebraicLoopMsg "warning"
MinStepSizeMsg "warning"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
InheritedTsInSrcMsg "warning"
IntegerOverflowMsg "warning"
UnnecessaryDatatypeConvMsg "none"
Int32ToFloatConvMsg "warning"
SignalLabelMismatchMsg "none"
ConsistencyChecking "off"
ZeroCross on
SimulationMode "normal"
BlockDataTips on
BlockParametersDataTip on
BlockAttributesDataTip off
BlockPortWidthsDataTip off
BlockDescriptionStringDataTip off
BlockMaskParametersDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
OptimizeBlockIOStorage on
BufferReuse on
BooleanDataType off
RTWSystemTargetFile "grt.tlc"
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "oneshot"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
ExtModeArmWhenConnect off
Created "Sat Nov 06 13:22:13 1999"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Sat Nov 06 15:44:50 1999"
ModelVersionFormat "1.%<AutoIncrement:1>"
ConfigurationManager "none"
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
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 "dsb"
Location [432, 66, 932, 367]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "Buffered FFT\nFrame Scope"
Ports [1, 0, 0, 0, 0]
Position [320, 185, 355, 235]
SourceBlock "dspsnks2/Buffered FFT\nFrame Scope"
SourceType "Buffered FFT Frame Scope"
FFTlength "128"
BufferSize "128"
Overlap "64"
Domain "Frequency"
XLabel "Samples"
XUnits "Hertz"
XRange "[0...Fs]"
XIncr "1/20000"
YLabel "Magnitude, dB"
YUnits "Magnitude"
HorizSpan "1"
NChans "1"
AxisParams on
YMin "0"
YMax "1000"
FigPos "get(0,'defaultfigureposition')"
AxisGrid on
AxisZoom on
FrameNumber off
AxisLegend on
Memory off
LineParams off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1, 0, 0, 0]
Position [210, 198, 240, 222]
ShowName off
Inputs "2"
SaturateOnIntegerOverflow on
Port {
PortNumber 1
Name "Modulated\nInput"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Scope
Name "Scope"
Ports [1, 0, 0, 0, 0]
Position [235, 104, 265, 136]
DropShadow on
Floating off
Location [410, 346, 734, 585]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "0.02"
YMin "-1"
YMax "1"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput on
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave"
Position [60, 105, 90, 135]
DropShadow on
Amplitude "1"
Frequency "1000*(2*pi)"
Phase "0"
SampleTime "1/20000"
}
Block {
BlockType Sin
Name "Sine Wave2"
Position [40, 205, 70, 235]
Amplitude "1"
Frequency "10000*2*3.14"
Phase "0"
SampleTime "1/20000"
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [55, 0]
Branch {
Points [0, 85]
DstBlock "Product"
DstPort 1
}
Branch {
DstBlock "Scope"
DstPort 1
}
}
Line {
Name "Modulated\nInput"
Labels [0, 0]
SrcBlock "Product"
SrcPort 1
DstBlock "Buffered FFT\nFrame Scope"
DstPort 1
}
Line {
SrcBlock "Sine Wave2"
SrcPort 1
Points [25, 0; 0, -5]
DstBlock "Product"
DstPort 2
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -