📄 fskmod_demod2.mdl
字号:
Model {
Name "fskmod_demod2"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes off
StartTime "0.0"
StopTime "10.0"
SolverMode "Auto"
Solver "ode45"
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 "Tue Nov 16 15:17:30 1999"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Sun Dec 12 11:08:31 1999"
ModelVersionFormat "1.%<AutoIncrement:5>"
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 "fskmod_demod2"
Location [157, 81, 885, 707]
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 DiscretePulseGenerator
Name "Discrete Pulse\nGenerator"
Position [70, 90, 100, 120]
Amplitude "1"
Period "2"
PulseWidth "1"
PhaseDelay "0"
SampleTime "1/4000"
}
Block {
BlockType DiscretePulseGenerator
Name "Discrete Pulse\nGenerator1"
Position [85, 295, 115, 325]
Amplitude "1"
Period "2"
PulseWidth "1"
PhaseDelay "0"
SampleTime "1/4000"
}
Block {
BlockType DiscretePulseGenerator
Name "Discrete Pulse\nGenerator2"
Position [445, 90, 475, 120]
Amplitude "1"
Period "2"
PulseWidth "1"
PhaseDelay "0"
SampleTime "1"
}
Block {
BlockType Reference
Name "MFSK mod"
Ports [1, 1, 0, 0, 0]
Position [180, 83, 260, 127]
SourceBlock "commdigpbnd/MFSK mod"
SourceType "Passband FSK modulation"
Ton "8/.1/5"
td "0.1"
Fc "5000"
Ph "0"
ts "1/20000"
}
Block {
BlockType Reference
Name "MFSK mod1"
Ports [1, 1, 0, 0, 0]
Position [195, 288, 275, 332]
SourceBlock "commdigpbnd/MFSK mod"
SourceType "Passband FSK modulation"
Ton "8/.1/5"
td "0.1"
Fc "5000"
Ph "0"
ts "1/20000"
}
Block {
BlockType Scope
Name "Output"
Ports [1, 0, 0, 0, 0]
Position [295, 44, 325, 76]
DropShadow on
Floating off
Location [257, 423, 581, 662]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "0.3"
YMin "-1"
YMax "1"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput on
SampleTime "0"
}
Block {
BlockType Scope
Name "Output1"
Ports [1, 0, 0, 0, 0]
Position [310, 249, 340, 281]
DropShadow on
Floating off
Location [334, 419, 658, 658]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "0.3"
YMin "-1"
YMax "1"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput on
SampleTime "0"
}
Block {
BlockType Scope
Name "Output2"
Ports [1, 0, 0, 0, 0]
Position [625, 179, 655, 211]
DropShadow on
Floating off
Location [540, 430, 864, 669]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "auto"
YMin "-0.5"
YMax "1.75"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput on
SampleTime "0"
}
Block {
BlockType Scope
Name "Output3"
Ports [1, 0, 0, 0, 0]
Position [505, 264, 535, 296]
DropShadow on
Floating off
Location [334, 419, 658, 658]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "0.3"
YMin "5.55112e-017"
YMax "1.1"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput on
SampleTime "0"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1, 0, 0, 0]
Position [415, 183, 445, 207]
ShowName off
Inputs "2"
SaturateOnIntegerOverflow on
Port {
PortNumber 1
Name "Modulated\nInput"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Reference
Name "Raised cosine\nfilter"
Ports [1, 1, 0, 0, 0]
Position [315, 378, 395, 422]
ShowName off
SourceBlock "com_filt/Raised cosine\nfilter"
SourceType "R-C filter"
td "0.0025"
ts "0.0005"
R ".15"
delay "3"
fil "'FIR'"
x "1"
}
Block {
BlockType Reference
Name "Sample\nand Hold"
Ports [1, 1, 0, 1, 0]
Position [500, 174, 550, 216]
SourceBlock "dspswit2/Sample\nand Hold"
SourceType "Sample and Hold"
trig "Either edge"
initCond "0"
}
Block {
BlockType Scope
Name "Scope"
Ports [1, 0, 0, 0, 0]
Position [165, 34, 195, 66]
Floating off
Location [76, 138, 400, 377]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "0.005"
YMin "-1"
YMax "1.5"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1, 0, 0, 0, 0]
Position [180, 239, 210, 271]
Floating off
Location [76, 138, 400, 377]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "0.005"
YMin "-1"
YMax "1.5"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Line {
SrcBlock "Discrete Pulse\nGenerator"
SrcPort 1
Points [20, 0]
Branch {
Points [20, 0; 0, -55]
DstBlock "Scope"
DstPort 1
}
Branch {
DstBlock "MFSK mod"
DstPort 1
}
}
Line {
SrcBlock "MFSK mod"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 0]
DstBlock "Output"
DstPort 1
}
Branch {
Points [80, 0; 0, 85]
DstBlock "Product1"
DstPort 1
}
}
Line {
SrcBlock "Discrete Pulse\nGenerator1"
SrcPort 1
Points [20, 0]
Branch {
Points [20, 0; 0, -55]
DstBlock "Scope1"
DstPort 1
}
Branch {
DstBlock "MFSK mod1"
DstPort 1
}
}
Line {
SrcBlock "MFSK mod1"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Output1"
DstPort 1
}
Branch {
Points [80, 0; 0, -110]
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Sample\nand Hold"
SrcPort 1
DstBlock "Output2"
DstPort 1
}
Line {
Name "Modulated\nInput"
Labels [0, 0]
SrcBlock "Product1"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 85]
DstBlock "Output3"
DstPort 1
}
Branch {
DstBlock "Sample\nand Hold"
DstPort 1
}
}
Line {
SrcBlock "Discrete Pulse\nGenerator2"
SrcPort 1
Points [45, 0]
DstBlock "Sample\nand Hold"
DstPort trigger
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -