Create a folder package to contain all the files for your custom library, and add it to the MATLAB® path. For this example:
Add a folder named
+arduinoioaddons in your working folder.
+arduinoioaddons, add a
subfolder to contain your MATLAB class
file. For example,
+ServoRead subfolder, add a
folder to contain your
C++ header files.
In the next section, you will Create a C++ Code for Servo Read Library.