Help me deploy simple package to Arduino Mega2560 clone.

8 views (last 30 days)
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 Comment
Sumukh
Sumukh on 31 Dec 2024
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.

Sign in to comment.

Answers (0)

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!