How to generate c code with joystick input?
조회 수: 6 (최근 30일)
이전 댓글 표시
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
채택된 답변
Ruchika Parag
2024년 7월 18일
편집: Ruchika Parag
2024년 7월 18일
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!
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!