📄 ch_03_01.mdl
字号:
Model {
Name "ch_03_01"
Version 4.00
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowStorageClass off
ExecutionOrder off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Fri Jan 03 14:39:46 2003"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "zyh1"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Sat Jan 11 11:31:25 2003"
ModelVersionFormat "1.%<AutoIncrement:6>"
ConfigurationManager "None"
SimParamPage "WorkspaceI/O"
StartTime "0.0"
StopTime "2*max(t)"
SolverMode "Auto"
Solver "ode23"
RelTol "1e-3"
AbsTol "auto"
Refine "1"
MaxStep "auto"
MinStep "auto"
MaxNumMinSteps "-1"
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 "Array"
LimitDataPoints off
MaxDataPoints "1000"
Decimation "1"
AlgebraicLoopMsg "warning"
MinStepSizeMsg "warning"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
InheritedTsInSrcMsg "warning"
SingleTaskRateTransMsg "none"
MultiTaskRateTransMsg "error"
IntegerOverflowMsg "warning"
CheckForMatrixSingularity "none"
UnnecessaryDatatypeConvMsg "none"
Int32ToFloatConvMsg "warning"
InvalidFcnCallConnMsg "error"
SignalLabelMismatchMsg "none"
LinearizationMsg "none"
VectorMatrixConversionMsg "none"
SfunCompatibilityCheckMsg "none"
BlockPriorityViolationMsg "warning"
ArrayBoundsChecking "none"
ConsistencyChecking "none"
ZeroCross on
Profile off
SimulationMode "normal"
RTWSystemTargetFile "grt.tlc"
RTWOptions "-aEnforceIntegerDowncast=1 -aExtMode=0 -aFoldNonRol"
"ledExpr=1 -aForceParamTrailComments=0 -aGenerateComments=1 -aIgnoreCustomStor"
"ageClasses=1 -aIncHierarchyInIds=0 -aInlineInvariantSignals=0 -aLocalBlockOut"
"puts=1 -aLogVarNameModifier=\"rt_\" -aRTWVerbose=1 -aRollThreshold=5 -aShowEl"
"iminatedStatements=1"
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
TLCProfiler off
TLCDebug off
TLCCoverage off
AccelSystemTargetFile "accel.tlc"
AccelTemplateMakefile "accel_default_tmf"
AccelMakeCommand "make_rtw"
TryForcingSFcnDF off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "normal"
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 on
ExtModeSkipDownloadWhenConnect off
ExtModeLogAll on
ExtModeAutoUpdateStatusClock on
OptimizeBlockIOStorage on
BufferReuse on
ParameterPooling on
BlockReductionOpt on
RTWExpressionDepthLimit 5
BooleanDataType off
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 "ch_03_01"
Location [551, 102, 1139, 397]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 282
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Abs
Name "Abs"
Position [150, 115, 180, 145]
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Gain"
Position [210, 110, 280, 150]
Gain "-1000"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [305, 115, 335, 145]
Operator "exp"
OutputSignalType "auto"
}
Block {
BlockType Reference
Name "Reshape"
Ports [1, 1]
Position [360, 117, 410, 143]
SourceBlock "simulink3/Signals\n& Systems/Reshape"
SourceType "Reshape"
OutputDimensionality "1-D array"
OutputDimensions "[1,1]"
}
Block {
BlockType Reference
Name "Signal From\nWorkspace"
Ports [0, 1]
Position [35, 113, 90, 147]
SourceBlock "dspsrcs3/Signal From\nWorkspace"
SourceType "Signal From Workspace"
X "t"
Ts "0.00005"
nsamps "1"
OutputAfterFinalValue "Setting To Zero"
}
Block {
BlockType Reference
Name "Spectrum\nScope"
Ports [1]
Position [460, 170, 495, 220]
SourceBlock "dspsnks3/Spectrum\nScope"
SourceType "Spectrum Scope"
ScopeProperties on
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "128"
Overlap "64"
inpFftLenInherit off
FFTlength "128"
numAvg "2"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "get(0,'defaultfigureposition')"
AxisProperties off
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-57.4723148346945"
YMax "9.21203895796705"
YLabel "Magnitude, dB"
LineProperties off
}
Block {
BlockType Reference
Name "XY Graph"
Ports [2]
Position [465, 105, 495, 140]
SourceBlock "simulink3/Sinks/XY Graph"
SourceType "XY scope."
xmin "-0.005"
xmax "0.005"
ymin "0"
ymax "1"
st "-1"
}
Block {
BlockType Outport
Name "Out1"
Position [455, 23, 485, 37]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Signal From\nWorkspace"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Abs"
DstPort 1
}
Branch {
Points [0, -45; 325, 0]
DstBlock "XY Graph"
DstPort 1
}
}
Line {
SrcBlock "Abs"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Reshape"
DstPort 1
}
Line {
SrcBlock "Reshape"
SrcPort 1
Points [15, 0]
Branch {
Points [-5, 0]
Branch {
DstBlock "XY Graph"
DstPort 2
}
Branch {
Points [0, 65]
DstBlock "Spectrum\nScope"
DstPort 1
}
}
Branch {
Points [0, -100]
DstBlock "Out1"
DstPort 1
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -