필터 지우기
필터 지우기

Arduino-Simulink upon Arduino reset

조회 수: 6 (최근 30일)
Stephen Kramer
Stephen Kramer 2016년 3월 11일
댓글: Madhu Govindarajan 2017년 10월 20일
Hello, Just completing the example for the Arduino-Simulink support package for running in external mode:
I noticed when the usb is disconnected from the board the program continues to run on the board, also if you select the disconnect option from the code menu, as expected. However once the Arduino is running independently the program does not restart if you press the Arduino reset button like it does with normal Arduino sketch uploads. Is this expected when using the Matlab Arduino connection? Is there actually uploaded code on the board that can be restarted upon reset? If so how can you do that? Thanks.

답변 (1개)

Madhu Govindarajan
Madhu Govindarajan 2017년 10월 19일
If you follow this documentation page - https://www.mathworks.com/help/supportpkg/arduino/ug/run-model-on-arduino-hardware.html, you should be able to restart the model by just pressing on the reset button.
  댓글 수: 2
Stephen Kramer
Stephen Kramer 2017년 10월 19일
That's the problem exactly - the board does not restart after pressing reset, after disconnecting from the PC.
Madhu Govindarajan
Madhu Govindarajan 2017년 10월 20일
Even if you deploy the code to the hardware instead of external mode?

댓글을 달려면 로그인하십시오.

카테고리

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