Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Looking for best approach to get a realtime simulation with a joystick into an .exe through both Matlab and Simulink

1 view (last 30 days)
I need the following package to be made into an executable. Joystick input>writes to workspace in Matlab>writes to .exe made from Simulink model>writes to .dll that will externally give information to a flight simulator (FlightGear).
The sim can't be built with the joystick block, so I'm wondering: -Can I get joystick input to go directly to Matlab/workspace? -If so, how do I take these inputs real-time and feed them into the .exe of the model(I'm having issues using system; I can get outputs from the model, but I can't give it inputs.)
Thanks for the help!

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!