partners in design automation
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
MonkeyProof Solutions Forum
»
Code Checker for MATLAB
»
Installation and license management
»
Why does installing a new version not replace the older version?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Why does installing a new version not replace the older version? (Read 825 times)
Co Melissant
Staff
Posts: 4
Why does installing a new version not replace the older version?
«
on:
03 July, 2019, 13:09:23 »
When I install a newer version of the toolbox, it creates a new folder, with a number in it, like "Toolboxes\CC4M(16)\".
I expected the current installation to be replaced instead.
Logged
Erik Grassens
Staff
Posts: 2
Re: Why does installing a new version not replace the older version?
«
Reply #1 on:
03 July, 2019, 13:14:29 »
This is a limitation of the way Java classes are loaded in MATLAB, which prevents the JAR-files in the toolbox from being removed. As a consequence the toolbox installation folder is not empty and a new folder is created. The below script can be used to upgrade / reinstall toolbox.
The (
upgrade.m
) script can be used to automatically take all necessary steps to upgrade the toolbox. Place the script anywhere but not in the toolbox installation folder. Then run the following command:
Code:
[Select]
>> upgrade('CC4M', 'C:\Users\your.name\Downloads\CC4M_2.3.0.mltbx')
«
Last Edit: 27 August, 2019, 12:02:35 by Erik Grassens
»
Logged
Print
Pages: [
1
]
« previous
next »
MonkeyProof Solutions Forum
»
Code Checker for MATLAB
»
Installation and license management
»
Why does installing a new version not replace the older version?