Problem with Simulink and Arduino Uno Board

조회 수: 1 (최근 30일)
Vasavi Sai
Vasavi Sai 2020년 1월 30일
편집: Arun Kumar 2020년 1월 31일
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

채택된 답변

Arun Kumar
Arun Kumar 2020년 1월 30일
편집: Arun Kumar 2020년 1월 31일
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:

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by