Rotation Between 2 Vectors
R2026b(Removed) Virtual world rotation between two 3-D vectors
Rotation Between 2 Vectors has been removed. For more information, see Version History.
Libraries:
Simulink 3D Animation /
Utilities
Description
The Rotation Between 2 Vectors takes the input of two 3-by-1 vectors and returns a virtual world rotation (specified as a 4-element vector defining the axis and angle) that is needed to transform the first input vector to the second input vector.
Ports
Input
Output
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"vrlib/Utilities/Rotation Between 2 Vectors"
Example: add_block("vrlib/Utilities/Rotation Between 2 Vectors","myModel/myBlock",MakeNameUnique="on")
