Windows Joystick access

access windows-joysticks from simulink and slow down simulation speed
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 (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux
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!



Version Published Release Notes

released source files
sorry, could not provide binaries

Sourcecode added.