卸载matlab卡住——解决办法

 

根据官方提供的方法:卸载 MathWorks 产品- MATLAB & Simulink- MathWorks 中国

1、首先找到matlab安装路径,以下用matlabroot指安装路径。

2、打开文件夹:matlabroot\uninstall

3、打开uninstaller_input.txt。 

卸载matlab卡住——解决办法_第1张图片

4、文中描述如下:

## Use this file to specify parameters required by the uninstaller at runtime.
##
## Instructions for using this file.
##
## 1. Create a copy of this template file and fill in the required 
##    information.
##
## 2. Uncomment only those lines that start with a single '#'
##    and set the desired values. All allowed values for the 
##    parameters are defined in the comments section for each 
##    parameter. 
##
## 3. Launch the uninstaller from the command line, using the -inputFile option
##    to specify the name of your uninstaller initialization file.
##
##    (Windows) uninstall.exe -inputFile 
  1. 复制一个uninstaller_input.txt。(防止修改后找不到原本的文件)
  2. 打开文本文件,删除其中的单个“#”号,并且补充参数。
  3. CMD界面输入(matlabroot用matlab软件的安装目录替代):
    matlabroot\uninstall\bin\win64\uninstall.exe -inputFile D:\matlab\uninstall\uninstaller_input.txt

  4. 跳出选择卸载的组件,选择好后,等待一会儿即开始卸载。卸载matlab卡住——解决办法_第2张图片

需要补充的参数有:

一、

## SPECIFY OUTPUT LOG
##
## Specify full path of file into which you want the results of the 
## uninstallation to be recorded.
##
## Example: 
##            (Windows) outputFile=C:\TEMP\mathworks_.log
##
## Set the desired value for outputFile 
## and uncomment the line.

outputFile= 

二、

## SPECIFY UNINSTALLER MODE 
## 
## interactive: Run the uninstaller GUI, waiting for user input on all dialog boxes.
##
## silent:      Run the uninstaller without displaying the GUI.
##
## automated:  Run the uninstaller GUI, displaying all dialog boxes, but only 
##             waiting for user input on dialogs that are missing required input.
##
## Set mode value to either interactive, silent, or automated and
## uncomment the line.

mode= 

三、

## SET PREFS
## 
## Set to true to uninstall your MATLAB preferences when uninstalling MATLAB.
##
## Set prefs value to true or false and uncomment the line.

prefs= 

四、

## SPECIFY LENGTH OF TIME DIALOG BOXES ARE DISPLAYED
##
## Specify how long the uninstaller dialog boxes are displayed, in milliseconds.
##
## NOTE: Use this value only if you set the uninstaller mode to automated.
##
## By default, the dialog boxes display on the screen for one second.
##
## Example: (To specify a value of 1 second.) timeout=1000
##
## Set the desired value for timeout and uncomment the line.

timeout=

五、

## SPECIFY PRODUCTS YOU WANT TO UNINSTALL 
##
## By default, the uninstaller uninstalls all the products and 
## documentation that are installed.
##
## Note:
## 1. To automatically uninstall all installed products, do not edit
##    any lines in this section.
## 
## 2. To uninstall a specific product or a subset of products 
##    that are installed, uncomment the line for the product(s) you want
##    to uninstall.

