⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test_double2.mdl

📁 控制电机程序
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      MaskDisplay	      "fprintf('DDC_HY_8072');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "0.0033"
      System {
	Name			"DDC"
	Location		[433, 403, 931, 703]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [110, 103, 140, 117]
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  "S-Function"
	  Ports			  [1, 1]
	  Position		  [205, 95, 265, 125]
	  FunctionName		  "DDC_HY_8072"
	  Parameters		  "T_samp"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [360, 103, 390, 117]
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "S-Function"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "S-Function"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Demux
      Name		      "Demux"
      Ports		      [1, 3]
      Position		      [775, 131, 780, 169]
      BackgroundColor	      "black"
      ShowName		      off
      Outputs		      "3"
    }
    Block {
      BlockType		      Display
      Name		      "Display"
      Ports		      [1]
      Position		      [900, 420, 990, 450]
      FontSize		      10
      Decimation	      "1"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain"
      Position		      [830, 420, 860, 450]
      Gain		      "500"
    }
    Block {
      BlockType		      Memory
      Name		      "Memory"
      Position		      [465, 345, 495, 375]
      Orientation	      "left"
    }
    Block {
      BlockType		      Memory
      Name		      "Memory1"
      Position		      [690, 225, 720, 255]
      Orientation	      "left"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [4]
      Position		      [990, 149, 1020, 181]
      Location		      [257, 89, 617, 691]
      Open		      off
      NumInputPorts	      "4"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
	axes3			""
	axes4			""
      }
      TimeRange		      "10"
      YMin		      "-5~-5~-5~-5"
      YMax		      "5~5~5~5"
      SaveName		      "ScopeData6"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Signal Builder"
      Tag		      "STV Subsys"
      Ports		      [0, 2]
      Position		      [35, 140, 110, 180]
      CopyFcn		      "sigbuilder_block('copy');"
      DeleteFcn		      "sigbuilder_block('delete');"
      ModelCloseFcn	      "sigbuilder_block('modelClose');"
      PreSaveFcn	      "sigbuilder_block('preSave');"
      StartFcn		      "sigbuilder_block('start');"
      StopFcn		      "sigbuilder_block('stop');"
      NameChangeFcn	      "sigbuilder_block('namechange');"
      ClipboardFcn	      "sigbuilder_block('clipboard');"
      OpenFcn		      "sigbuilder_block('open',[50 50 520 400 ]);"
      CloseFcn		      "sigbuilder_block('close');"
      TreatAsAtomicUnit	      off
      MaskType		      "Sigbuilder block"
      MaskDescription	      "Sigbuilder GUI"
      MaskInitialization      "if ~strcmp(get_param(bdroot(gcb),'SimulationSta"
"tus'),'stopped') tuvar = sigbuilder_block('maskInit'); end"
      MaskDisplay	      "plot(0,0,100,100,[10,10,40,40,10],[80,20,20,80,"
