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

📄 nintblocks.mdl

📁 国外人编写的一个分数阶系统的控制工具箱
💻 MDL
📖 第 1 页 / 共 2 页
字号:
	      TargetFcnLib	      "ansi_tfl_tmw.mat"
	      GenFloatMathFcnCalls    "ANSI_C"
	      UtilityFuncGeneration   "Auto"
	      GenerateFullHeader      on
	      GenerateSampleERTMain   off
	      IsPILTarget	      off
	      ModelReferenceCompliant on
	      IncludeMdlTerminateFcn  on
	      CombineOutputUpdateFcns off
	      SuppressErrorStatus     off
	      IncludeFileDelimiter    "Auto"
	      ERTCustomFileBanners    off
	      SupportAbsoluteTime     on
	      LogVarNameModifier      "rt_"
	      MatFileLogging	      on
	      MultiInstanceERTCode    off
	      SupportNonFinite	      on
	      SupportComplex	      on
	      PurelyIntegerCode	      off
	      SupportContinuousTime   on
	      SupportNonInlinedSFcns  on
	      ExtMode		      off
	      ExtModeStaticAlloc      off
	      ExtModeTesting	      off
	      ExtModeStaticAllocSize  1000000
	      ExtModeTransport	      0
	      ExtModeMexFile	      "ext_comm"
	      RTWCAPISignals	      off
	      RTWCAPIParams	      off
	      RTWCAPIStates	      off
	      GenerateASAP2	      off
	    }
	    PropName		    "Components"
	  }
	}
	PropName		"Components"
      }
      Name		      "Configuration"
      SimulationMode	      "normal"
      CurrentDlgPage	      "Solver"
    }
    PropName		    "ConfigurationSets"
  }
  Simulink.ConfigSet {
    $PropName		    "ActiveConfigurationSet"
    $ObjectID		    1
  }
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "Courier New"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  BlockParameterDefaults {
    Block {
      BlockType		      Inport
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      Interpolate	      on
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      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		      StateSpace
      A			      "1"
      B			      "1"
      C			      "1"
      D			      "1"
      X0		      "0"
      AbsoluteTolerance	      "auto"
      Realization	      "auto"
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Courier New"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Courier New"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "nintblocks"
    Location		    [454, 297, 700, 433]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      SubSystem
      Name		      "Fractional PID"
      Ports		      [1, 1]
      Position		      [140, 24, 200, 76]
      FontName		      "Arial"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskType		      "Fractional PID controller"
      MaskDescription	      "Enter expressions for the parameters of functio"
"n nipid."
      MaskHelp		      "Type 'help nipid' at the command prompt for fur"
"ther help."
      MaskPromptString	      "kp:|kd:|vd:|ki:|vi:|bandwidth:|n:|formula:|expa"
"nsion:|decomposition:"
      MaskStyleString	      "edit,edit,edit,edit,edit,edit,edit,popup(crone|"
"carlson|matsuda|cfehigh|cfelow|tustin|simpson|1ofd|2ofd|3ofd|delta|impulse|st"
"ep),popup(mcltime|mcltimeINV|cfe|cfeINV),popup(frac|all)"
      MaskTunableValueString  "on,on,on,on,on,on,on,on,on,on"
      MaskCallbackString      "|||||||||"
      MaskEnableString	      "on,on,on,on,on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on,on,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on,on,on,on,on,on"
      MaskVarAliasString      ",,,,,,,,,"
      MaskVariables	      "kp=@1;kd=@2;vd=@3;ki=@4;vi=@5;bandwidth=@6;n=@7"
";form1=@8;exp1=@9;decomp1=@10;"
      MaskInitialization      "form2 = {'crone', 'carlson', 'matsuda', 'cfehig"
"h', 'cfelow', 'tustin', 'simpson', '1ofd', '2ofd', '3ofd', 'delta', 'impulse'"
", 'step'};\nformula = form2{form1};\nexp2 = {'mcltime', 'mcltimeINV', 'cfe', "
"'cfeINV'};\nexpansion = exp2{exp1};\ndecomp2 = {'frac', 'all'};\ndecompositio"
"n = decomp2{decomp1};"
      MaskDisplay	      "fprintf('nipid')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "pixels"
      MaskValueString	      "1|1|0.5|1|-0.5|[0.01 100]|5|crone|mcltime|frac"
      MaskTabNameString	      ",,,,,,,,,"
      System {
	Name			"Fractional PID"
	Location		[62, 372, 922, 512]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In_1"
	  Position		  [35, 50, 55, 70]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "LTI block"
	  Ports			  [1, 1]
	  Position		  [75, 35, 725, 85]
	  SourceBlock		  "cstblocks/LTI System"
	  SourceType		  "LTI Block"
	  ShowPortLabels	  on
	  sys			  "nipid(kp, kd, vd, ki, vi, bandwidth, n, for"
"mula, expansion, decomposition)"
	  IC			  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out_1"
	  Position		  [800, 50, 820, 70]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "In_1"
	  SrcPort		  1
	  DstBlock		  "LTI block"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "LTI block"
	  SrcPort		  1
	  DstBlock		  "Out_1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Fractional derivative"
      Ports		      [1, 1]
      Position		      [45, 25, 105, 75]
      FontName		      "Arial"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskType		      "Fractional derivative"
      MaskDescription	      "Enter expressions for the parameters of functio"
"n nid."
      MaskHelp		      "Type 'help nid' at the command prompt for furth"
"er help."
      MaskPromptString	      "k|v:|bandwidth:|n:|formula:|expansion:|decompos"
"ition:"
      MaskStyleString	      "edit,edit,edit,edit,popup(crone|carlson|matsuda"
"|cfehigh|cfelow|tustin|simpson|1ofd|2ofd|3ofd|delta|impulse|step),popup(mclti"
"me|mcltimeINV|cfe|cfeINV),popup(frac|all)"
      MaskTunableValueString  "on,on,on,on,on,on,on"
      MaskCallbackString      "||||||"
      MaskEnableString	      "on,on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on,on,on"
      MaskVarAliasString      ",,,,,,"
      MaskVariables	      "k=@1;v=@2;bandwidth=@3;n=@4;form1=@5;exp1=@6;de"
"comp1=@7;"
      MaskInitialization      "form2 = {'crone', 'carlson', 'matsuda', 'cfehig"
"h', 'cfelow', 'tustin', 'simpson', '1ofd', '2ofd', '3ofd', 'delta', 'impulse'"
", 'step'};\nformula = form2{form1};\nexp2 = {'mcltime', 'mcltimeINV', 'cfe', "
"'cfeINV'};\nexpansion = exp2{exp1};\ndecomp2 = {'frac', 'all'};\ndecompositio"
"n = decomp2{decomp1};"
      MaskDisplay	      "fprintf('nid')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "pixels"
      MaskValueString	      "1|0.5|[0.01 100]|5|crone|mcltime|frac"
      MaskTabNameString	      ",,,,,,"
      System {
	Name			"Fractional derivative"
	Location		[151, 404, 718, 534]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In_1"
	  Position		  [25, 60, 45, 80]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "LTI block"
	  Ports			  [1, 1]
	  Position		  [65, 50, 480, 90]
	  SourceBlock		  "cstblocks/LTI System"
	  SourceType		  "LTI Block"
	  ShowPortLabels	  on
	  sys			  "nid(k, v, bandwidth, n, formula, expansion,"
" decomposition)"
	  IC			  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out_1"
	  Position		  [510, 60, 530, 80]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "In_1"
	  SrcPort		  1
	  DstBlock		  "LTI block"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "LTI block"
	  SrcPort		  1
	  DstBlock		  "Out_1"
	  DstPort		  1
	}
      }
    }
  }
}

⌨️ 快捷键说明

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