Problem with Simulink and Arduino Uno Board

4 Ansichten (letzte 30 Tage)
Vasavi Sai
Vasavi Sai am 30 Jan. 2020
Bearbeitet: Arun Kumar am 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

Akzeptierte Antwort

Arun Kumar
Arun Kumar am 30 Jan. 2020
Bearbeitet: Arun Kumar am 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:

Weitere Antworten (0)

Kategorien

Mehr zu Arduino Hardware 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!

Translated by