product.5G_Toolbox
product.AUTOSAR_Blockset
product.Aerospace_Blockset
product.Aerospace_Toolbox
product.Antenna_Toolbox
product.Audio_Toolbox
product.Automated_Driving_Toolbox
product.Bioinformatics_Toolbox
product.Communications_Toolbox
product.Computer_Vision_Toolbox
product.Control_System_Toolbox
product.Curve_Fitting_Toolbox
product.DO_Qualification_Kit
product.DSP_System_Toolbox
product.Data_Acquisition_Toolbox
product.Database_Toolbox
product.Datafeed_Toolbox
product.Deep_Learning_Toolbox
product.Econometrics_Toolbox
product.Embedded_Coder
product.Filter_Design_HDL_Coder
product.Financial_Instruments_Toolbox
product.Financial_Toolbox
product.Fixed_Point_Designer
product.Fuzzy_Logic_Toolbox
product.GPU_Coder
product.Global_Optimization_Toolbox
product.HDL_Coder
product.HDL_Verifier
product.IEC_Certification_Kit
product.Image_Acquisition_Toolbox
product.Image_Processing_Toolbox
product.Instrument_Control_Toolbox
product.LTE_HDL_Toolbox
product.LTE_Toolbox
product.MATLAB
product.MATLAB_Coder
product.MATLAB_Compiler
product.MATLAB_Compiler_SDK
product.MATLAB_Parallel_Server
product.MATLAB_Production_Server
product.MATLAB_Report_Generator
product.Mapping_Toolbox
product.Mixed_Signal_Blockset
product.Model_Predictive_Control_Toolbox
product.Model_Based_Calibration_Toolbox
product.Navigation_Toolbox
product.OPC_Toolbox
product.Optimization_Toolbox
product.Parallel_Computing_Toolbox
product.Partial_Differential_Equation_Toolbox
product.Phased_Array_System_Toolbox
product.Polyspace_Bug_Finder
product.Polyspace_Bug_Finder_Server
product.Polyspace_Code_Prover
product.Polyspace_Code_Prover_Server
product.Powertrain_Blockset
product.Predictive_Maintenance_Toolbox
product.RF_Blockset
product.RF_Toolbox
product.ROS_Toolbox
product.Reinforcement_Learning_Toolbox
product.Risk_Management_Toolbox
product.Robotics_System_Toolbox
product.Robust_Control_Toolbox
product.Sensor_Fusion_and_Tracking_Toolbox
product.SerDes_Toolbox
product.Signal_Processing_Toolbox
product.SimBiology
product.SimEvents
product.Simscape
product.Simscape_Driveline
product.Simscape_Electrical
product.Simscape_Fluids
product.Simscape_Multibody
product.Simulink
product.Simulink_3D_Animation
product.Simulink_Check
product.Simulink_Code_Inspector
product.Simulink_Coder
product.Simulink_Control_Design
product.Simulink_Coverage
product.Simulink_Design_Optimization
product.Simulink_Design_Verifier
product.Simulink_Desktop_Real_Time
product.Simulink_PLC_Coder
product.Simulink_Real_Time
product.Simulink_Report_Generator
product.Simulink_Requirements
product.Simulink_Test
product.SoC_Blockset
product.Spreadsheet_Link
product.Stateflow
product.Statistics_and_Machine_Learning_Toolbox
product.Symbolic_Math_Toolbox
product.System_Composer
product.System_Identification_Toolbox
product.Text_Analytics_Toolbox
product.Trading_Toolbox
product.Vehicle_Dynamics_Blockset
product.Vehicle_Network_Toolbox
product.Vision_HDL_Toolbox
product.WLAN_Toolbox
product.Wavelet_Toolbox

附上已修改好的文本,直接替换原来的即可。

##################################################################
##
## Use this file to specify parameters required by the uninstaller at runtime.
##
## Instructions for using this file.
##
## 1. Create a copy of this template file and fill in the required 
##    information.
##
## 2. Uncomment only those lines that start with a single '#'
##    and set the desired values. All allowed values for the 
##    parameters are defined in the comments section for each 
##    parameter. 
##
## 3. Launch the uninstaller from the command line, using the -inputFile option
##    to specify the name of your uninstaller initialization file.
##
##    (Windows) uninstall.exe -inputFile 
##
################################################################## 
##
## SPECIFY OUTPUT LOG
##
## Specify full path of file into which you want the results of the 
## uninstallation to be recorded.
##
## Example: 
##            (Windows) outputFile=C:\TEMP\mathworks_.log
##
## Set the desired value for outputFile 
## and uncomment the line.

outputFile= C:\TEMP\mathworks_unistall.log
## SPECIFY UNINSTALLER MODE 
## 
## interactive: Run the uninstaller GUI, waiting for user input on all dialog boxes.
##
## silent:      Run the uninstaller without displaying the GUI.
##
## automated:  Run the uninstaller GUI, displaying all dialog boxes, but only 
##             waiting for user input on dialogs that are missing required input.
##
## Set mode value to either interactive, silent, or automated and
## uncomment the line.

mode= interactive

## SET PREFS
## 
## Set to true to uninstall your MATLAB preferences when uninstalling MATLAB.
##
## Set prefs value to true or false and uncomment the line.

prefs= true

## SPECIFY LENGTH OF TIME DIALOG BOXES ARE DISPLAYED
##
## Specify how long the uninstaller dialog boxes are displayed, in milliseconds.
##
## NOTE: Use this value only if you set the uninstaller mode to automated.
##
## By default, the dialog boxes display on the screen for one second.
##
## Example: (To specify a value of 1 second.) timeout=1000
##
## Set the desired value for timeout and uncomment the line.

