Unable to find S-function module in Simulink 3D Animation toolbox
Show older comments
I am trying to code-generate/build a Simulink model which includes the block Joystick Input. Without the block, the model successfully builds (I'm using Embedded Coder). When I include the block, the model can run, but during code gen, I receive the error "Unable to find S-function module 'joyinput'. S-function modules must exist as either source files or pre-compiled object files on the MATLAB path."
If I type which joyinput in the MATLAB command window it returns C:\Program Files\MATLAB\R2022b\toolbox\sl3d\sl3d\joyinput.mexw64
Is this block supported for code generation?
Accepted Answer
More Answers (0)
Categories
Find more on Simulation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!