Problem with Simulink and Arduino Uno Board

4 vues (au cours des 30 derniers jours)
Vasavi Sai
Vasavi Sai le 30 Jan 2020
Modifié(e) : Arun Kumar le 31 Jan 2020
Hello...
I programmed Arduino using Simulink blocks. It is working fine but every time it should connect to Simulink to work.
When I close the Simulink the Arduino is not working, in this case, I can't keep my PC ON with Simulink to run the Arduino.
Is there any solution to use the only Arduino with 12V adaptor after uploading from Simulink.
Thank You

Réponse acceptée

Arun Kumar
Arun Kumar le 30 Jan 2020
Modifié(e) : Arun Kumar le 31 Jan 2020
Hi Vasavi,
I think you are running the model in "External Mode" which requires Simulink model to be running in order to run the program on the target.
To independently run the code, use "Build, Deploy & Start" option available under Hardware tab. Refer this doc page:
For older releases, follow this documentation:

Plus de réponses (0)

Catégories

En savoir plus sur Arduino Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by