📄 am_sys2.mdl
字号:
Model {
Name "am_sys2"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes off
StartTime "0.0"
StopTime "999999"
SolverMode "Auto"
Solver "ode45"
RelTol "1e-3"
AbsTol "1e-3"
Refine "1"
MaxStep "0.001"
InitialStep "auto"
FixedStep "auto"
MaxOrder 5
OutputOption "RefineOutputTimes"
OutputTimes "[]"
LoadExternalInput off
ExternalInput "[t, u]"
SaveTime off
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput off
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 "Wed Jan 05 22:18:07 2000"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Wed Jan 05 22:25:36 2000"
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 "am_sys2"
Location [6, 84, 628, 508]
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 StateSpace
Name "Butterworth\nBP 滤波器"
Position [110, 194, 170, 236]
ForegroundColor "yellow"
FontName "宋体"
FontSize 12
A "at"
B "bt"
C "ct"
D "dt"
X0 "0"
MaskType "buttap,lp2bp"
MaskDescription "Analog Butterworth band pass filter.\n\n(Requir"
"es Signal Processing Toolbox)"
MaskHelp "Butterworth band pass filter using MATLAB's but"
"ter and lp2bp command."
MaskPromptString "Center frequency (rad/sec)|Bandwidth (rad/sec):"
"|Order"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskInitialization "[at,bt,ct,dt,w,mag]=filtm('buttap','lp2bp',@1,@"
"2,50,@3);"
MaskDisplay "plot(w,mag)"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "200|10|4"
}
Block {
BlockType StateSpace
Name "Butterworth\nBP 滤波器1"
Position [345, 194, 405, 236]
ForegroundColor "yellow"
FontName "宋体"
FontSize 12
A "at"
B "bt"
C "ct"
D "dt"
X0 "0"
MaskType "buttap,lp2bp"
MaskDescription "Analog Butterworth band pass filter.\n\n(Requir"
"es Signal Processing Toolbox)"
MaskHelp "Butterworth band pass filter using MATLAB's but"
"ter and lp2bp command."
MaskPromptString "Center frequency (rad/sec)|Bandwidth (rad/sec):"
"|Order"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskInitialization "[at,bt,ct,dt,w,mag]=filtm('buttap','lp2bp',@1,@"
"2,50,@3);"
MaskDisplay "plot(w,mag)"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "100|10|4"
}
Block {
BlockType ZeroPole
Name "Butterworth\nLP 滤波器"
Position [385, 323, 445, 367]
FontName "宋体"
FontSize 12
Zeros "z"
Poles "p"
Gain "k"
MaskType "buttap"
MaskDescription "Analog Butterworth low pass filter.\n\n(Require"
"s Signal Processing Toolbox)"
MaskHelp "Butterworth low pass filter using MATLAB's butt"
"er command."
MaskPromptString "Cutoff frequency (rad/sec)|Order"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskInitialization "[z,p,k]=buttap(@2); z=@1*z; p=@1*p; k=real(prod"
"(-p)); [num,den]=zp2tf(z,p,k); w=logspace(log10(@1/10),log10(10*@1),20); h=fr"
"eqs(num,den,w); "
MaskDisplay "plot(20*log10(w),20*log10(abs(h)))"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "10|4"
}
Block {
BlockType Product
Name "乘法器"
Ports [2, 1, 0, 0, 0]
Position [215, 74, 245, 96]
FontName "宋体"
FontSize 12
Inputs "2"
SaturateOnIntegerOverflow on
MaskType "乘法器"
MaskDescription "乘法器"
MaskDisplay "plot([0 1],[1 0],[0 1],[0 1]);"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Product
Name "乘法器2"
Ports [2, 1, 0, 0, 0]
Position [250, 334, 280, 356]
FontName "宋体"
FontSize 12
Inputs "2"
SaturateOnIntegerOverflow on
MaskType "乘法器"
MaskDescription "乘法器"
MaskDisplay "plot([0 1],[1 0],[0 1],[0 1]);"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType TransportDelay
Name "传输延迟"
Position [135, 335, 175, 365]
FontName "宋体"
FontSize 12
DelayTime "0.09"
InitialInput "0"
BufferSize "1024"
}
Block {
BlockType Scope
Name "调制后信号波形"
Ports [1, 0, 0, 0, 0]
Position [520, 70, 550, 100]
FontName "宋体"
FontSize 12
Floating off
Location [189, 33, 520, 177]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "1.000000"
YMin "-2"
YMax "2"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "Matrix"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType MATLABFcn
Name "二分频"
Position [245, 196, 315, 234]
ForegroundColor "yellow"
FontName "宋体"
FontSize 12
MATLABFcn "df2"
OutputWidth "-1"
OutputSignalType "auto"
MaskType "分频器"
MaskDescription "二分频器"
MaskDisplay "disp('Frequency\\n—————\\n2')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Scope
Name "解调后信号波形"
Ports [1, 0, 0, 0, 0]
Position [520, 330, 550, 360]
FontName "宋体"
FontSize 12
Floating off
Location [309, 325, 640, 480]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "1.000000"
YMin "-3"
YMax "3"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "Matrix"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Product
Name "平方运算"
Ports [2, 1, 0, 0, 0]
Position [45, 204, 75, 226]
ForegroundColor "yellow"
FontName "宋体"
FontSize 12
Inputs "2"
SaturateOnIntegerOverflow on
MaskType "乘法器"
MaskDescription "乘法器"
MaskDisplay "plot([0 1],[1 0],[0 1],[0 1]);"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType SubSystem
Name "谱分析"
Ports [2, 0, 0, 0, 0]
Position [520, 120, 550, 160]
DropShadow on
FontName "宋体"
FontSize 12
ShowPortLabels off
MaskType "Spectrum analyzer."
MaskDescription "Spectrum analyser using graph window.\nHook inp"
"ut 1 to system input.\nHook input 2 to system output."
MaskHelp "Hook the system's input to the first port of th"
"is block and the system's output to second port. Results are displayed as the"
" frequency response of this system. Use signals with high harmonic content fo"
"r best results. "
MaskPromptString "Length of buffer:|Number of points for fft:|Plo"
"t after how many points:|Sample time:"
MaskStyleString "edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -