matlab-install-products

Install MATLAB, Simulink, toolboxes, and support packages via mpm from the command line.

883|109|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill matlab-install-products
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: matlab-install-products
Source: https://github.com/matlab/matlab-agentic-toolkit/tree/main/skills-catalog/matlab-core/matlab-install-products
Command: npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill matlab-install-products

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the fragile, hard-to-reproduce process of installing MATLAB and MathWorks products from the command line by enforcing a deterministic mpm workflow suitable for scripts, CI/CD, and containers.

Core Features & Use Cases

  • Deterministic mpm installation protocol: Downloads mpm (or reuses the canonical path), prepares a release-specific input file, runs the install, and verifies completion via the expected MATLAB binary.
  • Release-aware, scripted product selection: Uses canonical mpm input templates from the mathworks-ref-arch repository and enables only the requested product.<Name> entries for products and support packages.
  • Windows safety gate and repeatability: Enforces PowerShell execution constraints (no powershell.exe -Command, writes .ps1 via the tool pattern, uses elevated execution) to prevent common quoting/encoding failures.

Quick Start

Install MATLAB and Simulink products for release R2025b to C:\MATLAB\R2025b by running the deterministic mpm protocol and confirming the release, destination, and requested products first.

Frequently Asked Questions about matlab-install-products

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install MATLAB and Simulink toolboxes deterministically from the command line?

To install MATLAB deterministically, use MATLAB Package Manager (mpm) with a release-specific input file to enable requested products non-interactively. This scripted mpm workflow ensures reproducible environment setup for CI/CD pipelines and containers without relying on the interactive installer.

Can I automate MATLAB product installation for CI/CD pipelines without user interaction?

Yes, you can automate MATLAB product installation for CI/CD pipelines using mpm. The deterministic mpm protocol downloads mpm, prepares a release-specific input file, executes the install, and verifies completion via the MATLAB binary artifact without requiring interactive user input.

What's the best way to script MATLAB toolbox management for reproducible containers?

The best way to script MATLAB toolbox management for reproducible containers is using mpm with a release template input file. This approach enables only the requested product entries and supports strict confirmation, plan display, and post-install verification via per-item prodcontents.json checks.

Does mpm support Windows PowerShell for scripted MATLAB installations?

Yes, mpm supports Windows PowerShell for scripted MATLAB installations. The deterministic workflow enforces PowerShell execution constraints by writing .ps1 files and using elevated execution, preventing common quoting and encoding failures associated with direct powershell.exe -Command invocations.

Why does my scripted MATLAB installation fail in Windows PowerShell?

Scripted MATLAB installations often fail in Windows PowerShell due to quoting and encoding errors from using powershell.exe -Command. The mpm workflow prevents this by writing a .ps1 file via the tool pattern and enforcing elevated execution constraints for reliable Windows safety.

How do I verify a MATLAB installation completed successfully in a CI/CD script?

To verify a MATLAB installation completed successfully in a CI/CD script, check for the expected MATLAB completion artifact binary. The deterministic mpm protocol also performs post-install verification by checking per-item prodcontents.json files to confirm each requested product installed correctly.