The add-on library folder is a MATLAB®
package folder. The top-level package folder name must be the name of your add-on
library preceded by a +
sign.
The package folder must contain two files: C++ Header File and the MATLAB Add-On Class file.
Note
Use only ASCII characters in your MATLAB and C++ classes.
Create a folder package to contain all the files for your custom library, and add it to the MATLAB path. For example:
Add a folder named +arduinoioaddons
in your working folder.
In +arduinoioaddons
, add a +ExampleAddon
subfolder.
This folder contains the MATLAB Add-On Class file.
In the +ExampleAddon
subfolder, add a
src
folder that contains the C++ Header File.
C++ Header File | MATLAB Add-On Class