Error on Simulink support package for Arduino
Show older comments
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?

Answers (1)
Swathi
on 1 Jun 2023
0 votes
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 -
- Navigate to the extrenal add-on 'Simulink Support Package for Arduino Hardware' and begin the Setup.
- Firstly select all the available boards and click on 'Next'.
- The upcoming screen will automatically mention what are the third-party tools and their corresponding version numbers that need to be installed.
- The action to download and install can be either automatic or manual.

- 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.
- 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.
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!