Help me deploy simple package to Arduino Mega2560 clone.

조회 수: 9 (최근 30일)
Richard Paquet
Richard Paquet 2024년 12월 22일
댓글: Sumukh 2024년 12월 31일
I can operate A/D and Digital IO on my Arduino Mega2560 clone from Matlab exployer. But I can't seem to deploy a simple defined example called 'arduino_gettingstarted' from Simulink. The following is the build summary after attempting the deployment from Simulink.
Top model targets: Model Build Reason Status Build Duration ================================================================================================================================================== arduino_gettingstarted Information cache folder or artifacts were missing. Failed to build. For more information, see build log. 0d 0 of 1 models built (0 models already up to date) Build duration: 0h 0m 16.766s
The following error occurred during deployment to your hardware board: No Arduino Mega 2560 board detected. Install or update the Arduino board driver and try again. If the problem persists, enter the host COM port number manually in the Host-board connection parameter and try again.
Component:Simulink | Category:Block diagram error
  댓글 수: 1
Sumukh
Sumukh 2024년 12월 31일
As specifed in the error message, the board is not being detected. To debug this build error, you can check if an incorrect COM port is being set in the Configuration Parameters while building the model and if the COM port selected is available in the Device Manager.

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

답변 (0개)

카테고리

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

태그

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by