📄 btt6dof1good.mdl
字号:
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [465, 280, 495, 310]
InitialCondition "psic0"
Port {
PortNumber 1
Name "psic"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Mux
Name "Mux"
Ports [6, 1]
Position [255, 103, 260, 347]
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [720, 191, 725, 329]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Constant
Name "P"
Position [45, 270, 75, 300]
Value "6350"
Port {
PortNumber 1
Name "P"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [185, 34, 215, 66]
Location [1, 56, 1025, 737]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [375, 44, 405, 76]
Location [1, 56, 1025, 737]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [175, 369, 205, 401]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [110, 379, 140, 411]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData4"
DataFormat "StructureWithTime"
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [560, 175, 620, 205]
Orientation "left"
VariableName "theta"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [565, 325, 625, 355]
Orientation "left"
VariableName "psic"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType Outport
Name "v"
Position [855, 148, 885, 162]
}
Block {
BlockType Outport
Name "theta-psic"
Position [850, 253, 880, 267]
Port "2"
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [15, 0]
Branch {
DstBlock "Fcn1"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "Fcn"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Fcn2"
DstPort 1
}
}
Branch {
Points [0, -165]
DstBlock "Scope1"
DstPort 1
}
}
Line {
Name "v"
Labels [0, 0]
SrcBlock "Integrator"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Labels [4, 0]
Points [0, -70; -315, 0; 0, 40]
DstBlock "Mux"
DstPort 1
}
Branch {
DstBlock "v"
DstPort 1
}
}
Line {
Name "theta"
Labels [0, 0]
SrcBlock "Integrator1"
SrcPort 1
Points [145, 0]
Branch {
DstBlock "Mux1"
DstPort 1
}
Branch {
Points [0, -35]
DstBlock "To Workspace"
DstPort 1
}
}
Line {
Name "v'"
Labels [0, 0]
SrcBlock "Fcn"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
Name "theta'"
Labels [0, 0]
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
Name "psic'"
Labels [0, 0]
SrcBlock "Fcn2"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
Name "psic"
Labels [0, 0]
SrcBlock "Integrator2"
SrcPort 1
Points [35, 0]
Branch {
Points [115, 0]
Branch {
DstBlock "Mux1"
DstPort 2
}
Branch {
Points [0, 45]
DstBlock "To Workspace1"
DstPort 1
}
}
Branch {
Points [5, 0; 0, 85; -300, 0]
DstBlock "Mux"
DstPort 6
}
}
Line {
Name "alpha-beta"
Labels [0, 0]
SrcBlock "alpha-beta"
SrcPort 1
Points [60, 0]
Branch {
Points [0, -115]
DstBlock "Scope"
DstPort 1
}
Branch {
DstBlock "Mux"
DstPort 2
}
}
Line {
Name "Fx-Fy-Fz"
Labels [0, 0]
SrcBlock "Fx-Fy-Fz"
SrcPort 1
Points [80, 0]
Branch {
DstBlock "Mux"
DstPort 3
}
Branch {
DstBlock "Scope2"
DstPort 1
}
}
Line {
Name "gammac"
Labels [0, 0]
SrcBlock "gammac"
SrcPort 1
Points [60, 0]
Branch {
DstBlock "Mux"
DstPort 4
}
Branch {
Points [-45, 0]
DstBlock "Scope3"
DstPort 1
}
}
Line {
Name "P"
Labels [0, 0]
SrcBlock "P"
SrcPort 1
DstBlock "Mux"
DstPort 5
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "theta-psic"
DstPort 1
}
Annotation {
Name "input v0 theta0 psic0 Cx Cy Cz p s P"
Position [325, 414]
}
}
}
Block {
BlockType SubSystem
Name "导弹质心运动的运动学方程"
Ports [2, 1]
Position [650, 281, 725, 394]
TreatAsAtomicUnit off
Port {
PortNumber 1
Name "x-y-z-x'-y'z'"
PropagatedSignals "x-y-z-x'-y'-z'"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
System {
Name "导弹质心运动的运动学方程"
Location [2, 82, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 212
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "v"
Position [110, 103, 140, 117]
}
Block {
BlockType Inport
Name "theta-psic"
Position [110, 208, 140, 222]
Port "2"
}
Block {
BlockType Fcn
Name "Fcn"
Position [335, 85, 395, 115]
Expr "u(1)*cos(u(2))*cos(u(3))"
Port {
PortNumber 1
Name "x'"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Fcn
Name "Fcn1"
Position [335, 150, 395, 180]
Expr "u(1)*sin(u(2))"
Port {
PortNumber 1
Name "y'"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Fcn
Name "Fcn2"
Position [335, 215, 395, 245]
Expr "-u(1)*cos(u(2))*sin(u(3))"
Port {
PortNumber 1
Name "z'"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [455, 85, 485, 115]
InitialCondition "x0"
Port {
PortNumber 1
Name "x"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [455, 150, 485, 180]
InitialCondition "y0"
Port {
PortNumber 1
Name "y"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [455, 215, 485, 245]
InitialCondition "z0"
Port {
PortNumber 1
Name "z"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Mux
Name "Mux"
Ports [6, 1]
Position [560, 62, 565, 463]
ShowName off
Inputs "6"
DisplayOption "bar"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -