Why doesn't the 'ver' command list all of the products that I have installed?

18 views (last 30 days)
I installed MATLAB and other toolboxes, OR I installed additional toolboxes into an existing MATLAB installation.
The output of the 'ver' command does not list all of my toolboxes.
How can I get the 'ver' command to list all my toolboxes and restore them to the MATLAB interface?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 18 Apr 2023
Edited: MathWorks Support Team on 19 Apr 2023

Prerequisite

The 'ver' command will only output installed toolboxes. If you recently purchased a toolbox, the toolbox will appear in the Add-On Manager after you update your license file. For instructions on how to update your license file and install the toolbox, please refer to the following articles:

The 'ver' command does not output all of the installed toolboxes

MATLAB stores a list of toolboxes in a cache file. If you install a new toolbox, the cache file might need to be updated.
To resolve this issue, you can update the toolbox cache file by executing the following command from the MATLAB Command Window:
>> rehash toolboxcache
After executing this command, please restart MATLAB and run the 'ver' command again. It should now list all the toolboxes installed on your machine.
If the toolboxes are still missing, you can reset the MATLAB path by executing the following command from the MATLAB Command Window:
>> restoredefaultpath
>> savepath
Please note: the above commands will remove any custom path. After executing this command, please restart MATLAB and run the 'ver' command again. It should now list all of your toolboxes.
If 'ver' still does not output all of the installed toolboxes, there might be an issue with the toolbox installation. Please refer to the "How do I install Toolboxes into an existing installation of MATLAB" link at the beginning of this article for instructions on how to complete a toolbox installation.
If the toolboxes are still not present after installation, contact Installation and Licensing Support:

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!