#timeout=

## SPECIFY PRODUCTS YOU WANT TO UNINSTALL 
##
## By default, the uninstaller uninstalls all the products and 
## documentation that are installed.
##
## Note:
## 1. To automatically uninstall all installed products, do not edit
##    any lines in this section.
## 
## 2. To uninstall a specific product or a subset of products 
##    that are installed, uncomment the line for the product(s) you want
##    to uninstall.

product.5G_Toolbox
product.AUTOSAR_Blockset
product.Aerospace_Blockset
product.Aerospace_Toolbox
product.Antenna_Toolbox
product.Audio_Toolbox
product.Automated_Driving_Toolbox
product.Bioinformatics_Toolbox
product.Communications_Toolbox
product.Computer_Vision_Toolbox
product.Control_System_Toolbox
product.Curve_Fitting_Toolbox
product.DO_Qualification_Kit
product.DSP_System_Toolbox
product.Data_Acquisition_Toolbox
product.Database_Toolbox
product.Datafeed_Toolbox
product.Deep_Learning_Toolbox
product.Econometrics_Toolbox
product.Embedded_Coder
product.Filter_Design_HDL_Coder
product.Financial_Instruments_Toolbox
product.Financial_Toolbox
product.Fixed_Point_Designer
product.Fuzzy_Logic_Toolbox
product.GPU_Coder
product.Global_Optimization_Toolbox
product.HDL_Coder
product.HDL_Verifier
product.IEC_Certification_Kit
product.Image_Acquisition_Toolbox
product.Image_Processing_Toolbox
product.Instrument_Control_Toolbox
product.LTE_HDL_Toolbox
product.LTE_Toolbox
product.MATLAB
product.MATLAB_Coder
product.MATLAB_Compiler
product.MATLAB_Compiler_SDK
product.MATLAB_Parallel_Server
product.MATLAB_Production_Server
product.MATLAB_Report_Generator
product.Mapping_Toolbox
product.Mixed_Signal_Blockset
product.Model_Predictive_Control_Toolbox
product.Model_Based_Calibration_Toolbox
product.Navigation_Toolbox
product.OPC_Toolbox
product.Optimization_Toolbox
product.Parallel_Computing_Toolbox
product.Partial_Differential_Equation_Toolbox
product.Phased_Array_System_Toolbox
product.Polyspace_Bug_Finder
product.Polyspace_Bug_Finder_Server
product.Polyspace_Code_Prover
product.Polyspace_Code_Prover_Server
product.Powertrain_Blockset
product.Predictive_Maintenance_Toolbox
product.RF_Blockset
product.RF_Toolbox
product.ROS_Toolbox
product.Reinforcement_Learning_Toolbox
product.Risk_Management_Toolbox
product.Robotics_System_Toolbox
product.Robust_Control_Toolbox
product.Sensor_Fusion_and_Tracking_Toolbox
product.SerDes_Toolbox
product.Signal_Processing_Toolbox
product.SimBiology
product.SimEvents
product.Simscape
product.Simscape_Driveline
product.Simscape_Electrical
product.Simscape_Fluids
product.Simscape_Multibody
product.Simulink
product.Simulink_3D_Animation
product.Simulink_Check
product.Simulink_Code_Inspector
product.Simulink_Coder
product.Simulink_Control_Design
product.Simulink_Coverage
product.Simulink_Design_Optimization
product.Simulink_Design_Verifier
product.Simulink_Desktop_Real_Time
product.Simulink_PLC_Coder
product.Simulink_Real_Time
product.Simulink_Report_Generator
product.Simulink_Requirements
product.Simulink_Test
product.SoC_Blockset
product.Spreadsheet_Link
product.Stateflow
product.Statistics_and_Machine_Learning_Toolbox
product.Symbolic_Math_Toolbox
product.System_Composer
product.System_Identification_Toolbox
product.Text_Analytics_Toolbox
product.Trading_Toolbox
product.Vehicle_Dynamics_Blockset
product.Vehicle_Network_Toolbox
product.Vision_HDL_Toolbox
product.WLAN_Toolbox
product.Wavelet_Toolbox

 

你可能感兴趣的:(matlab,开发语言)