Notices: This section not yet converted to new layout. Download stats are rolling back out.

MATLAB Compiler Runtime R2016b


Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator AdmiringWorm on 4/4/2017.

The MATLAB Runtime is a standalone set of shared libraries that enables the execution of compiled MATLAB applications or components on computers that do not have MATLAB installed.


  • The version of the MATLAB Runtime necessary to run an application is tied to the version of MATLAB used to create the application.
  • Multiple versions of the MATLAB Runtime may simultaneously exist on a target machine. This allows applications compiled with different versions of the MATLAB Runtime to execute side by side on the same machine.
  • The MATLAB Runtime Compiler is large (900MB +). It will take some time to download and install.

To install MATLAB Compiler Runtime R2016b, run the following command from the command line or from PowerShell:

C:\> choco install mcr-r2016b

To upgrade MATLAB Compiler Runtime R2016b, run the following command from the command line or from PowerShell:

C:\> choco upgrade mcr-r2016b


  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop'; # stop on all errors
    $packageName = 'mcr-r2016b'
    $Version     = '9.1'
    $url64       = ''
    $checkSum64  = 'A290F18CD3A21EB09181ED3B0D6A6C9857893FB2321D4F808EEF1F5659ABE20D'
    $WorkSpace = Join-Path $env:TEMP "$packageName.$Version"
    $WebFileArgs = @{
       packageName  = $packageName
       FileFullPath = Join-Path $WorkSpace 'installer.exe'
       Url64bit     = $url64
       Checksum64   = $checkSum64
       ChecksumType = 'sha256'
       GetOriginalFileName = $true
    $msgtext = 'MATLAB Runtime is large, so it may take awhile to download and install.  Please be patient.'
    Write-Host $msgtext -ForegroundColor Cyan
    $PackedInstaller = Get-ChocolateyWebFile @WebFileArgs
    $UnzipArgs = @{
       PackageName = $packageName
       FileFullPath = $PackedInstaller
       Destination  = $WorkSpace
    Get-ChocolateyUnzip @UnzipArgs
    $Installer = (Get-ChildItem $WorkSpace -Filter 'setup.exe').fullname
    $InstallArgs = @{
       PackageName = $packageName
       File = $Installer
       SilentArgs = '-mode silent -agreeToLicense yes'
       UseOnlyPackageSilentArguments = $true
    Install-ChocolateyInstallPackage @InstallArgs
  • tools\chocolateyuninstall.ps1 Show
    $ErrorActionPreference = 'Stop'; # stop on all errors
    $packageName = 'mcr-r2016b'
    $Version = '9.1'
    $softwareName = 'MATLAB Runtime ' + $Version
    $RegistryLocation = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall'
    $unexe = Get-ItemProperty "$RegistryLocation\*" | 
                         Where-Object { $_.displayname -match $softwareName} |
                         Select-Object -ExpandProperty UninstallString
    $InstalledPath = $unexe -replace "^(.*v$($version.replace('.','')))\\.*",'$1'
    $unexe = $unexe.remove(($unexe.LastIndexOf($InstalledPath) - 1))
    $UninstallArgs = @{
       packageName = $packageName
       fileType = 'exe'
       file = $unexe
       silentArgs = '"' + $InstalledPath + '" -mode silent'
       validExitCodes = @(0)
    Uninstall-ChocolateyPackage @UninstallArgs
    if (Test-Path $InstalledPath) {
       Remove-Item $InstalledPath -Recurse

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.


Package Maintainer(s)

Software Author(s)

  • The Mathworks
  • Inc.


Copyright 2001-2014 The MathWorks, Inc.


Version History

Version Downloads Last updated Status

Discussion for the MATLAB Compiler Runtime R2016b Package

Ground rules:

  • This discussion is only about MATLAB Compiler Runtime R2016b and the MATLAB Compiler Runtime R2016b package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or MATLAB Compiler Runtime R2016b, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus uses cookies to enhance the user experience of the site.