Main Content

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:

  1. Add a folder named +arduinoioaddons in your working folder.

  2. In +arduinoioaddons, add a +ExampleAddon subfolder.

    This folder contains the Create and Configure MATLAB Add-On Class file.

  3. In the +ExampleAddon subfolder, add a src folder that contains the Create and Configure C++ Header File.

See Also

|

Related Topics