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

📄 shipl.mdl

📁 一个很好的船舶仿真源程序
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      Gain		      "12"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [2]
      Position		      [475, 76, 505, 109]
      Location		      [5, 53, 1029, 741]
      Open		      off
      NumInputPorts	      "2"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
      }
      YMin		      "-5~-5"
      YMax		      "5~5"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      StateSpace
      Name		      "State-Space"
      Position		      [220, 83, 280, 117]
      A			      "[0 1 0;0 0 1;-0.1 -1.062 -3.4]"
      B			      "[0;0 ;0.05]"
      C			      "[ 1 0 0]"
      D			      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem"
      Ports		      [1, 1]
      Position		      [205, 134, 305, 176]
      TreatAsAtomicUnit	      off
      System {
	Name			"Subsystem"
	Location		[420, 163, 918, 463]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [30, 43, 60, 57]
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [85, 35, 115, 65]
	  Gain			  "0.05"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [90, 80, 120, 110]
	  Gain			  "-3.4"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain2"
	  Position		  [100, 125, 130, 155]
	  Gain			  "-1.24"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain3"
	  Position		  [115, 165, 145, 195]
	  Gain			  "-0.053"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [255, 90, 285, 120]
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator1"
	  Ports			  [1, 1]
	  Position		  [335, 90, 365, 120]
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator2"
	  Ports			  [1, 1]
	  Position		  [395, 90, 425, 120]
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [3, 1]
	  Position		  [185, 222, 235, 258]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Inputs		  "3"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [5, 1]
	  Position		  [160, 14, 190, 196]
	  ShowName		  off
	  Inputs		  "|+++++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [445, 98, 475, 112]
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Integrator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Integrator"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Integrator1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 180; -270, 0; 0, -190]
	    DstBlock		    "Gain1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Integrator1"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "Integrator2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 120]
	    Branch {
	      Points		      [0, 5]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 15]
	      Branch {
		DstBlock		"Product"
		DstPort			2
	      }
	      Branch {
		Points			[0, 20]
		Branch {
		  Points		  [0, 20; -290, 0]
		  DstBlock		  "Gain2"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, -10]
		  DstBlock		  "Product"
		  DstPort		  3
		}
	      }
	    }
	  }
	}
	Line {
	  SrcBlock		  "Integrator2"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  Points		  [10, 0; 0, 10]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  Points		  [10, 0; 0, -5]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  Points		  [5, 0; 0, -20]
	  DstBlock		  "Sum"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Gain3"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  5
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [-85, 0; 0, -60]
	  DstBlock		  "Gain3"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [162, 50, 218, 70]
      Orientation	      "down"
      NamePlacement	      "alternate"
      ShowName		      off
      Inputs		      "|+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1]
      Position		      [375, 115, 395, 135]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      ToFile
      Name		      "To File"
      Position		      [420, 185, 480, 215]
      Filename		      "shipl.mat"
      MatrixName	      "shipl"
    }
    Block {
      BlockType		      Outport
      Name		      "Out1"
      Position		      [445, 123, 475, 137]
    }
    Line {
      SrcBlock		      "State-Space"
      SrcPort		      1
      Points		      [5, 0; 25, 0; 0, 25]
      DstBlock		      "Sum1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Gain"
      SrcPort		      1
      Points		      [-65, 0]
      DstBlock		      "Sum"
      DstPort		      2
    }
    Line {
      SrcBlock		      "In1"
      SrcPort		      1
      Points		      [10, 0; 0, -100; 60, 0; 0, 60; 50, 0]
      Branch {
	Points			[0, -35]
	DstBlock		"State-Space"
	DstPort			1
      }
      Branch {
	Points			[0, 20]
	DstBlock		"Subsystem"
	DstPort			1
      }
    }
    Line {
      Points		      [350, 150; -10, 0]
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      Points		      [15, 0; 0, 5]
      Branch {
	DstBlock		"Out1"
	DstPort			1
      }
      Branch {
	Points			[0, -45]
	DstBlock		"Scope"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Subsystem"
      SrcPort		      1
      Points		      [75, 0]
      DstBlock		      "Sum1"
      DstPort		      2
    }
  }
}

⌨️ 快捷键说明

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