📄 pinpubj01.mdl
字号:
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 Math
Operator "exp"
OutputSignalType "auto"
SampleTime "-1"
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType "M-S-Function"
FunctionName "mlfile"
}
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 Product
Inputs "2"
Multiplication "Element-wise(.*)"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Zero"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType RelationalOperator
Operator ">="
InputSameDT on
LogicOutDataTypeMode "Logical (see Configuration Parameters: Optimiza"
"tion)"
LogicDataType "uint(8)"
ZeroCross on
SampleTime "-1"
}
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"
}
}
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 "pinpubj01"
Location [49, 142, 1044, 685]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "104"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "Bernoulli Binary\nGenerator"
Ports [0, 1]
Position [25, 53, 105, 97]
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
ShowPortLabels on
P "0.5"
seed "67"
Ts "1e-3"
frameBased off
sampPerFrame "4"
orient off
outDataType "double"
}
Block {
BlockType Reference
Name "Buffer1"
Ports [1, 1]
Position [475, 50, 525, 100]
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "16"
V "0"
ic "0"
}
Block {
BlockType Reference
Name "Buffer2"
Ports [1, 1]
Position [475, 195, 525, 245]
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "16"
V "0"
ic "0"
}
Block {
BlockType Reference
Name "Buffer3"
Ports [1, 1]
Position [480, 300, 530, 350]
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "16"
V "0"
ic "0"
}
Block {
BlockType Reference
Name "FSK\nScope2"
Ports [1]
Position [700, 300, 735, 350]
DialogController "dspdialog.SpectrumScope"
DialogControllerArgs "DataTag0"
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ShowPortLabels off
ScopeProperties off
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "1024"
Overlap "512"
inpFftLenInherit on
FFTlength "1024"
numAvg "64"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "get(0,'defaultfigureposition')"
AxisProperties on
XUnits "Hertz"
XRange "[0...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-50"
YMax "30"
YLabel "Magnitude, dB"
LineProperties off
wintypeSpecScope "Hann"
RsSpecScope "50"
betaSpecScope "5"
winsampSpecScope "Periodic"
}
Block {
BlockType Reference
Name "GMSK\nModulator\nBaseband"
Ports [1, 1]
Position [290, 49, 365, 101]
SourceBlock "commdigbbndcpm2/GMSK\nModulator\nBaseband"
SourceType "GMSK Modulator Baseband"
ShowPortLabels on
inputType "Integer"
BT ".3"
pulseLength "4"
preHistory "1"
phaseOffset "0"
samplesPerSymbol "8"
outDataType "double"
}
Block {
BlockType Reference
Name "GMSK\nScope"
Ports [1]
Position [695, 50, 730, 100]
DialogController "dspdialog.SpectrumScope"
DialogControllerArgs "DataTag1"
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ShowPortLabels off
ScopeProperties off
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "1024"
Overlap "512"
inpFftLenInherit on
FFTlength "1024"
numAvg "64"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "get(0,'defaultfigureposition')"
AxisProperties on
XUnits "Hertz"
XRange "[0...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-50"
YMax "30"
YLabel "Magnitude, dB"
LineProperties off
wintypeSpecScope "Hann"
RsSpecScope "50"
betaSpecScope "5"
winsampSpecScope "Periodic"
}
Block {
BlockType Reference
Name "M-FSK\nModulator\nBaseband"
Ports [1, 1]
Position [285, 300, 360, 350]
SourceBlock "commdigbbndfm2/M-FSK\nModulator\nBaseband"
SourceType "M-FSK Modulator Baseband"
M "2"
InType "Bit"
Enc "Binary"
freqSep "6"
phaseType "Discontinuous"
numSamp "17"
outDataType "double"
}
Block {
BlockType Reference
Name "MSK\nModulator\nBaseband"
Ports [1, 1]
Position [285, 194, 360, 246]
SourceBlock "commdigbbndcpm2/MSK\nModulator\nBaseband"
SourceType "MSK Modulator Baseband"
ShowPortLabels on
inputType "Integer"
phaseOffset "0"
samplesPerSymbol "8"
outDataType "double"
}
Block {
BlockType Reference
Name "MSK\nScope1"
Ports [1]
Position [700, 195, 735, 245]
DialogController "dspdialog.SpectrumScope"
DialogControllerArgs "DataTag2"
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ShowPortLabels off
ScopeProperties off
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "1024"
Overlap "512"
inpFftLenInherit on
FFTlength "1024"
numAvg "64"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "get(0,'defaultfigureposition')"
AxisProperties on
XUnits "Hertz"
XRange "[0...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-50"
YMax "30"
YLabel "Magnitude, dB"
LineProperties off
wintypeSpecScope "Hann"
RsSpecScope "50"
betaSpecScope "5"
winsampSpecScope "Periodic"
}
Block {
BlockType Reference
Name "Unipolar to\nBipolar\nConverter"
Ports [1, 1]
Position [155, 53, 235, 97]
SourceBlock "commutil2/Unipolar to\nBipolar\nConverter"
SourceType "Unipolar to Bipolar Converter"
ShowPortLabels on
M "2"
polarity "Positive"
}
Line {
SrcBlock "Bernoulli Binary\nGenerator"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Unipolar to\nBipolar\nConverter"
DstPort 1
}
Branch {
Points [0, 250]
DstBlock "M-FSK\nModulator\nBaseband"
DstPort 1
}
}
Line {
SrcBlock "Unipolar to\nBipolar\nConverter"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "GMSK\nModulator\nBaseband"
DstPort 1
}
Branch {
Points [0, 145]
DstBlock "MSK\nModulator\nBaseband"
DstPort 1
}
}
Line {
SrcBlock "Buffer1"
SrcPort 1
DstBlock "GMSK\nScope"
DstPort 1
}
Line {
SrcBlock "Buffer2"
SrcPort 1
DstBlock "MSK\nScope1"
DstPort 1
}
Line {
SrcBlock "MSK\nModulator\nBaseband"
SrcPort 1
DstBlock "Buffer2"
DstPort 1
}
Line {
SrcBlock "GMSK\nModulator\nBaseband"
SrcPort 1
DstBlock "Buffer1"
DstPort 1
}
Line {
SrcBlock "Buffer3"
SrcPort 1
DstBlock "FSK\nScope2"
DstPort 1
}
Line {
SrcBlock "M-FSK\nModulator\nBaseband"
SrcPort 1
DstBlock "Buffer3"
DstPort 1
}
}
}
MatData {
NumRecords 3
DataRecord {
Tag DataTag2
Data " %)30 . , 8 ( ! % "
"\" 0 0 "
}
DataRecord {
Tag DataTag1
Data " %)30 . , 8 ( ! % "
"\" 0 0 "
}
DataRecord {
Tag DataTag0
Data " %)30 . , 8 ( ! % "
"\" 0 0 "
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -