dsp3_2.mdl

来自「生成2KHz和8KHz的混合信号」· MDL 代码 · 共 1,244 行 · 第 1/5 页

MDL
1,244
字号
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      ScopeProperties	      on
      Domain		      "Frequency"
      HorizSpan		      "1"
      UseBuffer		      on
      BufferSize	      "128"
      Overlap		      "64"
      inpFftLenInherit	      off
      FFTlength		      "128"
      numAvg		      "2"
      DisplayProperties	      off
      AxisGrid		      on
      Memory		      off
      FrameNumber	      on
      AxisLegend	      off
      AxisZoom		      off
      OpenScopeAtSimStart     on
      OpenScopeImmediately    off
      FigPos		      "get(0,'defaultfigureposition')"
      AxisProperties	      off
      XUnits		      "Hertz"
      XRange		      "[0...Fs/2]"
      XDisplay		      "0"
      InheritXIncr	      on
      XIncr		      "1.0"
      XLabel		      "Samples"
      XLimit		      "Auto"
      YUnits		      "dB"
      XMax		      "1"
      XMin		      "0"
      YMin		      "-10"
      YMax		      "10"
      YLabel		      "Magnitude, dB"
      LineProperties	      off
      wintypeSpecScope	      "Hann"
      RsSpecScope	      "50"
      betaSpecScope	      "5"
      winsampSpecScope	      "Periodic"
    }
    Block {
      BlockType		      Reference
      Name		      "Spectrum\nScope2"
      Ports		      [1]
      Position		      [695, 390, 730, 440]
      DialogController	      "dspdialog.SpectrumScope"
      DialogControllerArgs    "DataTag2"
      SourceBlock	      "dspsnks4/Spectrum\nScope"
      SourceType	      "Spectrum Scope"
      ShowPortLabels	      "none"
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      ScopeProperties	      on
      Domain		      "Frequency"
      HorizSpan		      "1"
      UseBuffer		      on
      BufferSize	      "128"
      Overlap		      "64"
      inpFftLenInherit	      off
      FFTlength		      "128"
      numAvg		      "2"
      DisplayProperties	      off
      AxisGrid		      on
      Memory		      off
      FrameNumber	      on
      AxisLegend	      off
      AxisZoom		      off
      OpenScopeAtSimStart     on
      OpenScopeImmediately    off
      FigPos		      "get(0,'defaultfigureposition')"
      AxisProperties	      off
      XUnits		      "Hertz"
      XRange		      "[0...Fs/2]"
      XDisplay		      "0"
      InheritXIncr	      on
      XIncr		      "1.0"
      XLabel		      "Samples"
      XLimit		      "Auto"
      YUnits		      "dB"
      XMax		      "1"
      XMin		      "0"
      YMin		      "-10"
      YMax		      "10"
      YLabel		      "Magnitude, dB"
      LineProperties	      off
      wintypeSpecScope	      "Hann"
      RsSpecScope	      "50"
      betaSpecScope	      "5"
      winsampSpecScope	      "Periodic"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [3, 1]
      Position		      [630, 215, 650, 235]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "+++"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      OutDataTypeStr	      "Inherit: Inherit via internal rule"
    }
    Line {
      SrcBlock		      "Sine Wave"
      SrcPort		      1
      Points		      [65, 0]
      DstBlock		      "Sum"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sine Wave1"
      SrcPort		      1
      Points		      [35, 0]
      DstBlock		      "Sum"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	Points			[10, 0]
	Branch {
	  DstBlock		  "Digital\nFilter Design"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 100]
	  DstBlock		  "Power Spectral\nDensity"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -60]
	  DstBlock		  "Scope"
	  DstPort		  1
	}
      }
      Branch {
	Points			[0, 190]
	DstBlock		"Spectrum\nScope2"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Digital\nFilter Design"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	DstBlock		"Scope"
	DstPort			2
      }
      Branch {
	Points			[0, 100]
	Branch {
	  DstBlock		  "Power Spectral\nDensity1"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 85]
	  DstBlock		  "Spectrum\nScope1"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Gaussian Noise\nGenerator1"
      SrcPort		      1
      Points		      [30, 0]
      DstBlock		      "Sum"
      DstPort		      3
    }
  }
}
MatData {
  NumRecords		  3
  DataRecord {
    Tag			    DataTag2
    Data		    "  %)30     .    ,     8    (    !          %    \"                0         0          "
  }
  DataRecord {
    Tag			    DataTag1
    Data		    "  %)30     .    ,     8    (    !          %    \"                0         0          "
  }
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    >%T!  8    (     @         %    \"     $    !     0         %  0 #@    $   \",    <VED9"
    "6)A<@        !F=G1O;VP          &9I;'1E<FUA;F%G97( 8W5R<F5N=%]F:6QT  !F:6QT97)-861E0GD  &-U<G)E;G1&<P      8W5R<F5"
    "N=$YA;64   !V97)S:6]N         &UC;V1E            :$9I9P                  #@   # 0   &    \"     (         !0    @ "
    "   !     0    $         !0 $  T    !    &@   &-U<G)E;G1P86YE; !D97-I9VX                 #@   #@    &    \"     0  "
    "       !0    @    !    !@    $         $     8   !D97-I9VX   X   \"0#P  !@    @    \"          4    (     0    $  "
    "  !          4 !  3     0   +X   !486<                     5F5R<VEO;@               &ES1&5S:6=N960           !297-"
    "P;VYS951Y<&4         4W5B5'EP90               $1E<VEG;DUE=&AO9         !#=7)R96YT1G,             4F5S<&]N<V54>7!E0"
    "U-(5&%G %-T871I8U)E<W!O;G-E      !#;VUP;VYE;G1S               .    2     8    (    !          %    \"     $    2  "
    "   0         0    $@   '-I9V=U:2YD97-I9VYP86YE;         X    X    !@    @    &          4    (     0    $    !    "
    "      D    (            \\#\\.    ,     8    (    \"0(        %    \"     $    !     0         \"  $  0    X    P "
    "   !@    @    $          4    (     0    (    !         !   @!B<   #@   #     &    \"     0         !0    @    !  "
    "   @    $         $  \" &)P   .    0     8    (    !          %    \"     $    ,     0         0    #    &9I;'1D97"
    ",N9FER,0     .    P     8    (     @         %    \"     $    !     0         %  0 !@    $    ,    =F%L=64 =6YI=',"
    "       X    X    !@    @    &          4    (     0    $    !          D    (          !PYT .    ,     8    (    !"
    "          %    \"     $    \"     0         0  ( 2'H   X   !8    !@    @    $          4    (     0   \"8    !    "
    "     !     F    9F1A=&]O;%]F:6QT97)?='EP95]F<F%M95QF:6QT97)D97-I9VX   X    P    !@    @    $          4    (     0"
    "    ,    !         !   P!O9F8 #@   + +   &    \"     $         !0    @    !    !0    $         #@   *@!   &    \" "
    "    (         !0    @    !     0    $         !0 $  D    !    +0   %1A9P       %9E<G-I;VX  &ES36EN3W)D &]R9&5R    "
    " &UO9&4           X   !(    !@    @    $          4    (     0   !(    !         !     2    <VEG9W5I+F9I;'1E<F]R9&"
    "5R        #@   #@    &    \"     8         !0    @    !     0    $         \"0    @           #P/PX    P    !@    "
    "@    ) @        4    (     0    $    !          (  0 !    #@   #     &    \"     0         !0    @    !     @    $"
    "         $  \" #$P   .    .     8    (    !          %    \"     $    '     0         0    !P   &UI;FEM=6T #@   # "
    "!   &    \"     (         !0    @    !     0    $         !0 $  X    !    *@   %1A9P              5F5R<VEO;@      "
    "  !$96YS:71Y1F%C=&]R          X   !(    !@    @    $          4    (     0   !@    !         !     8    <VEG9W5I+G"
    ")E;65Z;W!T:6]N<V9R86UE#@   #@    &    \"     8         !0    @    !     0    $         \"0    @           #P/PX   "
    " P    !@    @    $          4    (     0    (    !         !   @ Q-@  #@   ' \"   &    \"     (         !0    @   "
    " !     0    $         !0 $  H    !    4    %1A9P        !697)S:6]N    9G)E<55N:71S $9S          !&<W1O<#$     1G!A"
    "<W,Q     $9P87-S,@    !&<W1O<#(     #@   %     &    \"     0         !0    @    !    '0    $         $    !T   !F9"
    "&%D97-I9VYP86YE;\"YB<&9R97%P87-S<W1O<     X    X    !@    @    &          4    (     0    $    !          D    (  "
    "          \\#\\.    ,     8    (    !          %    \"     $    #     0         0  , :TAZ  X    P    !@    @    $ "
    "         4    (     0    ,    !         !   P Y,#  #@   #     &    \"     0         !0    @    !     @    $       "
    "  $  \" #DW   .    ,     8    (    !          %    \"     $    \"     0         0  ( .3@   X    P    !@    @    $ "
    "         4    (     0    ,    !         !   P Q,#( #@   #     &    \"     0         !0    @    !     P    $       "
    "  $  # #$P,P .    R ,   8    (     @         %    \"     $    !     0         %  0 \"0    $   !U    5&%G        5F"
    "5R<VEO;@  25)4>7!E    ;6%G56YI=', 07-T;W Q    07!A<W,     07-T;W R    1'-T;W Q    1'!A<W,     1'-T;W R    17-T;W Q"
    "    17!A<W,     17-T;W R        #@   $@    &    \"     0         !0    @    !    %     $         $    !0   !F9&%D9"
    "7-I9VYP86YE;\"YB<&UA9P     .    .     8    (    !@         %    \"     $    !     0         )    \"            / _"
    "#@   #     &    \"     0         !0    @    !     P    $         $  # $9)4@ .    ,     8    (    !          %    \""
    "     $    \"     0         0  ( 9$(   X    P    !@    @    $          4    (     0    (    !         !   @ V,   #@"
    "   #     &    \"     0         !0    @    !     0    $         $  ! #$    .    ,     8    (    !          %    \" "
    "    $    \"     0         0  ( .#    X    X    !@    @    $          4    (     0    4    !         !     %    ,\""
    "XP,#$    .    ,     8    (    !          %    \"     $    #     0         0  , ,\"XQ  X    X    !@    @    $      "
    "    4    (     0    4    !         !     %    ,\"XP,#$    .    .     8    (    !          %    \"     $    &     0"
    "         0    !@   # N,# P,0  #@   #     &    \"     0         !0    @    !    !     $         $  $ # N,#$.    .  "
    "   8    (    !          %    \"     $    &     0         0    !@   # N,# P,0  #@   % \"   &    \"     (         !0"
    "    @    !     0    $         !0 $  T    !    6P   %1A9P            !697)S:6]N        4V-A;&4          %=I;F1O=P  "
    "      !&=6YC=&EO;DYA;64 4&%R86UE=&5R     &ES36EN3W)D97(           X   !0    !@    @    $          4    (     0   !"
    "D    !         !     9    <VEG9W5I+F9I<G=I;F]P=&EO;G-F<F%M90         .    .     8    (    !@         %    \"     $"
    "    !     0         )    \"             ! #@   #     &    \"     0         !0    @    !     P    $         $  # &]"
    "F9@ .    .     8    (    !          %    \"     $    &     0         0    !@   $MA:7-E<@  #@   #     &    \"     0"
    "         !0    @               $         $          .    ,     8    (    !          %    \"     $    #     0      "
    "   0  , ,\"XU  X    P    !@    @    ) @        4    (     0    $    !          (  0 !    #@   .     &    \"     ( "
    "        !0    @    !     0    $         !0 $ !(    !    )    &-U<G)E;G1!;F%L>7-I<P   $]V97)L87EE9$%N86QY<VES      "

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?