How to generate c code with joystick input?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I put .mex file but doesnt work: Cannot find S-function module 'joyinput'. S-Function modules must exist as either source files or pre-compiled object files on the MATLAB path.
0 commentaires
Réponse acceptée
Ruchika Parag
le 18 Juil 2024
Modifié(e) : Ruchika Parag
le 18 Juil 2024
Hi Li, you are obtaining that error because the "Joystick Input" block is not code generable. This means you cannot generate code or an S-function for the "Joystick Input" block or any subsystem containing this block. However, it is possible to associate the "Joystick Input" block with a joystick connected to and recognized by your computer. Hope this helps!
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!