Problem with Simulink and Arduino Uno Board

4 visualizaciones (últimos 30 días)
Vasavi Sai
Vasavi Sai el 30 de En. de 2020
Editada: Arun Kumar el 31 de En. de 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

Respuesta aceptada

Arun Kumar
Arun Kumar el 30 de En. de 2020
Editada: Arun Kumar el 31 de En. de 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:

Más respuestas (0)

Categorías

Más información sobre Arduino Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by