Help me deploy simple package to Arduino Mega2560 clone.

4 次查看(过去 30 天)
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