Create a Folder Structure for Servo Read Library
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
+arduinoioaddonsin your working folder.In
+arduinoioaddons, add a+ServoReadsubfolder to contain your MATLAB class file. For example,L:\Work.In the
+ServoReadsubfolder, add asrcfolder to contain yourC++header files.

In the next section, you will Create a C++ Code for Servo Read Library.