Control Arduino using gamepad through simulink
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Amogha Nada Ganesha Annamraju
am 9 Jan. 2021
Kommentiert: Amogha Nada Ganesha Annamraju
am 11 Jan. 2021
Hello I'm trying to control arduino using gamepad in real-time through simulink. I made a simple block to control the on-board LED of Arduino Uno
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/483258/image.png)
The arduino uses Arduino support package and the gamepad is from Simulink Desktop Real-Time. I know that boht use different system target files from the error message I receive when I run it.
Error: The system target file is set to "ert.tlc". Simulink Desktop Real-Time block 'LED_Test/Digital Input' requires it to be set to either "sldrt.tlc" or "sldrtert.tlc".
Component:Simulink | Category:Model error
I tried variable-step under solver selection but then it can't run arduino package.
Is there a way to make it work?
0 Kommentare
Akzeptierte Antwort
Diego Kuratli
am 11 Jan. 2021
It is not possible to use Arduino with Simulink Desktop Real-Time in External Mode. However, it is possible to use Arduino with Simulink Desktop Real-Time in Normal Mode. Go to the SIMULATION toolstrip tab and run the model from there.
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Target Computer Setup finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!