simulink support package for Arduino too slow

5 views (last 30 days)
Hi I want to be able to download model into arduino. It works but I am having following issues:
  • It will keep losing COM port
  • Sometimes I have to disconnect power to Arduino for it to connect over USB then connect power again to Arduino
  • Model will not download or connect to arduino easily. Sometime matlab just hangs. I then do the above action(s) and it then might work!
Is this support package really reliable. I dont have embedded coder.. Will my experience be better if I invest in Embedded Coder?
Thanks for your help

Answers (1)

Pratheek
Pratheek on 24 Apr 2023
The MATLAB Support Package for Arduino Hardware is generally reliable, and is a great tool, but it is possible to encounter issues with the connection and download process.
Investing in the Embedded Coder may improve your experience with the support package, as it provides additional features and capabilities for generating optimized code for embedded systems. However, it is not guaranteed to solve all issues related to the support package.
To improve the reliability of the support package, you can try the following steps:
  • Ensure that you are using a compatible Arduino board and that it is properly connected to your computer.
  • Clear the Arduino object in the MATLAB Workspace.
  • Check that the correct COM port is selected in MATLAB and that there are no other programs using the port.
  • Try resetting the Arduino board by disconnecting and reconnecting the power.
  • Update the firmware on the Arduino board to the latest version.
  3 Comments
Pratheek
Pratheek on 26 Apr 2023
After consulting with the sales department, I would like to bring to your attention the following points:
Unfortunately, it is not possible to purchase "Embedded Coder" as you currently have a home license. In order to use "Embedded Coder," you must upgrade to a commercial license.
Khurram Waris
Khurram Waris on 26 Apr 2023
And what is the minimum list of tookits/add-on we need to run Embedded coder and download code to Arduino.. And what is the total cost for those products on the list? A rough estimate will be sufficient to evaluate the next direction for us

Sign in to comment.

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!