MATLAB升级失败导致无法使用simulink

以下为mathwork公司提出的解决方案,供大家参考

抱歉,由于Great Firewall 的原因,百分之九十以上的在线升级都会失败,请参照下面的方法彻底删除MATLAB以后再重新安装:

It is not normally necessary to perform a “clean” installation of MATLAB but if you believe there are remnants from a previous installation of MATLAB causing a problem with a new installation of MATLAB, this article will explain how to locate and remove them.

  1. Uninstall MATLAB and manually delete the installation folder.

Uninstall MATLAB from the “Add or remove programs” menu in Windows. Detailed instructions can be found here:
https://www.mathworks.com/help/install/ug/uninstall-mathworks-products.html

After this is done, open a File Explorer window and navigate to the MATLAB root folder. On Windows 64-bit, this folder is by default located at:
C:\Program Files\MATLAB
Delete the folder pertaining to the release that you wish to remove. Please also delete any desktop shortcuts for MATLAB. Note: If you are unable to locate MATLAB in these locations, please check with your system administrator to find the MATLAB installation directory.

  1. Delete the user preferences directory.

In a File Explorer window, type the following into the address bar and then press Enter:
%appdata%
This will bring you to a folder called “Roaming” in the user account that you are currently logged in as. From here, open “MathWorks” and then “MATLAB”.

Delete the folder corresponding to the MATLAB release you are removing, e.g. “R2014a.” There may also be a licenses directory for the release in question, e.g. “R2014a_ licenses.” Remove this folder as well.

Note: if you are an administrator performing this action for another user, you will need to do it from that user’s Roaming directory, not the administrator’s.

  1. Remove the MATLAB Installer

Finally, delete the MATLAB installer you previously downloaded from you Downloads folder. This folder can change depending on your internet browser settings, but the default location is listed below:
C:\Users<username>\Downloads
There will be a folder and EXE to delete for each MATLAB release. Please delete both and then re-download the installer from the MathWorks website.

Examples for the files are:

matlab_R20XXx_win64.exe
_temp_matlab_R20XXx_win64

Note: the XXx is a place holder for your specific release of MATLAB.
通常不需要执行“干净”的MATLAB安装,但是如果您认为以前安装的MATLAB会导致残余部分,而导致新安装的MATLAB出现问题,本文将说明如何定位和删除它们。

卸载MATLAB并手动删除安装文件夹。
从Windows中的“添加或删除程序”菜单中卸载MATLAB。详细说明可以在这里找到:
https://www.mathworks.com/help/install/ug/uninstall-mathworks-products.html

完成此操作后,打开“文件资源管理器”窗口并导航到MATLAB根文件夹。在Windows 64位上,默认情况下此文件夹位于:
C:\ Program Files \ MATLAB
删除与您要删除的发行版有关的文件夹。还请删除MATLAB的所有桌面快捷方式。注意:如果无法在这些位置找到MATLAB,请与系统管理员联系以查找MATLAB安装目录。

删除用户首选项目录。
在“文件资源管理器”窗口中,在地址栏中键入以下内容,然后按Enter:
%应用程序数据%
这会将您带到当前登录用户帐户中的“漫游”文件夹。在这里,打开“ MathWorks”,然后打开“ MATLAB”。

删除与您要删除的MATLAB版本相对应的文件夹,例如“ R2014a。”该发行版可能还会有一个许可证目录,例如“ R2014a_许可证。”也删除此文件夹。

注意:如果您是管理员,则对另一个用户执行此操作,则需要从该用户的漫游目录(而不是管理员)的漫游目录中执行此操作。

删除MATLAB安装程序
最后,从“下载”文件夹中删除先前下载的MATLAB安装程序。该文件夹可能会更改,具体取决于您的Internet浏览器设置,但是下面列出了默认位置:
C:\ Users <用户名> \ Downloads
对于每个MATLAB版本,都有一个文件夹和EXE可供删除。请同时删除两者,然后从MathWorks网站重新下载安装程序。

这些文件的示例是:

matlab_R20XXx_win64.exe
_temp_matlab_R20XXx_win64

注意:XXx是您特定版本的MATLAB的占位符。

猜你喜欢

转载自blog.csdn.net/bj_zhb/article/details/104376117
今日推荐