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
Thomas Riemer (2023). Windows Joystick access (https://www.mathworks.com/matlabcentral/fileexchange/14756-windows-joystick-access), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!