arduinoio.customLibrary.createLibraryTemplate
R2026bDescription
arduinoio.customLibrary.createLibraryTemplate(
creates a template for developing a custom library for use with the MATLAB® Support Package for Arduino® Hardware. The function generates MATLAB and C++ source file templates that establish
communication between MATLAB and Arduino hardware. The generated files provide a starter template that can be extended
to implement the required device behavior. Modify the generated MATLAB and C++ files to
implement hardware‑specific behavior. For more information about this template, see Generated MATLAB Class and Generated C++ Header File.libraryName)
The function stores the generated files in +arduinoioaddons in a
folder called +<LibraryName>Folder. You can rename this folder after
creation. For more information about the file organization within
<LibraryName>Folder, see Generated Folder Structure.
Examples
Input Arguments
More About
Version History
Introduced in R2026b