Azzera filtri
Azzera filtri

Problem with Simulink and Arduino Uno Board

6 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Arun Kumar
Arun Kumar il 30 Gen 2020
Modificato: Arun Kumar il 31 Gen 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:

Più risposte (0)

Categorie

Scopri di più su Arduino Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by