Borrar filtros
Borrar filtros

Error "Cannot find S-function modue ‘joyinput’." when I try to compile my model.

3 visualizaciones (últimos 30 días)
ya
ya el 9 de Oct. de 2023
Respondida: Shreeya el 9 de Jul. de 2024
I connet the logitech G29 driving wheel and pedals to the PC and build a model with "Joystick input" block, I can run the model and get the signals from G29 but when I try to compile the model to System target file VeriStand.tlc, there is an error "Cannot find S-function module 'joyinput'. S-Function modules must exist as either source files or pre-compiled object files on the MATLAB path."
Anybody knows how to deal with it? Many thanks.

Respuestas (1)

Shreeya
Shreeya el 9 de Jul. de 2024
Hello
I understand that you want to generate code for a Simulink model containing the Joystick input block. A quick look at the documentation suggests that this block does not support code generation. You can refer to it's documentation below:
The MATLAB Answer linked below, regarding a similar issue also suggests that the error is caused due to the lack of code generation capabiltiy:
Since you are using the logitech G29 driving wheel, you can refer to the documentation for Logitech G29 Steering Wheel block:
This block comes with code generation capabilities and can be more specific to your hardware.

Categorías

Más información sobre Simulink Coder en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by