Windows Joystick access

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 Linux
Categories
Find more on Simulink Real-Time in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Joystick_s-function/

Joystick_s-function/

Version Published Release Notes
1.2.0.0

released source files
sorry, could not provide binaries

1.1.0.0

Sourcecode added.

1.0.0.0