bpskdemo.mdl
上传用户:loeagle
上传日期:2013-03-02
资源大小:1236k
文件大小:16k
源码类别:

通讯编程文档

开发平台:

Matlab

  1. Model {
  2.   Name   "bpskdemo"
  3.   Version   4.00
  4.   SampleTimeColors   off
  5.   LibraryLinkDisplay   "none"
  6.   WideLines   off
  7.   ShowLineDimensions   off
  8.   ShowPortDataTypes   off
  9.   ShowStorageClass   off
  10.   ExecutionOrder   off
  11.   RecordCoverage   off
  12.   CovPath   "/"
  13.   CovSaveName   "covdata"
  14.   CovMetricSettings   "dw"
  15.   CovNameIncrementing   off
  16.   CovHtmlReporting   on
  17.   BlockNameDataTip   off
  18.   BlockParametersDataTip  off
  19.   BlockDescriptionStringDataTip off
  20.   ToolBar   off
  21.   StatusBar   on
  22.   BrowserShowLibraryLinks off
  23.   BrowserLookUnderMasks   off
  24.   Created   "Tue Jul  3 16:37:25 2001"
  25.   Creator   "gerhard"
  26.   UpdateHistory   "UpdateHistoryNever"
  27.   ModifiedByFormat   "%<Auto>"
  28.   ModifiedDateFormat   "%<Auto>"
  29.   LastModifiedDate   "Sun Aug 11 14:07:49 2002"
  30.   ModelVersionFormat   "1.%<AutoIncrement:51>"
  31.   ConfigurationManager   "none"
  32.   SimParamPage   "Solver"
  33.   StartTime   "0.0"
  34.   StopTime   "999999"
  35.   SolverMode   "Auto"
  36.   Solver   "ode45"
  37.   RelTol   "1e-3"
  38.   AbsTol   "1e-3"
  39.   Refine   "1"
  40.   MaxStep   ".0001"
  41.   MinStep   ".00000001"
  42.   MaxNumMinSteps   "-1"
  43.   InitialStep   "auto"
  44.   FixedStep   ".0001"
  45.   MaxOrder   5
  46.   OutputOption   "RefineOutputTimes"
  47.   OutputTimes   "[]"
  48.   LoadExternalInput   off
  49.   ExternalInput   "[t, u]"
  50.   SaveTime   on
  51.   TimeSaveName   "tout"
  52.   SaveState   off
  53.   StateSaveName   "xout"
  54.   SaveOutput   on
  55.   OutputSaveName   "yout"
  56.   LoadInitialState   off
  57.   InitialState   "xInitial"
  58.   SaveFinalState   off
  59.   FinalStateName   "xFinal"
  60.   SaveFormat   "Array"
  61.   LimitDataPoints   on
  62.   MaxDataPoints   "1000"
  63.   Decimation   "1"
  64.   AlgebraicLoopMsg   "warning"
  65.   MinStepSizeMsg   "warning"
  66.   UnconnectedInputMsg   "warning"
  67.   UnconnectedOutputMsg   "warning"
  68.   UnconnectedLineMsg   "warning"
  69.   InheritedTsInSrcMsg   "warning"
  70.   SingleTaskRateTransMsg  "none"
  71.   MultiTaskRateTransMsg   "error"
  72.   IntegerOverflowMsg   "warning"
  73.   CheckForMatrixSingularity "none"
  74.   UnnecessaryDatatypeConvMsg "none"
  75.   Int32ToFloatConvMsg   "warning"
  76.   InvalidFcnCallConnMsg   "error"
  77.   SignalLabelMismatchMsg  "none"
  78.   LinearizationMsg   "none"
  79.   VectorMatrixConversionMsg "none"
  80.   SfunCompatibilityCheckMsg "none"
  81.   BlockPriorityViolationMsg "warning"
  82.   ArrayBoundsChecking   "none"
  83.   ConsistencyChecking   "none"
  84.   ZeroCross   on
  85.   Profile   off
  86.   SimulationMode   "normal"
  87.   RTWSystemTargetFile   "grt.tlc"
  88.   RTWInlineParameters   off
  89.   RTWRetainRTWFile   off
  90.   RTWTemplateMakefile   "grt_default_tmf"
  91.   RTWMakeCommand   "make_rtw"
  92.   RTWGenerateCodeOnly   off
  93.   TLCProfiler   off
  94.   TLCDebug   off
  95.   TLCCoverage   off
  96.   AccelSystemTargetFile   "accel.tlc"
  97.   AccelTemplateMakefile   "accel_default_tmf"
  98.   AccelMakeCommand   "make_rtw"
  99.   TryForcingSFcnDF   off
  100.   ExtModeMexFile   "ext_comm"
  101.   ExtModeBatchMode   off
  102.   ExtModeTrigType   "manual"
  103.   ExtModeTrigMode   "normal"
  104.   ExtModeTrigPort   "1"
  105.   ExtModeTrigElement   "any"
  106.   ExtModeTrigDuration   1000
  107.   ExtModeTrigHoldOff   0
  108.   ExtModeTrigDelay   0
  109.   ExtModeTrigDirection   "rising"
  110.   ExtModeTrigLevel   0
  111.   ExtModeArchiveMode   "off"
  112.   ExtModeAutoIncOneShot   off
  113.   ExtModeIncDirWhenArm   off
  114.   ExtModeAddSuffixToVar   off
  115.   ExtModeWriteAllDataToWs off
  116.   ExtModeArmWhenConnect   on
  117.   ExtModeSkipDownloadWhenConnect off
  118.   ExtModeLogAll   on
  119.   ExtModeAutoUpdateStatusClock on
  120.   OptimizeBlockIOStorage  on
  121.   BufferReuse   on
  122.   ParameterPooling   on
  123.   BlockReductionOpt   off
  124.   RTWExpressionDepthLimit 5
  125.   BooleanDataType   off
  126.   BlockDefaults {
  127.     Orientation     "right"
  128.     ForegroundColor     "black"
  129.     BackgroundColor     "white"
  130.     DropShadow     off
  131.     NamePlacement     "normal"
  132.     FontName     "Helvetica"
  133.     FontSize     10
  134.     FontWeight     "normal"
  135.     FontAngle     "normal"
  136.     ShowName     on
  137.   }
  138.   AnnotationDefaults {
  139.     HorizontalAlignment     "center"
  140.     VerticalAlignment     "middle"
  141.     ForegroundColor     "black"
  142.     BackgroundColor     "white"
  143.     DropShadow     off
  144.     FontName     "Helvetica"
  145.     FontSize     10
  146.     FontWeight     "normal"
  147.     FontAngle     "normal"
  148.   }
  149.   LineDefaults {
  150.     FontName     "Helvetica"
  151.     FontSize     9
  152.     FontWeight     "normal"
  153.     FontAngle     "normal"
  154.   }
  155.   System {
  156.     Name     "bpskdemo"
  157.     Location     [272, 350, 909, 649]
  158.     Open     on
  159.     ModelBrowserVisibility  off
  160.     ModelBrowserWidth     200
  161.     ScreenColor     "white"
  162.     PaperOrientation     "landscape"
  163.     PaperPositionMode     "auto"
  164.     PaperType     "usletter"
  165.     PaperUnits     "inches"
  166.     ZoomFactor     "91"
  167.     ReportName     "simulink-default.rpt"
  168.     Block {
  169.       BlockType       Clock
  170.       Name       "Clock"
  171.       Position       [60, 195, 80, 215]
  172.       ShowName       off
  173.       DisplayTime       off
  174.       Decimation       "10"
  175.     }
  176.     Block {
  177.       BlockType       Clock
  178.       Name       "Clock1"
  179.       Position       [240, 200, 260, 220]
  180.       ShowName       off
  181.       DisplayTime       off
  182.       Decimation       "10"
  183.     }
  184.     Block {
  185.       BlockType       Fcn
  186.       Name       "Fcn1"
  187.       Position       [100, 190, 195, 220]
  188.       ShowName       off
  189.       Expr       "cos(4*pi*u)"
  190.     }
  191.     Block {
  192.       BlockType       Fcn
  193.       Name       "Fcn2"
  194.       Position       [275, 195, 370, 225]
  195.       ShowName       off
  196.       Expr       "2*cos(4*pi*u)"
  197.     }
  198.     Block {
  199.       BlockType       Integrator
  200.       Name       "Integrator"
  201.       Ports       [2, 1]
  202.       Position       [490, 112, 520, 143]
  203.       ExternalReset       "rising"
  204.       InitialConditionSource  "internal"
  205.       InitialCondition       "0"
  206.       LimitOutput       off
  207.       UpperSaturationLimit    "inf"
  208.       LowerSaturationLimit    "-inf"
  209.       ShowSaturationPort      off
  210.       ShowStatePort       off
  211.       AbsoluteTolerance       "auto"
  212.     }
  213.     Block {
  214.       BlockType       Lookup
  215.       Name       "Look-UpnTable"
  216.       Position       [150, 95, 185, 125]
  217.       FontSize       10
  218.       InputValues       "[-1,0,1]"
  219.       OutputValues       "[-1,1,1]"
  220.     }
  221.     Block {
  222.       BlockType       Product
  223.       Name       "Product"
  224.       Ports       [2, 1]
  225.       Position       [225, 103, 255, 127]
  226.       ShowName       off
  227.       Inputs       "2"
  228.       Multiplication       "Element-wise(.*)"
  229.       SaturateOnIntegerOverflow on
  230.     }
  231.     Block {
  232.       BlockType       Product
  233.       Name       "Product1"
  234.       Ports       [2, 1]
  235.       Position       [395, 108, 425, 132]
  236.       ShowName       off
  237.       Inputs       "2"
  238.       Multiplication       "Element-wise(.*)"
  239.       SaturateOnIntegerOverflow on
  240.     }
  241.     Block {
  242.       BlockType       DiscretePulseGenerator
  243.       Name       "PulsenGenerator"
  244.       Position       [460, 195, 490, 225]
  245.       PulseType       "Time-based"
  246.       Amplitude       "1"
  247.       Period       "1"
  248.       PulseWidth       "50"
  249.       PhaseDelay       "0"
  250.       SampleTime       "1"
  251.       VectorParams1D       on
  252.     }
  253.     Block {
  254.       BlockType       Scope
  255.       Name       "Scope1"
  256.       Ports       [1]
  257.       Position       [220, 24, 250, 56]
  258.       Floating       off
  259.       Location       [125, 488, 978, 698]
  260.       Open       off
  261.       NumInputPorts       "1"
  262.       TickLabels       "OneTimeTick"
  263.       ZoomMode       "on"
  264.       List {
  265. ListType AxesTitles
  266. axes1 "%<SignalLabel>"
  267.       }
  268.       List {
  269. ListType SelectedSignals
  270. axes1 ""
  271.       }
  272.       Grid       "on"
  273.       TimeRange       "10"
  274.       YMin       "-5"
  275.       YMax       "5"
  276.       SaveToWorkspace       off
  277.       SaveName       "ScopeData3"
  278.       DataFormat       "StructureWithTime"
  279.       LimitDataPoints       on
  280.       MaxDataPoints       "5000"
  281.       Decimation       "1"
  282.       SampleInput       off
  283.       SampleTime       "0"
  284.     }
  285.     Block {
  286.       BlockType       Scope
  287.       Name       "Scope2"
  288.       Ports       [1]
  289.       Position       [230, 249, 260, 281]
  290.       Floating       off
  291.       Location       [203, 680, 1056, 890]
  292.       Open       off
  293.       NumInputPorts       "1"
  294.       TickLabels       "OneTimeTick"
  295.       ZoomMode       "on"
  296.       List {
  297. ListType AxesTitles
  298. axes1 "%<SignalLabel>"
  299.       }
  300.       Grid       "on"
  301.       TimeRange       "10"
  302.       YMin       "-5"
  303.       YMax       "5"
  304.       SaveToWorkspace       off
  305.       SaveName       "ScopeData"
  306.       DataFormat       "StructureWithTime"
  307.       LimitDataPoints       on
  308.       MaxDataPoints       "5000"
  309.       Decimation       "1"
  310.       SampleInput       off
  311.       SampleTime       "0"
  312.     }
  313.     Block {
  314.       BlockType       Scope
  315.       Name       "Scope3"
  316.       Ports       [1]
  317.       Position       [355, 24, 385, 56]
  318.       Floating       off
  319.       Location       [159, 560, 1012, 770]
  320.       Open       off
  321.       NumInputPorts       "1"
  322.       TickLabels       "OneTimeTick"
  323.       ZoomMode       "on"
  324.       List {
  325. ListType AxesTitles
  326. axes1 "%<SignalLabel>"
  327.       }
  328.       List {
  329. ListType SelectedSignals
  330. axes1 ""
  331.       }
  332.       Grid       "on"
  333.       TimeRange       "10"
  334.       YMin       "-5"
  335.       YMax       "5"
  336.       SaveToWorkspace       off
  337.       SaveName       "ScopeData1"
  338.       DataFormat       "StructureWithTime"
  339.       LimitDataPoints       on
  340.       MaxDataPoints       "5000"
  341.       Decimation       "1"
  342.       SampleInput       off
  343.       SampleTime       "0"
  344.     }
  345.     Block {
  346.       BlockType       Scope
  347.       Name       "Scope4"
  348.       Ports       [1]
  349.       Position       [400, 194, 430, 226]
  350.       Floating       off
  351.       Location       [261, 273, 1114, 483]
  352.       Open       off
  353.       NumInputPorts       "1"
  354.       TickLabels       "OneTimeTick"
  355.       ZoomMode       "on"
  356.       List {
  357. ListType AxesTitles
  358. axes1 "%<SignalLabel>"
  359.       }
  360.       Grid       "on"
  361.       TimeRange       "10"
  362.       YMin       "-5"
  363.       YMax       "5"
  364.       SaveToWorkspace       off
  365.       SaveName       "ScopeData5"
  366.       DataFormat       "StructureWithTime"
  367.       LimitDataPoints       on
  368.       MaxDataPoints       "5000"
  369.       Decimation       "1"
  370.       SampleInput       off
  371.       SampleTime       "0"
  372.     }
  373.     Block {
  374.       BlockType       Scope
  375.       Name       "Scope5"
  376.       Ports       [1]
  377.       Position       [465, 24, 495, 56]
  378.       Floating       off
  379.       Location       [166, 58, 1019, 268]
  380.       Open       on
  381.       NumInputPorts       "1"
  382.       TickLabels       "OneTimeTick"
  383.       ZoomMode       "on"
  384.       List {
  385. ListType AxesTitles
  386. axes1 "%<SignalLabel>"
  387.       }
  388.       List {
  389. ListType SelectedSignals
  390. axes1 ""
  391.       }
  392.       Grid       "on"
  393.       TimeRange       "10"
  394.       YMin       "-5"
  395.       YMax       "5"
  396.       SaveToWorkspace       off
  397.       SaveName       "ScopeData4"
  398.       DataFormat       "StructureWithTime"
  399.       LimitDataPoints       on
  400.       MaxDataPoints       "5000"
  401.       Decimation       "1"
  402.       SampleInput       off
  403.       SampleTime       "0"
  404.     }
  405.     Block {
  406.       BlockType       Scope
  407.       Name       "Scope6"
  408.       Ports       [1]
  409.       Position       [525, 194, 555, 226]
  410.       Floating       off
  411.       Location       [156, 364, 1009, 574]
  412.       Open       on
  413.       NumInputPorts       "1"
  414.       TickLabels       "OneTimeTick"
  415.       ZoomMode       "on"
  416.       List {
  417. ListType AxesTitles
  418. axes1 "%<SignalLabel>"
  419.       }
  420.       List {
  421. ListType SelectedSignals
  422. axes1 ""
  423.       }
  424.       Grid       "on"
  425.       TimeRange       "10"
  426.       YMin       "-5"
  427.       YMax       "5"
  428.       SaveToWorkspace       off
  429.       SaveName       "ScopeData7"
  430.       DataFormat       "StructureWithTime"
  431.       LimitDataPoints       on
  432.       MaxDataPoints       "5000"
  433.       Decimation       "1"
  434.       SampleInput       off
  435.       SampleTime       "0"
  436.     }
  437.     Block {
  438.       BlockType       Scope
  439.       Name       "Scope7"
  440.       Ports       [1]
  441.       Position       [555, 24, 585, 56]
  442.       Floating       off
  443.       Location       [146, 436, 999, 646]
  444.       Open       off
  445.       NumInputPorts       "1"
  446.       TickLabels       "OneTimeTick"
  447.       ZoomMode       "on"
  448.       List {
  449. ListType AxesTitles
  450. axes1 "%<SignalLabel>"
  451.       }
  452.       List {
  453. ListType SelectedSignals
  454. axes1 ""
  455.       }
  456.       Grid       "on"
  457.       TimeRange       "10"
  458.       YMin       "-5"
  459.       YMax       "5"
  460.       SaveToWorkspace       off
  461.       SaveName       "ScopeData6"
  462.       DataFormat       "StructureWithTime"
  463.       LimitDataPoints       on
  464.       MaxDataPoints       "5000"
  465.       Decimation       "1"
  466.       SampleInput       off
  467.       SampleTime       "0"
  468.     }
  469.     Block {
  470.       BlockType       Scope
  471.       Name       "Scope8"
  472.       Ports       [1]
  473.       Position       [635, 114, 665, 146]
  474.       Floating       off
  475.       Location       [166, 552, 1019, 762]
  476.       Open       on
  477.       NumInputPorts       "1"
  478.       TickLabels       "OneTimeTick"
  479.       ZoomMode       "on"
  480.       List {
  481. ListType AxesTitles
  482. axes1 "%<SignalLabel>"
  483.       }
  484.       List {
  485. ListType SelectedSignals
  486. axes1 ""
  487.       }
  488.       Grid       "on"
  489.       TimeRange       "10"
  490.       YMin       "-5"
  491.       YMax       "5"
  492.       SaveToWorkspace       off
  493.       SaveName       "ScopeData2"
  494.       DataFormat       "StructureWithTime"
  495.       LimitDataPoints       on
  496.       MaxDataPoints       "5000"
  497.       Decimation       "1"
  498.       SampleInput       off
  499.       SampleTime       "0"
  500.     }
  501.     Block {
  502.       BlockType       Signum
  503.       Name       "Sign"
  504.       Position       [95, 95, 125, 125]
  505.     }
  506.     Block {
  507.       BlockType       Signum
  508.       Name       "Sign1"
  509.       Position       [570, 115, 600, 145]
  510.     }
  511.     Block {
  512.       BlockType       UniformRandomNumber
  513.       Name       "Uniform RandomnNumber"
  514.       Position       [30, 94, 60, 126]
  515.       Minimum       "-1"
  516.       Maximum       "1"
  517.       Seed       "0"
  518.       SampleTime       "1"
  519.       VectorParams1D       on
  520.     }
  521.     Line {
  522.       SrcBlock       "Clock"
  523.       SrcPort       1
  524.       DstBlock       "Fcn1"
  525.       DstPort       1
  526.     }
  527.     Line {
  528.       SrcBlock       "Fcn1"
  529.       SrcPort       1
  530.       Points       [0, 0; 10, 0]
  531.       Branch {
  532. DstBlock "Product"
  533. DstPort 2
  534.       }
  535.       Branch {
  536. Points [0, 60]
  537. DstBlock "Scope2"
  538. DstPort 1
  539.       }
  540.     }
  541.     Line {
  542.       SrcBlock       "Clock1"
  543.       SrcPort       1
  544.       DstBlock       "Fcn2"
  545.       DstPort       1
  546.     }
  547.     Line {
  548.       SrcBlock       "Fcn2"
  549.       SrcPort       1
  550.       Points       [5, 0]
  551.       Branch {
  552. DstBlock "Scope4"
  553. DstPort 1
  554.       }
  555.       Branch {
  556. DstBlock "Product1"
  557. DstPort 2
  558.       }
  559.     }
  560.     Line {
  561.       SrcBlock       "Product1"
  562.       SrcPort       1
  563.       Points       [45, 0; -30, 0]
  564.       Branch {
  565. Points [0, -80]
  566. DstBlock "Scope5"
  567. DstPort 1
  568.       }
  569.       Branch {
  570. DstBlock "Integrator"
  571. DstPort 1
  572.       }
  573.     }
  574.     Line {
  575.       SrcBlock       "Integrator"
  576.       SrcPort       1
  577.       Points       [15, 0]
  578.       Branch {
  579. DstBlock "Scope7"
  580. DstPort 1
  581.       }
  582.       Branch {
  583. DstBlock "Sign1"
  584. DstPort 1
  585.       }
  586.     }
  587.     Line {
  588.       SrcBlock       "PulsenGenerator"
  589.       SrcPort       1
  590.       Points       [50, 0]
  591.       Branch {
  592. Points [-45, 0; 0, -35; -25, 0]
  593. DstBlock "Integrator"
  594. DstPort 2
  595.       }
  596.       Branch {
  597. DstBlock "Scope6"
  598. DstPort 1
  599.       }
  600.     }
  601.     Line {
  602.       SrcBlock       "Product"
  603.       SrcPort       1
  604.       Points       [60, 0]
  605.       Branch {
  606. Points [0, -75]
  607. DstBlock "Scope3"
  608. DstPort 1
  609.       }
  610.       Branch {
  611. DstBlock "Product1"
  612. DstPort 1
  613.       }
  614.     }
  615.     Line {
  616.       SrcBlock       "Sign1"
  617.       SrcPort       1
  618.       DstBlock       "Scope8"
  619.       DstPort       1
  620.     }
  621.     Line {
  622.       SrcBlock       "Uniform RandomnNumber"
  623.       SrcPort       1
  624.       DstBlock       "Sign"
  625.       DstPort       1
  626.     }
  627.     Line {
  628.       SrcBlock       "Sign"
  629.       SrcPort       1
  630.       DstBlock       "Look-UpnTable"
  631.       DstPort       1
  632.     }
  633.     Line {
  634.       SrcBlock       "Look-UpnTable"
  635.       SrcPort       1
  636.       Points       [15, 0]
  637.       Branch {
  638. DstBlock "Product"
  639. DstPort 1
  640.       }
  641.       Branch {
  642. DstBlock "Scope1"
  643. DstPort 1
  644.       }
  645.     }
  646.   }
  647. }