Create a basic set of folders and files for a MATLAB toolbox
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The function inittbx initializes a folder hierarchy and a basic set of files according to MATLAB Toolbox Best Practices by rpurser47 and others. The resulting hierarchy contains:
-
toolboxfolder with a sample function and a samplegettingStarted.mlx -
toolbox/examplesfolder with a sample example -
testsfolder with a sample test - Configuration files that enable
buildtoolto run code checks, run tests, and produce a release package -
README.md(stub) -
LICENSE.md(stub) -
CHECKLIST.mdwith a to-do list for getting your toolbox ready to publish
Download the inittbx.mltbx file from the GitHub repository releases area or from the File Exchange. Double-click on the downloaded file to automatically and run the MATLAB add-on installer. This will copy the files to your MATLAB add-ons area and add inittbx to your MATLAB search path.
Later, you can use the MATLAB Add-On Manager to uninstall.
See the Getting Started script for more information.
Copyright © 2024 Steven L. Eddins
Cite As
Steve Eddins (2026). Initialize a MATLAB Toolbox (https://github.com/eddins/inittbx/releases/tag/v1.0.0), GitHub. Retrieved .
General Information
- Version 1.0.0 (99.1 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with R2023b and later releases
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
|

