📄 dj.mdl
字号:
Multiplication "Element-wise(K.*u)"
ParameterDataTypeMode "Same as input"
ParameterDataType "sfix(16)"
ParameterScalingMode "Best Precision: Matrix-wise"
ParameterScaling "2^0"
OutDataTypeMode "Same as input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
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 Integrator
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
ZeroCross on
}
Block {
BlockType Mux
Inputs "4"
DisplayOption "none"
BusObject "BusObject"
NonVirtualBus off
}
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 Product
Inputs "2"
Multiplication "Element-wise(.*)"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Zero"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Trigonometry
Operator "sin"
OutputSignalType "auto"
SampleTime "-1"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "DJ"
Location [2, 70, 1022, 718]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Inport
Name "UA"
Position [285, 163, 315, 177]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "UB"
Position [285, 248, 315, 262]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "UC"
Position [285, 333, 315, 347]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "TL"
Position [285, 418, 315, 432]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType SubSystem
Name "DJ"
Ports [4, 9]
Position [375, 129, 440, 461]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "DJ"
Location [2, 74, 972, 714]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "UA"
Position [30, 133, 60, 147]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "UB"
Position [30, 178, 60, 192]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "UC"
Position [30, 223, 60, 237]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "TL"
Position [30, 443, 60, 457]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType SubSystem
Name " 2r/3s"
Ports [3, 3]
Position [655, 23, 735, 197]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name " 2r/3s"
Location [2, 74, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ism"
Position [120, 28, 150, 42]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "ist"
Position [120, 98, 150, 112]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "theta"
Position [25, 323, 55, 337]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Sum
Name "Add3"
Ports [2, 1]
Position [165, 322, 195, 353]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add4"
Ports [2, 1]
Position [165, 417, 195, 448]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Constant"
Position [30, 425, 60, 455]
Value "2*pi/3"
}
Block {
BlockType Gain
Name "Gain"
Position [775, 70, 805, 100]
Gain "sqrt(2/3)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [775, 195, 805, 225]
Gain "sqrt(2/3)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [775, 360, 805, 390]
Gain "sqrt(2/3)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [555, 27, 585, 58]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [555, 97, 585, 128]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [555, 172, 585, 203]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [555, 247, 585, 278]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product4"
Ports [2, 1]
Position [555, 322, 585, 353]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product5"
Ports [2, 1]
Position [555, 397, 585, 428]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract"
Ports [2, 1]
Position [655, 67, 685, 98]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract1"
Ports [2, 1]
Position [655, 192, 685, 223]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract2"
Ports [2, 1]
Position [655, 357, 685, 388]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
Ports [1, 1]
Position [330, 285, 360, 315]
ShowName off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction1"
Ports [1, 1]
Position [250, 235, 280, 265]
ShowName off
Operator "cos"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction2"
Ports [1, 1]
Position [250, 325, 280, 355]
ShowName off
Operator "cos"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction3"
Ports [1, 1]
Position [250, 420, 280, 450]
ShowName off
Operator "cos"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction4"
Ports [1, 1]
Position [330, 380, 360, 410]
ShowName off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction5"
Ports [1, 1]
Position [330, 470, 360, 500]
ShowName off
}
Block {
BlockType Outport
Name "iA"
Position [890, 78, 920, 92]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "iB"
Position [890, 203, 920, 217]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "iC"
Position [890, 368, 920, 382]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "ism"
SrcPort 1
Points [0, 0; 310, 0]
Branch {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -