MATLAB Environment & Package Management

How to Install a Toolbox in MATLAB

Add Official MathWorks Toolboxes, Custom .mltbx Files & Search Path Setup

Direct Answer (TL;DR): To install official toolboxes, go to MATLAB Home Tab > Add-Ons > Get Add-Ons, search the toolbox name, and click Add. For custom .mltbx files, run matlab.addons.install('package.mltbx'); or use addpath(genpath('folder_path')); savepath; in the Command Window.
check_installed_toolboxes.m — Package Diagnostics Active & Licensed
% 1. Programmatic Installation & Path Registration
matlab.addons.install('DeepLearning_CustomBlocks.mltbx');
addpath(genpath(fullfile(pwd, 'custom_toolboxes')));
savepath; % Search path permanently updated

% 2. Verify Active Toolbox Licenses
licStatus = license('test', 'Signal_Toolbox'); % Returns 1 (Active)
fprintf('Signal Processing Toolbox Status: OK (Licensed)\n');
MATLAB Environment Diagnostics All Passed
[PASS] Signal Processing Toolbox v9.2 (Licensed) [PASS] Optimization Toolbox v9.5 (Active) [PASS] MinGW-w64 C/C++ Compiler MEX Ready
4.9/5
Student Rating
500+
PhD Experts
100%
Confidential
15k+
Projects Delivered

Method 1: Install via MATLAB Add-On Explorer (GUI)

  1. Launch MATLAB and navigate to the Home tab at the top toolbar.
  2. Click the Add-Ons drop-down menu and select Get Add-Ons.
  3. Use the search bar in Add-On Explorer to locate toolboxes like Control System Toolbox, Image Processing Toolbox, Signal Processing Toolbox, or Simscape.
  4. Click Add to MATLAB or Install and complete authentication.

Method 2: Programmatically Verify Installed Toolboxes & Licenses

Check if required toolboxes and licenses are active before running your MATLAB scripts:

% Check all installed toolboxes
installedToolboxes = ver;
disp({installedToolboxes.Name}');

% Programmatically test specific toolbox licenses
hasSignalProc = license('test', 'signal_toolbox');
hasImageProc  = license('test', 'image_toolbox');
hasControl    = license('test', 'control_toolbox');

fprintf('Signal Processing Available: %d\n', hasSignalProc);
fprintf('Image Processing Available:  %d\n', hasImageProc);
fprintf('Control System Available:    %d\n', hasControl);

Method 3: Install Custom `.mltbx` Package Files

If you downloaded a custom toolbox file (extension .mltbx) from File Exchange or GitHub, install it in one line:

% Command window installation for .mltbx file
matlab.addons.install('MyCustomToolbox.mltbx');

% Verify installed add-ons list
addons = matlab.addons.installedAddons;
disp(addons);

Method 4: Manual Path Configuration (`addpath` / `savepath`)

For custom script folders packaged without an installer, permanently add them to MATLAB's search path:

% Add folder and all subfolders to active search path
addpath(genpath('C:\MyMatlabToolboxes\CustomPackage'));

% Permanently save search path across MATLAB restarts
savepath;

Method 5: Headless / Silent CLI Installation for CI/CD Servers

On remote Linux servers or GitHub Actions runners, install toolboxes via non-interactive batch commands:

# Linux / Windows CLI headless installation
matlab -batch "matlab.addons.install('custom_toolbox.mltbx'); exit;"
Troubleshooting Help

Toolbox Licensing or Compiler Errors?

Our PhD engineers can help configure missing dependencies, Simulink blocksets, and MinGW C/C++ compiler toolchains.

Submit Requirement WhatsApp Developer
Related Disciplines

Explore Specialised Engineering Services

View All Services →
Clear Answers

Frequently Asked Questions

Common questions regarding MATLAB toolbox installation, licenses, and path management.

Type ver in the MATLAB Command Window. It outputs a complete table listing your MATLAB release version and all currently installed toolboxes.

This happens when the toolbox folder is missing from your MATLAB search path. Run addpath(genpath('path_to_toolbox')) followed by savepath to permanently register the folder.

If you lack a license for proprietary toolboxes, our engineering team can provide alternative implementations using open-source MATLAB scripts, native base MATLAB vectorization, or custom MEX functions.