This repo provides a suite of basic functions to help create, develop, and manage MATLAB Add-Ons (i.e., toolboxes).
This repo was inspired by the following two MathWorks Blog posts:
Best Practices - Adapt, then Adopt!
As well as this FileExchange submission:
This code relies on the notion of "sandbox" and some conventions:
- The sandbox is primarily defined by the PRJ file.
- The sandbox configuration is supplemented by the "fcam.json" file.
- The sandbox will package the "code" folder.
- A single folder will be added to the MATLAB path, "code/
shortname".
mksandboxCreate a new sandbox.addsandboxAdd the sandbox to the MATLAB path.rmsandboxRemove the sandbox from the MATLAB path.testsandboxRun the tests of the sandbox.testaddonRun the tests on the packaged Add-On.packagesandboxPackage the sandbox into an MLTBX.