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: 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:

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

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

    This folder contains the MATLAB Add-On Class file.

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

See Also

|

Related Topics