Initialize a MATLAB Toolbox

Create a basic set of folders and files for a MATLAB toolbox

https://github.com/eddins/inittbx

You are now following this Submission

View Initialize a MATLAB Toolbox on File Exchange Open in MATLAB Online

Initialize a MATLAB Toolbox

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:

  • toolbox folder with a sample function and a sample gettingStarted.mlx
  • toolbox/examples folder with a sample example
  • tests folder with a sample test
  • Configuration files that enable buildtool to run code checks, run tests, and produce a release package
  • README.md (stub)
  • LICENSE.md (stub)
  • CHECKLIST.md with a to-do list for getting your toolbox ready to publish

Installation

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.

Getting Started

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 .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with R2023b and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.