Statistics Toolbox is not getting installed with R2025a or R2025b
192 views (last 30 days)
Show older comments
Our campus license includes the Statistics and Machine Learning Toolbox, but it is not getting installed with our installations of Matlab R2025a or R2025b. The %ProgramFiles%\Matlab\R2025a\toolbox\stats folder doesn't get created and the component (though listed within Matlab) is not usable.
We are installing through Configuration Manager using an application built from the downloaded ISO. If I uninstall the toolbox manually and then reinstall it, the components are there (though I also have to manually reinstall all other toolboxes that are dependent on Statistics toolbox), so our license is obviously fine.
0 Comments
Accepted Answer
Mark
on 28 Nov 2025 at 9:48
Hi Bradley
Ive recently encountered this problem too, the suggestion I got from support was to reinstall matlab, apparently its a known issue with this release. We have approx 1000 teaching machines with Matlab on so this wasnt really a realistic suggestion. After several days of digging I came up with something.
$matlab_root\bin\win64\MathWorksProductUninstaller.exe --destination "C:\Program Files\MATLAB\R2025a" --basecode `"ST`"
will remove just the Statistics and Machine Learning toolbox, plus the 9 toolboxes that depend on it.
Then i used the relatively new (at least to me) Matlab package manager (mpm.exe)
mpm.exe install --inputfile mpm_input_r2025a.txt
with the contents of the input file as
updateLevel=0
product.Bioinformatics_Toolbox
product.Econometrics_Toolbox
product.Financial_Instruments_Toolbox
product.Financial_Toolbox
product.Model-Based_Calibration_Toolbox
product.Predictive_Maintenance_Toolbox
product.Risk_Management_Toolbox
product.SimBiology
product.Statistics_and_Machine_Learning_Toolbox
product.Text_Analytics_Toolbox
Annoyingly the uninstaller opens matlab addons explorer after it finishes, but we use PSADT to script application installs, and it has a feature to block executables from running, so i used it to block matlab.exe, put those two commands in, works ok after a bit of testing.
We use intune rather than SCCM, but that shouldnt matter.
Mathworks really need to document whats available for installation/uninstallation far better than they do.
0 Comments
More Answers (2)
Taylor
on 22 Oct 2025
1 Comment
Taylor
on 22 Oct 2025
Looks like running with Admin privileges works too https://www.mathworks.com/matlabcentral/answers/2180700-can-t-install-statistics-and-machine-learning-tolbox?s_tid=srchtitle
Ivy
on 14 Nov 2025
Hello Bradley,
I suggest uninstalling the currently installed MATLAB, and try again with a download-without-installing method:
If the issue does not resolve this way, please consider reaching out to the support team.
3 Comments
Walter Roberson
3 minutes ago
Yes, you should calculate the impact and bill it to the Mathworks. Doing so will help you fill better. And who knows -- the donkey might grow pearls.
Ivy
about 1 hour ago
Hi Xiaoli,
I understand your frustration, from my understanding, we have a few workarounds and they do require running the installer/uninstaller so admin permissions are required (at least on Windows).
If you are looking for a way to automate the process, you can reach out to our support team so we can take a closer look at the use case and details and offer better solutions.
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!