VR to MATLAB Coordinates
(To be removed) Convert VR coordinates to MATLAB coordinates
VR to MATLAB Coordinates will be removed in a future release. For more information, see Version History.
Libraries:
Simulink 3D Animation /
Utilities
Description
The VR to MATLAB Coordinates block converts a point with coordinates in the Virtual World coordinate system (Znear) to the MATLAB® coordinate system (Zup).
The following relation holds between the two coordinate systems:
[xm, ym, zm] = [xv, -zv, yv]
where MATLAB coordinates are denoted with the m subscript and Virtual World coordinates are denoted with the v subscript. For more information on the two coordinate systems, see Virtual World Coordinate System.