S-Function for reading joystick values on Simulink
S-Function build using Windows JOYINFOEX (Winmm.lib). This S-Function supports Rapid Accelerator. Currently outputs 4 axis and 12 buttons.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Johannes Soikkeli (2026). S-Function for reading joystick values on Simulink (https://www.mathworks.com/matlabcentral/fileexchange/111265-s-function-for-reading-joystick-values-on-simulink), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: sfun_joystick.zip
General Information
- Version 1.0.5 (48.5 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.5 | Returned the warning when deviceID is wrong. |
||
| 1.0.4 | typo |
||
| 1.0.3 | There was a small bug in the c-code; Fixed now. Improved installation guide. |
||
| 1.0.2 | Removed the WinMM.dll file based on MathWorks policies. |
||
| 1.0.1 | Removed already compiled .mex file due to MathWorks policies. |
||
| 1.0.0 |