Windows Joystick access
Version 1.2.0.0 (14.4 KB) by
Thomas Riemer
access windows-joysticks from simulink and slow down simulation speed
1.9K Downloads
Updated
23 Mar 2009
No License
This s-function outputs 6-axes from the Windows Joystick-driver along with 16 joystick-buttons and can slow down the simulation speed to "real-world-speed", so you can test behavior of models.
Slow-down is accopmlished by "active waiting", so CPU-usage rises to 100%, which is not really a problem, because only unused CPU-time is wasted.
If anyone wants to fix it, go ahead
Cite As
Thomas Riemer (2024). Windows Joystick access (https://www.mathworks.com/matlabcentral/fileexchange/14756-windows-joystick-access), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2006b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Simulink Real-Time in Help Center and MATLAB Answers
Tags
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.