Failed to upgrade to update 8 from update 5 of MATLAB 2021a

9 views (last 30 days)
I recently tried to upgrade MATLAB 2021a, but then after the update I got an warning message that something went wrong and I need to contact the customer service. When I Clicked on check for updates,I am getting the following error message:
Error using matlab.internal.cef.webwindow (line 385)
MATLABWindow application failed to launch. Execution of script tic as a function is not supported:
C:\Program Files\MATLAB\R2021a\toolbox\matlab\timefun\tic.m
Error in matlab.internal.webwindow/createImplementation (line 313)
implObj = matlab.internal.cef.webwindow(varargin{:});
Error in matlab.internal.webwindow (line 161)
obj.impl = obj.createImplementation(varargin{:});
Error in matlab.internal.addons.AddOnsWindow/launch (line 51)
obj.webwindow = matlab.internal.webwindow(char(url), obj.debugPort, obj.normalWindowPosition);
Error in matlab.internal.addons.Manager/loadUrlForNavigationData (line 114)
obj.addOnsWindowInstance.launch(url, obj.windowStateUtil.getManagerWindowMaximizedSetting);
Error in matlab.internal.addons.Manager/show (line 49)
obj.loadUrlForNavigationData(navigationData);
Error in matlab.internal.addons.launchers.showManager (line 86)
matlab.internal.addons.Manager.getInstance.show(navigationData);
Dot indexing is not supported for variables of this type.
Error in matlab.internal.addons.AddOnsWindow/bringToFront (line 71)
obj.webwindow.bringToFront();
Error in matlab.internal.addons.Manager/show (line 51)
obj.addOnsWindowInstance.bringToFront();
Error in matlab.internal.addons.launchers.showManager (line 86)
matlab.internal.addons.Manager.getInstance.show(navigationData);
Could you help me resolve this issue?

Answers (1)

Sugandhi
Sugandhi on 18 Sep 2023
Hi,
I understand that you tried to upgrade MATLAB 2021a, but then after the update you got a warning message that something went wrong and when you clicked on check for updates, you were getting an error message.
The error message you're seeing suggests that there's an issue with the installation or configuration of your MATLAB software. Specifically, it seems that the ‘tic.m’ file in the ‘timefun’ toolbox is causing problems when trying to launch the MATLAB window.
A few of the possible workarounds could be:
  1. Check if any third-party toolboxes are installed: If you have any third-party toolboxes installed, try removing them and see if the problem persists. Some toolboxes may be incompatible with certain versions of MATLAB, which could cause issues like this.
  2. Reinstall MATLAB: Try reinstalling MATLAB completely, making sure to remove all traces of previous installations. Then, download and install the latest version of MATLAB from the official website.

Categories

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

Tags

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!