"80],[40,10],[50,50], [40,27,10],[65,72,56],[40,25,25,10],[28,28,43,43]);"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "port"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Signal Builder"
	Location		[480, 85, 980, 386]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Demux
	  Name			  "Demux"
	  Tag			  "STV Demux"
	  Ports			  [1, 2]
	  Position		  [150, 42, 160, 618]
	  Outputs		  "2"
	}
	Block {
	  BlockType		  FromWorkspace
	  Name			  "FromWs"
	  Tag			  "STV FromWs"
	  Position		  [30, 300, 115, 350]
	  VariableName		  "tuvar"
	  SampleTime		  "0"
	  SigBuilderData	  "DataTag0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Signal 1"
	  Tag			  "STV Outport"
	  Position		  [280, 30, 300, 40]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Signal 2"
	  Tag			  "STV Outport"
	  Position		  [280, 60, 300, 70]
	  Port			  "2"
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  Points		  [50, 0; 0, -150]
	  DstBlock		  "Signal 1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "FromWs"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  DstBlock		  "Signal 2"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [205, 128, 230, 172]
      ShowName		      off
      Inputs		      "|+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1]
      Position		      [465, 128, 490, 172]
      ShowName		      off
      Inputs		      "|+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum2"
      Ports		      [2, 1]
      Position		      [140, 122, 160, 178]
      ShowName		      off
      Inputs		      "|++"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Scope
      Name		      "UnSet"
      Ports		      [1]
      Position		      [990, 54, 1020, 86]
      Location		      [83, 132, 407, 371]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      DataFormat	      "StructureWithTime"
    }
    Line {
      SrcBlock		      "DDC"
      SrcPort		      1
      DstBlock		      "Demux"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Demux"
      SrcPort		      2
      Points		      [30, 0]
      Branch {
	Points			[20, 0]
	Branch {
	  Points		  [0, 210]
	  DstBlock		  "Memory"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "Scope"
	  DstPort		  1
	}
      }
      Branch {
	DstBlock		"Gain"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Demux"
      SrcPort		      1
      Points		      [85, 0; 0, -70]
      DstBlock		      "UnSet"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Demux"
      SrcPort		      3
      Points		      [20, 0]
      Branch {
	Points			[0, 80]
	DstBlock		"Memory1"
	DstPort			1
      }
      Branch {
	DstBlock		"Scope"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Memory1"
      SrcPort		      1
      Points		      [-245, 0; 0, -75]
      DstBlock		      "Sum1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      DstBlock		      "ACR"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum2"
      SrcPort		      1
      DstBlock		      "Sum"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Signal Builder"
      SrcPort		      1
      DstBlock		      "Sum2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Signal Builder"
      SrcPort		      2
      DstBlock		      "Sum2"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"ASR"
	DstPort			1
      }
      Branch {
	Points			[0, 75]
	DstBlock		"ASR_In"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "ASR"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Sum1"
	DstPort			1
      }
      Branch {
	Points			[0, -80; 420, 0; 0, 100]
	DstBlock		"Scope"
	DstPort			3
      }
    }
    Line {
      SrcBlock		      "ACR"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"DDC"
	DstPort			1
      }
      Branch {
	Points			[0, 40; 225, 0; 0, -10]
	DstBlock		"Scope"
	DstPort			4
      }
    }
    Line {
      SrcBlock		      "Memory"
      SrcPort		      1
      Points		      [-285, 0; 0, -195]
      DstBlock		      "Sum"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Gain"
      SrcPort		      1
      DstBlock		      "Display"
      DstPort		      1
    }
  }
}
MatData {
  NumRecords		  1
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    \\ \\   8    (     @         %   "
" \"     $    !     0         %  0 #     $   !(    9W)I9%-E='1I;F< 8VAA;FYE;',"
"     87AE<P          8V]M;6]N        9&%T85-E=       9&%T85-E=$ED>   #@   #  "
"   &    \"     0         !0    @    !     @    $         !  $ &\\ ;@ .    0 D"
"   8    (     @         %    \"     $    \"     0         %  0 \"@    $   \""
"\"    >$1A=&$      'E$871A      !S=&5P6       <W1E<%D      'E-:6X       !Y36%"
"X        8V]L;W(      &QI;F53='EL90!L:6YE5VED=&@ ;&%B96P      &]U=$EN9&5X  !A"
";&Q81&%T80  86QL641A=&$           X   !@    !@    @    &          4    (     "
"0    8    !          D    P              !>C\\+U*%SO/UZ/PO4H7.\\_,S,S,S,S($ S"
",S,S,S,@0        #1 #@   &     &    \"     8         !0    @    !    !@    $ "
"        \"0   #                          *ER/PO4H\"$ J7(_\"]2@(0)J9F9F9F:D_FI"
"F9F9F9J3\\.    .     8    (    !@         %    \"     $    !     0         ) "
"   \"               #@   #@    &    \"     8         !0    @    !     0    $ "
"        \"0    @               X    P    !@    @    &          4    (        "
"       !          D         #@   #     &    \"     8         !0    @         "
"      $         \"0         .    2     8    (    !@         %    \"     $    "
"#     0         )    &    $(^Z-FL^NH_                      X    P    !@    @ "
"   $          4    (     0    $    !          0  @ M    #@   #@    &    \"   "
"  8         !0    @    !     0    $         \"0    @           #X/PX   !     "
"!@    @    $          4    (     0    @    !          0    0    4P!I &< ;@!A "
"&P (  Q  X    X    !@    @    &          4    (     0    $    !          D   "
" (            \\#\\.    D     8    (     0         %    \"     $    !     0  "
"       .    8     8    (    !@         %    \"     $    &     0         )    "
",               7H_\"]2A<[S]>C\\+U*%SO/S,S,S,S,R! ,S,S,S,S($         T0 X   "
"\"0    !@    @    !          4    (     0    $    !          X   !@    !@    "
"@    &          4    (     0    8    !          D    P                       "
"  \"I<C\\+U* A *ER/PO4H\"$\":F9F9F9FI/YJ9F9F9F:D_#@   &     &    \"     8    "
"     !0    @    !    !@    $         \"0   #                       \"!       "
"  ($#-S,S,S PP0,W,S,S,##!         -$ .    8     8    (    !@         %    \" "
"    $    &     0         )    ,                                  (P         C"
"                       X    X    !@    @    &          4    (     0    $    !"
"          D    (               .    .     8    (    !@         %    \"     $ "
"   !     0         )    \"               #@   #     &    \"     8         !0 "
"   @               $         \"0         .    ,     8    (    !@         %   "
" \"                0         )          X   !(    !@    @    &          4    "
"(     0    ,    !          D    8    V(%S1I3VYC\\          -B!<T:4]N8_#@   # "
"    &    \"     0         !0    @    !     0    $         !  \" \"T    .    ."
"     8    (    !@         %    \"     $    !     0         )    \"           "
" /@_#@   $     &    \"     0         !0    @    !    \"     $         !    ! "
"   !3 &D 9P!N &$ ;  @ #( #@   #@    &    \"     8         !0    @    !     0 "
"   $         \"0    @             0 X   \"0    !@    @    !          4    (  "
"   0    $    !          X   !@    !@    @    &          4    (     0    8    "
"!          D    P                       @0        \"! S<S,S,P,,$#-S,S,S PP0  "
"      #1 #@   )     &    \"     $         !0    @    !     0    $         #@ "
"  &     &    \"     8         !0    @    !    !@    $         \"0   #        "
"                          \",         (P                      .    \\ (   8  "
"  (     @         %    \"     $    \"     0         %  0 \"P    $    W    8VA"
"A;FYE;',   !Y3&EM         &QA8F5L4&]S    ;&%B96Q(      !L86)E;%!A=&-H   .    "
".     8    (    !@         %    \"     $    !     0         )    \"          "
"   ! #@   $     &    \"     8         !0    @    !     @    $         \"0   !"
"             ,P        . _#@   #     &    \"     0         !0    @    !     @"
"    $         !  $ %0 3  .    .     8    (    !@         %    \"     $    !  "
"   0         )    \"        $  4(] #@   #@    &    \"     8         !0    @  "
"  !     0    $         \"0    @       \"  $B/0 X    X    !@    @    &        "
"  4    (     0    $    !          D    (            \\#\\.    0     8    (   "
" !@         %    \"     $    \"     0         )    $            .\"_        #"
"$ .    ,     8    (    !          %    \"     $    \"     0         $  0 5 !,"
"  X    X    !@    @    &          4    (     0    $    !          D    (     "
"   @  PCT .    .     8    (    !@         %    \"     $    !     0         ) "
"   \"        (  *(] #@   &@!   &    \"     (         !0    @    !     0    $ "
"        !0 $  D    !    )    &1I<W!4:6UE &1I<W!-;V1E &UI;E1I;64  &UA>%1I;64  "
"      .    0     8    (    !@         %    \"     $    \"     0         )    "
"$                       -$ .    .     8    (    !@         %    \"     $    !"
"     0         )    \"            / _#@   #@    &    \"     8         !0    @"
"    !     0    $         \"0    @               X    X    !@    @    &       "
"   4    (     0    $    !          D    (            -$ .    0 $   8    (    "
" @         %    \"     $    !     0         %  0 #@    $    J    86-T:79E1&ES"
"<$ED> !T:6UE4F%N9V4      &YA;64                     #@   $     &    \"     8 "
"        !0    @    !     @    $         \"0   !              0        / _#@  "
" $     &    \"     8         !0    @    !     @    $         \"0   !         "
"              #1 #@   $     &    \"     0         !0    @    !    !P    $    "
"     !     X   !' '( ;P!U '  (  Q    #@   #@    &    \"     8         !0    @"
"    !     0    $         \"0    @           #P/P"
  }
}

⌨️ 快捷键说明

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