Error on Simulink support package for Arduino

29 vues (au cours des 30 derniers jours)
Nicoletta Benenati
Nicoletta Benenati le 30 Mai 2023
Réponse apportée : Swathi le 1 Juin 2023
When trying to build any model on simulink for Arduino, the following error occurs:
error:the path 'aide/portable/sketchbook/libraries' does not exist. caused by: the path does not exist, error code: 0"
Any idea how to fix it?

Réponses (1)

Swathi
Swathi le 1 Juin 2023
Hello Nicoletta,
The primary reason for the build for any model in Simulink to error out as reported is when the third party tools have not been downloaded and installed properly.
In order to resolve the issue -
  1. Navigate to the extrenal add-on 'Simulink Support Package for Arduino Hardware' and begin the Setup.
  2. Firstly select all the available boards and click on 'Next'.
  3. The upcoming screen will automatically mention what are the third-party tools and their corresponding version numbers that need to be installed.
  4. The action to download and install can be either automatic or manual.
  5. Once done, this would ensure that the third party libraries get installed at the 'C:\ProgramData\MATLAB\SupportPackages\<R20xxx>\aIDE\portable\sketchbook\libraries' path, where <R20xxx> will correspond to the version of MATLAB that you are using.
  6. Post this, complete the next steps for the Support Package setup and then proceed to build any model in Simulink.
"The path aide/portable/sketchbook/libraries' does not exist.
Caused by:
  • The path does not exist, error code: 0"
error would no longer be seen.
Another alternative to resolve the issue would be to uninstall the support package and then attempt to set it up after reinstallation.
Hope this helps,
Swathi.D.

Catégories

En savoir plus sur Setup and Configuration dans Help Center et File Exchange

Produits


Version

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by