QPSK.mdl
上传用户:ssdv88
上传日期:2013-03-11
资源大小:8k
文件大小:31k
源码类别:

matlab例程

开发平台:

Matlab

  1. Model {
  2.   Name   "QPSK"
  3.   Version   6.1
  4.   MdlSubVersion   0
  5.   GraphicalInterface {
  6.     NumRootInports     0
  7.     NumRootOutports     0
  8.     ParameterArgumentNames  ""
  9.     ComputedModelVersion    "1.106"
  10.     NumModelReferences     0
  11.     NumTestPointedSignals   0
  12.   }
  13.   SavedCharacterEncoding  "ibm-1386_P100-2002"
  14.   SaveDefaultBlockParams  on
  15.   SampleTimeColors   off
  16.   LibraryLinkDisplay   "none"
  17.   WideLines   off
  18.   ShowLineDimensions   off
  19.   ShowPortDataTypes   off
  20.   ShowLoopsOnError   on
  21.   IgnoreBidirectionalLines off
  22.   ShowStorageClass   off
  23.   ShowTestPointIcons   on
  24.   ShowViewerIcons   on
  25.   SortedOrder   off
  26.   ExecutionContextIcon   off
  27.   ShowLinearizationAnnotations on
  28.   RecordCoverage   off
  29.   CovPath   "/"
  30.   CovSaveName   "covdata"
  31.   CovMetricSettings   "dw"
  32.   CovNameIncrementing   off
  33.   CovHtmlReporting   on
  34.   covSaveCumulativeToWorkspaceVar on
  35.   CovSaveSingleToWorkspaceVar on
  36.   CovCumulativeVarName   "covCumulativeData"
  37.   CovCumulativeReport   off
  38.   CovReportOnPause   on
  39.   ScopeRefreshTime   0.035000
  40.   OverrideScopeRefreshTime on
  41.   DisableAllScopes   off
  42.   DataTypeOverride   "UseLocalSettings"
  43.   MinMaxOverflowLogging   "UseLocalSettings"
  44.   MinMaxOverflowArchiveMode "Overwrite"
  45.   BlockNameDataTip   off
  46.   BlockParametersDataTip  off
  47.   BlockDescriptionStringDataTip off
  48.   ToolBar   on
  49.   StatusBar   on
  50.   BrowserShowLibraryLinks on
  51.   BrowserLookUnderMasks   off
  52.   Created   "Wed Mar 05 12:11:19 2003"
  53.   Creator   "arodrigu"
  54.   UpdateHistory   "UpdateHistoryNever"
  55.   ModifiedByFormat   "%<Auto>"
  56.   LastModifiedBy   "Li"
  57.   ModifiedDateFormat   "%<Auto>"
  58.   LastModifiedDate   "Fri Jul 29 10:30:31 2005"
  59.   ModelVersionFormat   "1.%<AutoIncrement:106>"
  60.   ConfigurationManager   "None"
  61.   LinearizationMsg   "none"
  62.   Profile   off
  63.   ParamWorkspaceSource   "MATLABWorkspace"
  64.   AccelSystemTargetFile   "accel.tlc"
  65.   AccelTemplateMakefile   "accel_default_tmf"
  66.   AccelMakeCommand   "make_rtw"
  67.   TryForcingSFcnDF   off
  68.   ExtModeBatchMode   off
  69.   ExtModeEnableFloating   on
  70.   ExtModeTrigType   "manual"
  71.   ExtModeTrigMode   "normal"
  72.   ExtModeTrigPort   "1"
  73.   ExtModeTrigElement   "any"
  74.   ExtModeTrigDuration   1000
  75.   ExtModeTrigDurationFloating "auto"
  76.   ExtModeTrigHoldOff   0
  77.   ExtModeTrigDelay   0
  78.   ExtModeTrigDirection   "rising"
  79.   ExtModeTrigLevel   0
  80.   ExtModeArchiveMode   "off"
  81.   ExtModeAutoIncOneShot   off
  82.   ExtModeIncDirWhenArm   off
  83.   ExtModeAddSuffixToVar   off
  84.   ExtModeWriteAllDataToWs off
  85.   ExtModeArmWhenConnect   on
  86.   ExtModeSkipDownloadWhenConnect off
  87.   ExtModeLogAll   on
  88.   ExtModeAutoUpdateStatusClock on
  89.   BufferReuse   on
  90.   StrictBusMsg   "None"
  91.   ProdHWDeviceType   "Specified"
  92.   ShowModelReferenceBlockVersion off
  93.   ShowModelReferenceBlockIO off
  94.   Array {
  95.     Type     "Handle"
  96.     Dimension     1
  97.     Simulink.ConfigSet {
  98.       $ObjectID       1
  99.       Version       "1.0.4"
  100.       Array {
  101. Type "Handle"
  102. Dimension 7
  103. Simulink.SolverCC {
  104.   $ObjectID   2
  105.   Version   "1.0.4"
  106.   StartTime   "0.0"
  107.   StopTime   "10"
  108.   AbsTol   "auto"
  109.   FixedStep   "auto"
  110.   InitialStep   "auto"
  111.   MaxNumMinSteps   "-1"
  112.   MaxOrder   5
  113.   ExtrapolationOrder   4
  114.   NumberNewtonIterations  1
  115.   MaxStep   "auto"
  116.   MinStep   "auto"
  117.   RelTol   "1e-3"
  118.   SolverMode   "Auto"
  119.   Solver   "ode45"
  120.   SolverName   "ode45"
  121.   ZeroCrossControl   "UseLocalSettings"
  122.   PositivePriorityOrder   off
  123.   AutoInsertRateTranBlk   off
  124.   SampleTimeConstraint   "Unconstrained"
  125.   RateTranMode   "Deterministic"
  126. }
  127. Simulink.DataIOCC {
  128.   $ObjectID   3
  129.   Version   "1.0.4"
  130.   Decimation   "1"
  131.   ExternalInput   "[t, u]"
  132.   FinalStateName   "xFinal"
  133.   InitialState   "xInitial"
  134.   LimitDataPoints   on
  135.   MaxDataPoints   "1000"
  136.   LoadExternalInput   off
  137.   LoadInitialState   off
  138.   SaveFinalState   off
  139.   SaveFormat   "Array"
  140.   SaveOutput   off
  141.   SaveState   off
  142.   SignalLogging   on
  143.   SaveTime   off
  144.   StateSaveName   "xout"
  145.   TimeSaveName   "tout"
  146.   OutputSaveName   "yout"
  147.   SignalLoggingName   "logsOut"
  148.   OutputOption   "RefineOutputTimes"
  149.   OutputTimes   "[]"
  150.   Refine   "1"
  151. }
  152. Simulink.OptimizationCC {
  153.   $ObjectID   4
  154.   Version   "1.0.4"
  155.   BlockReduction   on
  156.   BooleanDataType   on
  157.   ConditionallyExecuteInputs on
  158.   ConditionalExecOptimization "on_for_testing"
  159.   InlineParams   off
  160.   InlineInvariantSignals  on
  161.   OptimizeBlockIOStorage  on
  162.   BufferReuse   on
  163.   EnforceIntegerDowncast  on
  164.   ExpressionFolding   on
  165.   FoldNonRolledExpr   on
  166.   LocalBlockOutputs   on
  167.   ParameterPooling   on
  168.   RollThreshold   5
  169.   SystemCodeInlineAuto   off
  170.   StateBitsets   off
  171.   DataBitsets   off
  172.   UseTempVars   off
  173.   ZeroExternalMemoryAtStartup on
  174.   ZeroInternalMemoryAtStartup on
  175.   InitFltsAndDblsToZero   on
  176.   NoFixptDivByZeroProtection off
  177.   OptimizeModelRefInitCode off
  178.   LifeSpan   "inf"
  179. }
  180. Simulink.DebuggingCC {
  181.   $ObjectID   5
  182.   Version   "1.0.4"
  183.   RTPrefix   "error"
  184.   ConsistencyChecking   "none"
  185.   ArrayBoundsChecking   "none"
  186.   AlgebraicLoopMsg   "warning"
  187.   ArtificialAlgebraicLoopMsg "warning"
  188.   CheckSSInitialOutputMsg on
  189.   CheckExecutionContextPreStartOutputMsg on
  190.   CheckExecutionContextRuntimeOutputMsg on
  191.   SignalResolutionControl "TryResolveAllWithWarning"
  192.   BlockPriorityViolationMsg "warning"
  193.   MinStepSizeMsg   "warning"
  194.   SolverPrmCheckMsg   "none"
  195.   InheritedTsInSrcMsg   "none"
  196.   DiscreteInheritContinuousMsg "warning"
  197.   MultiTaskDSMMsg   "warning"
  198.   MultiTaskRateTransMsg   "error"
  199.   SingleTaskRateTransMsg  "none"
  200.   TasksWithSamePriorityMsg "warning"
  201.   CheckMatrixSingularityMsg "none"
  202.   IntegerOverflowMsg   "warning"
  203.   Int32ToFloatConvMsg   "warning"
  204.   ParameterDowncastMsg   "error"
  205.   ParameterOverflowMsg   "error"
  206.   ParameterPrecisionLossMsg "warning"
  207.   UnderSpecifiedDataTypeMsg "none"
  208.   UnnecessaryDatatypeConvMsg "none"
  209.   VectorMatrixConversionMsg "none"
  210.   InvalidFcnCallConnMsg   "error"
  211.   FcnCallInpInsideContextMsg "Use local settings"
  212.   SignalLabelMismatchMsg  "none"
  213.   UnconnectedInputMsg   "warning"
  214.   UnconnectedOutputMsg   "warning"
  215.   UnconnectedLineMsg   "warning"
  216.   SFcnCompatibilityMsg   "none"
  217.   UniqueDataStoreMsg   "none"
  218.   RootOutportRequireBusObject "warning"
  219.   AssertControl   "UseLocalSettings"
  220.   EnableOverflowDetection off
  221.   ModelReferenceIOMsg   "none"
  222.   ModelReferenceVersionMismatchMessage "none"
  223.   ModelReferenceIOMismatchMessage "none"
  224.   ModelReferenceCSMismatchMessage "none"
  225.   ModelReferenceSimTargetVerbose off
  226.   UnknownTsInhSupMsg   "warning"
  227.   ModelReferenceDataLoggingMessage "warning"
  228.   ModelReferenceSymbolNameMessage "warning"
  229. }
  230. Simulink.HardwareCC {
  231.   $ObjectID   6
  232.   Version   "1.0.4"
  233.   ProdBitPerChar   8
  234.   ProdBitPerShort   16
  235.   ProdBitPerInt   32
  236.   ProdBitPerLong   32
  237.   ProdIntDivRoundTo   "Undefined"
  238.   ProdEndianess   "Unspecified"
  239.   ProdWordSize   32
  240.   ProdShiftRightIntArith  on
  241.   ProdHWDeviceType   "Specified"
  242.   TargetBitPerChar   8
  243.   TargetBitPerShort   16
  244.   TargetBitPerInt   32
  245.   TargetBitPerLong   32
  246.   TargetShiftRightIntArith on
  247.   TargetIntDivRoundTo   "Undefined"
  248.   TargetEndianess   "Unspecified"
  249.   TargetWordSize   32
  250.   TargetTypeEmulationWarnSuppressLevel 0
  251.   TargetPreprocMaxBitsSint 32
  252.   TargetPreprocMaxBitsUint 32
  253.   TargetHWDeviceType   "Specified"
  254.   TargetUnknown   off
  255.   ProdEqTarget   on
  256. }
  257. Simulink.ModelReferenceCC {
  258.   $ObjectID   7
  259.   Version   "1.0.4"
  260.   UpdateModelReferenceTargets "IfOutOfDate"
  261.   CheckModelReferenceTargetMessage "error"
  262.   ModelReferenceNumInstancesAllowed "Multi"
  263.   ModelReferencePassRootInputsByReference on
  264.   ModelReferenceMinAlgLoopOccurrences off
  265. }
  266. Simulink.RTWCC {
  267.   $BackupClass   "Simulink.RTWCC"
  268.   $ObjectID   8
  269.   Version   "1.0.4"
  270.   SystemTargetFile   "grt.tlc"
  271.   GenCodeOnly   off
  272.   MakeCommand   "make_rtw"
  273.   TemplateMakefile   "grt_default_tmf"
  274.   GenerateReport   off
  275.   SaveLog   off
  276.   RTWVerbose   on
  277.   RetainRTWFile   off
  278.   ProfileTLC   off
  279.   TLCDebug   off
  280.   TLCCoverage   off
  281.   TLCAssert   off
  282.   ProcessScriptMode   "Default"
  283.   ConfigurationMode   "Optimized"
  284.   ConfigAtBuild   off
  285.   IncludeHyperlinkInReport off
  286.   LaunchReport   off
  287.   Array {
  288.     Type     "Handle"
  289.     Dimension     2
  290.     Simulink.CodeAppCC {
  291.       $ObjectID       9
  292.       Version       "1.0.4"
  293.       ForceParamTrailComments off
  294.       GenerateComments       on
  295.       IgnoreCustomStorageClasses on
  296.       IncHierarchyInIds       off
  297.       MaxIdLength       31
  298.       PreserveName       off
  299.       PreserveNameWithParent  off
  300.       ShowEliminatedStatement off
  301.       IncAutoGenComments      off
  302.       SimulinkDataObjDesc     off
  303.       SFDataObjDesc       off
  304.       IncDataTypeInIds       off
  305.       PrefixModelToSubsysFcnNames on
  306.       CustomSymbolStr       "$R$N$M"
  307.       MangleLength       5
  308.       DefineNamingRule       "None"
  309.       ParamNamingRule       "None"
  310.       SignalNamingRule       "None"
  311.       InsertBlockDesc       off
  312.       SimulinkBlockComments   on
  313.       EnableCustomComments    off
  314.       InlinedPrmAccess       "Literals"
  315.       ReqsInCode       off
  316.     }
  317.     Simulink.GRTTargetCC {
  318.       $BackupClass       "Simulink.TargetCC"
  319.       $ObjectID       10
  320.       Version       "1.0.4"
  321.       TargetFcnLib       "ansi_tfl_tmw.mat"
  322.       GenFloatMathFcnCalls    "ANSI_C"
  323.       UtilityFuncGeneration   "Auto"
  324.       GenerateFullHeader      on
  325.       GenerateSampleERTMain   off
  326.       IsPILTarget       off
  327.       ModelReferenceCompliant on
  328.       IncludeMdlTerminateFcn  on
  329.       CombineOutputUpdateFcns off
  330.       SuppressErrorStatus     off
  331.       IncludeFileDelimiter    "Auto"
  332.       ERTCustomFileBanners    off
  333.       SupportAbsoluteTime     on
  334.       LogVarNameModifier      "rt_"
  335.       MatFileLogging       on
  336.       MultiInstanceERTCode    off
  337.       SupportNonFinite       on
  338.       SupportComplex       on
  339.       PurelyIntegerCode       off
  340.       SupportContinuousTime   on
  341.       SupportNonInlinedSFcns  on
  342.       ExtMode       off
  343.       ExtModeStaticAlloc      off
  344.       ExtModeTesting       off
  345.       ExtModeStaticAllocSize  1000000
  346.       ExtModeTransport       0
  347.       ExtModeMexFile       "ext_comm"
  348.       RTWCAPISignals       off
  349.       RTWCAPIParams       off
  350.       RTWCAPIStates       off
  351.       GenerateASAP2       off
  352.     }
  353.     PropName     "Components"
  354.   }
  355. }
  356. PropName "Components"
  357.       }
  358.       Name       "Configuration"
  359.       SimulationMode       "normal"
  360.       ExtraOptions       "-aExtModeTransport="tcpip" "
  361.       CurrentDlgPage       "Solver"
  362.     }
  363.     PropName     "ConfigurationSets"
  364.   }
  365.   Simulink.ConfigSet {
  366.     $PropName     "ActiveConfigurationSet"
  367.     $ObjectID     1
  368.   }
  369.   BlockDefaults {
  370.     Orientation     "right"
  371.     ForegroundColor     "black"
  372.     BackgroundColor     "white"
  373.     DropShadow     off
  374.     NamePlacement     "normal"
  375.     FontName     "Helvetica"
  376.     FontSize     10
  377.     FontWeight     "normal"
  378.     FontAngle     "normal"
  379.     ShowName     on
  380.   }
  381.   BlockParameterDefaults {
  382.     Block {
  383.       BlockType       Abs
  384.       SaturateOnIntegerOverflow on
  385.       ZeroCross       on
  386.       SampleTime       "-1"
  387.     }
  388.     Block {
  389.       BlockType       ActionPort
  390.       InitializeStates       "held"
  391.       ActionType       "unset"
  392.     }
  393.     Block {
  394.       BlockType       ComplexToMagnitudeAngle
  395.       Output       "Magnitude and angle"
  396.       SampleTime       "-1"
  397.     }
  398.     Block {
  399.       BlockType       ComplexToRealImag
  400.       Output       "Real and imag"
  401.       SampleTime       "-1"
  402.     }
  403.     Block {
  404.       BlockType       Constant
  405.       Value       "1"
  406.       VectorParams1D       on
  407.       OutDataTypeMode       "Inherit from 'Constant value'"
  408.       OutDataType       "sfix(16)"
  409.       ConRadixGroup       "Use specified scaling"
  410.       OutScaling       "2^0"
  411.       SampleTime       "inf"
  412.     }
  413.     Block {
  414.       BlockType       DiscreteFilter
  415.       Numerator       "[1]"
  416.       Denominator       "[1 2]"
  417.       SampleTime       "1"
  418.       StateMustResolveToSignalObject off
  419.       RTWStateStorageClass    "Auto"
  420.       Realization       "auto"
  421.     }
  422.     Block {
  423.       BlockType       Display
  424.       Format       "short"
  425.       Decimation       "10"
  426.       Floating       off
  427.       SampleTime       "-1"
  428.     }
  429.     Block {
  430.       BlockType       FrameConversion
  431.       OutFrame       "Frame based"
  432.     }
  433.     Block {
  434.       BlockType       From
  435.       IconDisplay       "Tag"
  436.     }
  437.     Block {
  438.       BlockType       Fcn
  439.       Expr       "sin(u[1])"
  440.       SampleTime       "-1"
  441.     }
  442.     Block {
  443.       BlockType       Gain
  444.       Gain       "1"
  445.       Multiplication       "Element-wise(K.*u)"
  446.       ParameterDataTypeMode   "Same as input"
  447.       ParameterDataType       "sfix(16)"
  448.       ParameterScalingMode    "Best Precision: Matrix-wise"
  449.       ParameterScaling       "2^0"
  450.       OutDataTypeMode       "Same as input"
  451.       OutDataType       "sfix(16)"
  452.       OutScaling       "2^0"
  453.       LockScale       off
  454.       RndMeth       "Floor"
  455.       SaturateOnIntegerOverflow on
  456.       SampleTime       "-1"
  457.     }
  458.     Block {
  459.       BlockType       Goto
  460.       IconDisplay       "Tag"
  461.     }
  462.     Block {
  463.       BlockType       Ground
  464.     }
  465.     Block {
  466.       BlockType       If
  467.       NumInputs       "1"
  468.       IfExpression       "u1 > 0"
  469.       ShowElse       on
  470.       ZeroCross       on
  471.       SampleTime       "-1"
  472.     }
  473.     Block {
  474.       BlockType       Inport
  475.       BusObject       "BusObject"
  476.       BusOutputAsStruct       off
  477.       PortDimensions       "-1"
  478.       SampleTime       "-1"
  479.       DataType       "auto"
  480.       OutDataType       "sfix(16)"
  481.       OutScaling       "2^0"
  482.       SignalType       "auto"
  483.       SamplingMode       "auto"
  484.       Interpolate       on
  485.     }
  486.     Block {
  487.       BlockType       MagnitudeAngleToComplex
  488.       Input       "Magnitude and angle"
  489.       ConstantPart       "0"
  490.       SampleTime       "-1"
  491.     }
  492.     Block {
  493.       BlockType       Math
  494.       Operator       "exp"
  495.       OutputSignalType       "auto"
  496.       SampleTime       "-1"
  497.       OutDataTypeMode       "Same as first input"
  498.       OutDataType       "sfix(16)"
  499.       OutScaling       "2^0"
  500.       LockScale       off
  501.       RndMeth       "Floor"
  502.       SaturateOnIntegerOverflow on
  503.     }
  504.     Block {
  505.       BlockType       "M-S-Function"
  506.       MFile       "mlfile"
  507.     }
  508.     Block {
  509.       BlockType       Merge
  510.       Inputs       "2"
  511.       InitialOutput       "[]"
  512.       AllowUnequalInputPortWidths off
  513.       InputPortOffsets       "[]"
  514.     }
  515.     Block {
  516.       BlockType       Outport
  517.       Port       "1"
  518.       BusObject       "BusObject"
  519.       BusOutputAsStruct       off
  520.       PortDimensions       "-1"
  521.       SampleTime       "-1"
  522.       DataType       "auto"
  523.       OutDataType       "sfix(16)"
  524.       OutScaling       "2^0"
  525.       SignalType       "auto"
  526.       SamplingMode       "auto"
  527.       OutputWhenDisabled      "held"
  528.       InitialOutput       "[]"
  529.     }
  530.     Block {
  531.       BlockType       Probe
  532.       ProbeWidth       on
  533.       ProbeSampleTime       on
  534.       ProbeComplexSignal      on
  535.       ProbeSignalDimensions   off
  536.       ProbeFramedSignal       off
  537.       ProbeWidthDataType      "double"
  538.       ProbeSampleTimeDataType "double"
  539.       ProbeComplexityDataType "double"
  540.       ProbeDimensionsDataType "double"
  541.       ProbeFrameDataType      "double"
  542.     }
  543.     Block {
  544.       BlockType       Product
  545.       Inputs       "2"
  546.       Multiplication       "Element-wise(.*)"
  547.       InputSameDT       on
  548.       OutDataTypeMode       "Same as first input"
  549.       OutDataType       "sfix(16)"
  550.       OutScaling       "2^0"
  551.       LockScale       off
  552.       RndMeth       "Zero"
  553.       SaturateOnIntegerOverflow on
  554.       SampleTime       "-1"
  555.     }
  556.     Block {
  557.       BlockType       RealImagToComplex
  558.       Input       "Real and imag"
  559.       ConstantPart       "0"
  560.       SampleTime       "-1"
  561.     }
  562.     Block {
  563.       BlockType       Rounding
  564.       Operator       "floor"
  565.       SampleTime       "-1"
  566.     }
  567.     Block {
  568.       BlockType       Selector
  569.       InputType       "Vector"
  570.       IndexMode       "One-based"
  571.       ElementSrc       "Internal"
  572.       Elements       "1"
  573.       RowSrc       "Internal"
  574.       Rows       "1"
  575.       ColumnSrc       "Internal"
  576.       Columns       "1"
  577.       InputPortWidth       "-1"
  578.       IndexIsStartValue       off
  579.       OutputPortSize       "1"
  580.     }
  581.     Block {
  582.       BlockType       "S-Function"
  583.       FunctionName       "system"
  584.       SFunctionModules       "''"
  585.       PortCounts       "[]"
  586.     }
  587.     Block {
  588.       BlockType       SubSystem
  589.       ShowPortLabels       on
  590.       Permissions       "ReadWrite"
  591.       PermitHierarchicalResolution "All"
  592.       SystemSampleTime       "-1"
  593.       RTWFcnNameOpts       "Auto"
  594.       RTWFileNameOpts       "Auto"
  595.       SimViewingDevice       off
  596.       DataTypeOverride       "UseLocalSettings"
  597.       MinMaxOverflowLogging   "UseLocalSettings"
  598.     }
  599.     Block {
  600.       BlockType       Sum
  601.       IconShape       "rectangular"
  602.       Inputs       "++"
  603.       InputSameDT       on
  604.       OutDataTypeMode       "Same as first input"
  605.       OutDataType       "sfix(16)"
  606.       OutScaling       "2^0"
  607.       LockScale       off
  608.       RndMeth       "Floor"
  609.       SaturateOnIntegerOverflow on
  610.       SampleTime       "-1"
  611.     }
  612.     Block {
  613.       BlockType       Trigonometry
  614.       Operator       "sin"
  615.       OutputSignalType       "auto"
  616.       SampleTime       "-1"
  617.     }
  618.   }
  619.   AnnotationDefaults {
  620.     HorizontalAlignment     "center"
  621.     VerticalAlignment     "middle"
  622.     ForegroundColor     "black"
  623.     BackgroundColor     "white"
  624.     DropShadow     off
  625.     FontName     "Helvetica"
  626.     FontSize     10
  627.     FontWeight     "normal"
  628.     FontAngle     "normal"
  629.   }
  630.   LineDefaults {
  631.     FontName     "Helvetica"
  632.     FontSize     9
  633.     FontWeight     "normal"
  634.     FontAngle     "normal"
  635.   }
  636.   System {
  637.     Name     "QPSK"
  638.     Location     [2, 74, 1014, 724]
  639.     Open     on
  640.     ModelBrowserVisibility  off
  641.     ModelBrowserWidth     200
  642.     ScreenColor     "white"
  643.     PaperOrientation     "landscape"
  644.     PaperPositionMode     "auto"
  645.     PaperType     "usletter"
  646.     PaperUnits     "inches"
  647.     ZoomFactor     "100"
  648.     ReportName     "simulink-default.rpt"
  649.     Block {
  650.       BlockType       Reference
  651.       Name       "AWGNnChannel"
  652.       Ports       [1, 1]
  653.       Position       [515, 94, 590, 136]
  654.       SourceBlock       "commchan2/AWGNnChannel"
  655.       SourceType       "AWGN Channel"
  656.       ShowPortLabels       on
  657.       seed       "67"
  658.       noiseMode       "Signal to noise ratio  (SNR)"
  659.       EbNodB       "10"
  660.       EsNodB       "10"
  661.       SNRdB       "40"
  662.       bitsPerSym       "1"
  663.       Ps       "1"
  664.       Tsym       "1"
  665.       variance       "1"
  666.     }
  667.     Block {
  668.       BlockType       Display
  669.       Name       "Carrier Phase Estimate"
  670.       Ports       [1]
  671.       Position       [430, 345, 520, 375]
  672.       BackgroundColor       "[0.768627, 0.882353, 1.000000]"
  673.       Decimation       "1"
  674.     }
  675.     Block {
  676.       BlockType       Constant
  677.       Name       "Constant"
  678.       Position       [295, 155, 325, 185]
  679.       Orientation       "up"
  680.       NamePlacement       "alternate"
  681.       Value       "2.66"
  682.     }
  683.     Block {
  684.       BlockType       Display
  685.       Name       "Delay Estimate"
  686.       Ports       [1]
  687.       Position       [430, 400, 520, 430]
  688.       Decimation       "1"
  689.     }
  690.     Block {
  691.       BlockType       Reference
  692.       Name       "Discrete-TimenEye DiagramnScope"
  693.       Tag       "EyeDiagram"
  694.       Ports       [1]
  695.       Position       [805, 89, 880, 141]
  696.       Diagnostics       "AllowInheritedTsInSrc"
  697.       SourceBlock       "commsink2/Discrete-TimenEye DiagramnScope"
  698.       SourceType       "Discrete-Time Eye Diagram Scope"
  699.       ShowPortLabels       on
  700.       sampPerSymb       "10"
  701.       offsetEye       "5"
  702.       symbPerTrace       "1"
  703.       numTraces       "40"
  704.       numNewFrames       "40"
  705.       LineMarkers       "+"
  706.       LineStyles       "-"
  707.       LineColors       "b"
  708.       dupPoints       on
  709.       fading       on
  710.       render       on
  711.       AxisGrid       on
  712.       yMin       "-3.5"
  713.       yMax       "3.5"
  714.       inphaseLabel       "In-phase Amplitude"
  715.       quadratureLabel       "Quadrature Amplitude"
  716.       openScopeAtSimStart     on
  717.       dispDiagram       "In-phase Only"
  718.       FrameNumber       off
  719.       FigPos       "[232 179 560 487]"
  720.       figTitle       "Eye Diagram"
  721.       block_type_       "eye"
  722.       numLinesMax       "8"
  723.     }
  724.     Block {
  725.       BlockType       Reference
  726.       Name       "Discrete-TimenScatter PlotnScope"
  727.       Tag       "ScatterPlot"
  728.       Ports       [1]
  729.       Position       [450, 255, 500, 295]
  730.       BackgroundColor       "[0.768627, 0.882353, 1.000000]"
  731.       Diagnostics       "AllowInheritedTsInSrc"
  732.       SourceBlock       "commsink2/Discrete-TimenScatter PlotnScope"
  733.       SourceType       "Discrete-Time Scatter Plot Scope"
  734.       ShowPortLabels       on
  735.       sampPerSymb       "1"
  736.       offsetEye       "0"
  737.       numTraces       "400"
  738.       numNewFrames       "10"
  739.       LineMarkers       "."
  740.       LineColors       "b"
  741.       fading       on
  742.       render       on
  743.       AxisGrid       on
  744.       xMin       "-1.5"
  745.       xMax       "1.5"
  746.       yMin       "-1.5"
  747.       yMax       "1.5"
  748.       inphaseLabel       "In-phase Amplitude"
  749.       quadratureLabel       "Quadrature Amplitude"
  750.       openScopeAtSimStart     on
  751.       FrameNumber       off
  752.       FigPos       "[60 447 400 400]"
  753.       figTitle       "Scatter Plot"
  754.       numLinesMax       "8"
  755.       block_type_       "scatter"
  756.     }
  757.     Block {
  758.       BlockType       Reference
  759.       Name       "Error RatenCalculation"
  760.       Ports       [2, 1]
  761.       Position       [635, 192, 710, 263]
  762.       SourceBlock       "commsink2/Error RatenCalculation"
  763.       SourceType       "Error Rate Calculation"
  764.       N       "2*4"
  765.       st_delay       "500"
  766.       cp_mode       "Entire frame"
  767.       subframe       "[]"
  768.       PMode       "Port"
  769.       WsName       "ErrorVec"
  770.       RsMode2       off
  771.       stop       off
  772.       numErr       "100"
  773.       maxBits       "1e6"
  774.     }
  775.     Block {
  776.       BlockType       From
  777.       Name       "From"
  778.       Position       [65, 262, 105, 288]
  779.       DialogController       "Simulink.DDGSource"
  780.       CloseFcn       "tagdialog Close"
  781.       GotoTag       "A"
  782.     }
  783.     Block {
  784.       BlockType       Goto
  785.       Name       "Goto"
  786.       Position       [742, 15, 768, 65]
  787.       Orientation       "up"
  788.       NamePlacement       "alternate"
  789.       DialogController       "Simulink.DDGSource"
  790.       GotoTag       "A"
  791.       TagVisibility       "local"
  792.     }
  793.     Block {
  794.       BlockType       Reference
  795.       Name       "M-PSKnDemodulatornBaseband"
  796.       Ports       [1, 1]
  797.       Position       [525, 220, 600, 270]
  798.       BackgroundColor       "[0.768627, 0.882353, 1.000000]"
  799.       SourceBlock       "commdigbbndpm2/M-PSKnDemodulatornBaseband"
  800.       SourceType       "M-PSK Demodulator Baseband"
  801.       M       "4"
  802.       OutType       "Integer"
  803.       Dec       "Binary"
  804.       Ph       "0"
  805.       numSamp       "1"
  806.     }
  807.     Block {
  808.       BlockType       Reference
  809.       Name       "M-PSKnModulatornBaseband"
  810.       Ports       [1, 1]
  811.       Position       [125, 79, 200, 131]
  812.       BackgroundColor       "[0.768627, 0.882353, 1.000000]"
  813.       SourceBlock       "commdigbbndpm2/M-PSKnModulatornBaseband"
  814.       SourceType       "M-PSK Modulator Baseband"
  815.       M       "4"
  816.       InType       "Integer"
  817.       Enc       "Binary"
  818.       Ph       "0"
  819.       numSamp       "1"
  820.     }
  821.     Block {
  822.       BlockType       Reference
  823.       Name       "M-PSKnPhase Recovery"
  824.       Ports       [1, 2]
  825.       Position       [280, 234, 395, 281]
  826.       BackgroundColor       "[0.768627, 0.882353, 1.000000]"
  827.       SourceBlock       "commphrec2/M-PSKnPhase Recovery"
  828.       SourceType       "M-PSK Phase Recovery"
  829.       ShowPortLabels       on
  830.       M       "4"
  831.       intPeriod       "100"
  832.     }
  833.     Block {
  834.       BlockType       Reference
  835.       Name       "Phase/nFrequencynOffset"
  836.       Ports       [1, 1]
  837.       Position       [430, 94, 495, 136]
  838.       BackgroundColor       "[0.768627, 0.882353, 1.000000]"
  839.       SourceBlock       "commrflib2/Phase//nFrequencynOffset"
  840.       SourceType       "Phase/Frequency Offset"
  841.       ShowPortLabels       on
  842.       freqOffset       "0"
  843.       phaseOffset       "10"
  844.     }
  845.     Block {
  846.       BlockType       Reference
  847.       Name       "Raised CosinenReceive Filter"
  848.       Ports       [1, 1]
  849.       Position       [615, 93, 695, 137]
  850.       SourceBlock       "commfilt2/Raised CosinenReceive Filter"
  851.       SourceType       "Raised Cosine Receive Filter"
  852.       ShowPortLabels       on
  853.       filtType       "Square root"
  854.       N       "8"
  855.       D       "4"
  856.       R       "0.2"
  857.       sampMode       "Frame-based"
  858.       rateMode       "None"
  859.       downFactor       "8"
  860.       downOffset       "0"
  861.       checkGain       "Normalized"
  862.       filterGain       "1"
  863.       checkCoeff       off
  864.       variableName       "rcRxFilt"
  865.       launchFVT       off
  866.     }
  867.     Block {
  868.       BlockType       Reference
  869.       Name       "Raised CosinenTransmit Filter"
  870.       Ports       [1, 1]
  871.       Position       [225, 83, 305, 127]
  872.       SourceBlock       "commfilt2/Raised CosinenTransmit Filter"
  873.       SourceType       "Raised Cosine Transmit Filter"
  874.       ShowPortLabels       on
  875.       filtType       "Square root"
  876.       D       "4"
  877.       R       "0.2"
  878.       sampMode       "Frame-based"
  879.       N       "8"
  880.       checkGain       "Normalized"
  881.       filterGain       "1"
  882.       checkCoeff       off
  883.       variableName       "rcTxFilt"
  884.       launchFVT       off
  885.     }
  886.     Block {
  887.       BlockType       Reference
  888.       Name       "Random IntegernGenerator"
  889.       Ports       [0, 1]
  890.       Position       [20, 83, 100, 127]
  891.       FontName       "Arial"
  892.       SourceBlock       "commrandsrc2/Random IntegernGenerator"
  893.       SourceType       "Random Integer Generator"
  894.       ShowPortLabels       on
  895.       mul       "4"
  896.       seed       "37"
  897.       Ts       "1/100"
  898.       frameBased       on
  899.       sampPerFrame       "100"
  900.       orient       off
  901.     }
  902.     Block {
  903.       BlockType       Display
  904.       Name       "SER Display"
  905.       Ports       [1]
  906.       Position       [730, 195, 815, 265]
  907.       Decimation       "1"
  908.     }
  909.     Block {
  910.       BlockType       Selector
  911.       Name       "Selector"
  912.       Ports       [1, 1]
  913.       Position       [355, 395, 395, 435]
  914.       InputPortWidth       "100"
  915.     }
  916.     Block {
  917.       BlockType       Reference
  918.       Name       "SquaringnTiming Recovery"
  919.       Ports       [1, 2]
  920.       Position       [130, 245, 250, 300]
  921.       SourceBlock       "commtimrec2/SquaringnTiming Recovery"
  922.       SourceType       "Squaring Timing Recovery"
  923.       ShowPortLabels       on
  924.       numSymb       "100"
  925.       sampPerSymb       "8"
  926.     }
  927.     Block {
  928.       BlockType       Reference
  929.       Name       "VariablenFractional Delay"
  930.       Ports       [2, 1]
  931.       Position       [325, 95, 410, 135]
  932.       SourceBlock       "dspsigops/VariablenFractional Delay"
  933.       SourceType       "Variable Fractional Delay"
  934.       mode       "Linear Interpolation"
  935.       dmax       "100"
  936.       L       "4"
  937.       R       "10"
  938.       alpha       "1"
  939.       ic       "0"
  940.     }
  941.     Line {
  942.       SrcBlock       "Random IntegernGenerator"
  943.       SrcPort       1
  944.       Points       [0, 0]
  945.       Branch {
  946. Points [0, 105]
  947. DstBlock "Error RatenCalculation"
  948. DstPort 1
  949.       }
  950.       Branch {
  951. DstBlock "M-PSKnModulatornBaseband"
  952. DstPort 1
  953.       }
  954.     }
  955.     Line {
  956.       SrcBlock       "Raised CosinenReceive Filter"
  957.       SrcPort       1
  958.       Points       [55, 0]
  959.       Branch {
  960. DstBlock "Goto"
  961. DstPort 1
  962.       }
  963.       Branch {
  964. DstBlock "Discrete-TimenEye DiagramnScope"
  965. DstPort 1
  966.       }
  967.     }
  968.     Line {
  969.       SrcBlock       "AWGNnChannel"
  970.       SrcPort       1
  971.       DstBlock       "Raised CosinenReceive Filter"
  972.       DstPort       1
  973.     }
  974.     Line {
  975.       SrcBlock       "Constant"
  976.       SrcPort       1
  977.       DstBlock       "VariablenFractional Delay"
  978.       DstPort       2
  979.     }
  980.     Line {
  981.       SrcBlock       "Raised CosinenTransmit Filter"
  982.       SrcPort       1
  983.       DstBlock       "VariablenFractional Delay"
  984.       DstPort       1
  985.     }
  986.     Line {
  987.       SrcBlock       "VariablenFractional Delay"
  988.       SrcPort       1
  989.       DstBlock       "Phase/nFrequencynOffset"
  990.       DstPort       1
  991.     }
  992.     Line {
  993.       SrcBlock       "SquaringnTiming Recovery"
  994.       SrcPort       2
  995.       Points       [0, 130]
  996.       DstBlock       "Selector"
  997.       DstPort       1
  998.     }
  999.     Line {
  1000.       SrcBlock       "Selector"
  1001.       SrcPort       1
  1002.       DstBlock       "Delay Estimate"
  1003.       DstPort       1
  1004.     }
  1005.     Line {
  1006.       SrcBlock       "M-PSKnDemodulatornBaseband"
  1007.       SrcPort       1
  1008.       DstBlock       "Error RatenCalculation"
  1009.       DstPort       2
  1010.     }
  1011.     Line {
  1012.       SrcBlock       "Error RatenCalculation"
  1013.       SrcPort       1
  1014.       DstBlock       "SER Display"
  1015.       DstPort       1
  1016.     }
  1017.     Line {
  1018.       SrcBlock       "From"
  1019.       SrcPort       1
  1020.       DstBlock       "SquaringnTiming Recovery"
  1021.       DstPort       1
  1022.     }
  1023.     Line {
  1024.       SrcBlock       "Phase/nFrequencynOffset"
  1025.       SrcPort       1
  1026.       DstBlock       "AWGNnChannel"
  1027.       DstPort       1
  1028.     }
  1029.     Line {
  1030.       SrcBlock       "SquaringnTiming Recovery"
  1031.       SrcPort       1
  1032.       DstBlock       "M-PSKnPhase Recovery"
  1033.       DstPort       1
  1034.     }
  1035.     Line {
  1036.       SrcBlock       "M-PSKnPhase Recovery"
  1037.       SrcPort       1
  1038.       Points       [25, 0]
  1039.       Branch {
  1040. DstBlock "M-PSKnDemodulatornBaseband"
  1041. DstPort 1
  1042.       }
  1043.       Branch {
  1044. Points [0, 30]
  1045. DstBlock "Discrete-TimenScatter PlotnScope"
  1046. DstPort 1
  1047.       }
  1048.     }
  1049.     Line {
  1050.       SrcBlock       "M-PSKnPhase Recovery"
  1051.       SrcPort       2
  1052.       Points       [0, 90]
  1053.       DstBlock       "Carrier Phase Estimate"
  1054.       DstPort       1
  1055.     }
  1056.     Line {
  1057.       SrcBlock       "M-PSKnModulatornBaseband"
  1058.       SrcPort       1
  1059.       DstBlock       "Raised CosinenTransmit Filter"
  1060.       DstPort       1
  1061.     }
  1062.     Annotation {
  1063.       Name       "QPSK"
  1064.       Position       [51, 43]
  1065.       ForegroundColor       "blue"
  1066.       DropShadow       on
  1067.       FontName       "Arial"
  1068.       FontSize       16
  1069.       FontWeight       "bold"
  1070.     }
  1071.     Annotation {
  1072.       Name       "Colored icons are new comparednto the squaring"
  1073. " timing recoverynexample, doc_squaring.mdl."
  1074.       Position       [101, 386]
  1075.       FontName       "Arial"
  1076.       FontSize       11
  1077.     }
  1078.   }
  1079. }