Create Add-On Package Folder
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: Create and Configure C++ Header File and the Create and Configure 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 Create and Configure MATLAB Add-On Class file.
In the
+ExampleAddon
subfolder, add asrc
folder that contains the Create and Configure C++ Header File.
See Also
Create and Configure C++ Header File | Create and Configure MATLAB Add-On Class