3D mouse support
Mathworks really should support the 3D mouse by default, but until they do I created a simple hack to allow one to use a 3D mouse to rotate a figure.
The function connects to the mouse driver COM object and uses a timer function to poll the mouse position and rotation. To prevent excessive resource use the time step is increased when the mouse is not in use.
Some more work is needed, but hopefully this will inspire Mathworks to include support for a 3D mouse in the next release.
Visit http://www.3dconnexion.com/ to find out what a 3D mouse is.
Cite As
Gus Brown (2024). 3D mouse support (https://www.mathworks.com/matlabcentral/fileexchange/18266-3d-mouse-support), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Test and Measurement > Image Acquisition Toolbox > Device Connection >
- Image Processing and Computer Vision > Image Acquisition Toolbox > Device Connection >
Tags
Acknowledgements
Inspired: 3D mouse support using classes and events, UR5 Control Using Matlab
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Changed wording. |