Commands for installing MATLAB Runtime without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id MathWorks.MATLABRuntime -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id MathWorks.MATLABRuntime -e --silentwinget uninstall --id MathWorks.MATLABRuntime -e --silentBy installer
64-bit · ZIP · All users
Silent install
MATLAB_Runtime_R2026b_win64.zip -mode silent- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MATLAB Runtime R2026b
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-matlab-runtime.ps1
$url = 'https://ssd.mathworks.com/supportfiles/downloads/R2026b/Release/0/deployment_files/installer/complete/win64/MATLAB_Runtime_R2026b_win64.zip'
$sha256 = '2AE9C6643F365C3AA4CEF243ED3C157472F0FDC444E3327EAD922B4B3A5BD0FB'
$file = Join-Path $env:TEMP 'MATLAB_Runtime_R2026b_win64.zip'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '-mode silent' -Wait