1. MATLAB安装前需清理注册表
2. license文件需修改为以下内容 (来源 https://blog.csdn.net/zhyoulun/article/details/78511396 )
%%%%%%%%%%%%%%%%%%%%%%%%%%%%INCREMENT Aerospace_Blockset MLM 99 permanent uncounted \A05070F00D1EB1F92326 VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=216 SN=888888 TS_OKINCREMENT Aerospace_Toolbox MLM 99 permanent uncounted \6090F0C08395D4289512 VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=237 SN=888888 TS_OKINCREMENT Bioinformatics_Toolbox MLM 99 permanent uncounted \40E0B0406DE56D23A426 VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=190 SN=888888 TS_OKINCREMENT Cert_Kit_IEC MLM 99 permanent uncounted \9080309041D2DCCB2B10 VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=179 SN=888888 TS_OKINCREMENT Communication_Blocks MLM 99 permanent uncounted \80E010304ACCEEB5E0AA VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=77 SN=888888 TS_OKINCREMENT Communication_Toolbox MLM 99 permanent uncounted \C0003000770A1A086530 VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=162 SN=888888 TS_OKINCREMENT Compiler MLM 99 permanent uncounted 60D0C0F0DC03C2F72FF7 \VENDOR_STRING=QQ=47399897 HOSTID=ANY ck=232 SN=888888 TS_OKINCREMENT Control_Toolbox MLM 99 permanent uncounted \6020E0B00B7ECE0893BB VENDOR_STRING=QQ=47399897 HOSTID=ANY ck=7 \SN=888888 TS_OKINCREMENT Curve_Fitting_Toolbox MLM 99 permanent uncounted \10703080061FF9DA5A81 VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=229 SN=888888 TS_OKINCREMENT Data_Acq_Toolbox MLM 99 permanent uncounted \E0B0E0E05124CF4A1A8D VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=21 SN=888888 TS_OKINCREMENT Database_Toolbox MLM 99 permanent uncounted \0010D0B02CA7353F8314 VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=230 SN=888888 TS_OKINCREMENT Datafeed_Toolbox MLM 99 permanent uncounted \40905060D1ECD939538F VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=185 SN=888888 TS_OKINCREMENT Dial_and_Gauge_Blocks MLM 99 permanent uncounted \A0F05070AA9AEBF40588 VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=226 SN=888888 TS_OKINCREMENT Distrib_Computing_Toolbox MLM 99 permanent uncounted \5000D00031D2C6B89F9C VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=229 SN=888888 TS_OKINCREMENT EDA_Simulator_Link MLM 99 permanent uncounted \E070C0C02B4B90B5A8D0 VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=205 SN=888888 TS_OKINCREMENT Econometrics_Toolbox MLM 99 permanent uncounted \505010F00EB1289A73BA VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=149 SN=888888 TS_OKINCREMENT Embedded_IDE_Link MLM 99 permanent uncounted \90E01090A9BDA4FF67D7 VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=254 SN=888888 TS_OKINCREMENT Excel_Link MLM 99 permanent uncounted E0800080FED6DF10E43F \VENDOR_STRING=QQ=47399897 HOSTID=ANY ck=207 SN=888888 TS_OKINCREMENT Filter_Design_HDL_Coder MLM 99 permanent uncounted \3050B02039903259577E VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=181 SN=888888 TS_OKINCREMENT Filter_Design_Toolbox MLM 99 permanent uncounted \3000E0B02C875CDF5823 VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=239 SN=888888 TS_OKINCREMENT Fin_Derivatives_Toolbox MLM 99 permanent uncounted \70A010D017A8FA7CE955 VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=247 SN=888888 TS_OKINCREMENT Financial_Toolbox MLM 99 permanent uncounted \20E050A0ACC6A69E7AEE VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=241 SN=888888 TS_OKINCREMENT Fixed-Point_Blocks MLM 99 permanent uncounted \E0206040ED6EF9BCCB3B VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=11 SN=888888 TS_OKINCREMENT Fixed_Income_Toolbox MLM 99 permanent uncounted \50E090D0C130F6416176 VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=132 SN=888888 TS_OKINCREMENT Fixed_Point_Toolbox MLM 99 permanent uncounted \C07000703494010EF55C VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=154 SN=888888 TS_OKINCREMENT Fuzzy_Toolbox MLM 99 permanent uncounted \D04010B048FB8D350E4E VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=233 SN=888888 TS_OKINCREMENT GADS_Toolbox MLM 99 permanent uncounted \50D0900087384B51643A VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=210 SN=888888 TS_OKINCREMENT Identification_Toolbox MLM 99 permanent uncounted \00707080A0CC0D8FB71E VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=190 SN=888888 TS_OKINCREMENT Image_Acquisition_Toolbox MLM 99 permanent uncounted \50D0D0905C22130C4D2A VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=208 SN=888888 TS_OKINCREMENT Image_Toolbox MLM 99 permanent uncounted \B01030E0F517B496275C VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=133 SN=888888 TS_OKINCREMENT Instr_Control_Toolbox MLM 99 permanent uncounted \80C0505033C162F3017F VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=169 SN=888888 TS_OKINCREMENT MAP_Toolbox MLM 99 permanent uncounted C090E0E022BD3BA852B3 \VENDOR_STRING=QQ=47399897 HOSTID=ANY ck=4 SN=888888 TS_OKINCREMENT MATLAB_Report_Gen MLM 99 permanent uncounted \80B000B00052F620FB11 VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=190 SN=888888 TS_OKINCREMENT MATLAB_Distrib_Comp_Engine MLM 99 permanent uncounted \804080300CB545FBECE8 VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=233 SN=888888 TS_OKINCREMENT MATLAB_Builder_for_Java MLM 99 permanent uncounted \404040707C2CA5639DEE VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=186 SN=888888 TS_OKINCREMENT MATLAB_Builder_for_dot_Net MLM 99 permanent uncounted \8070E0D0FFAA645DA39D VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=255 SN=888888 TS_OKINCREMENT MATLAB MLM 99 permanent uncounted 50E0F0D08F6CEF24CC5B \VENDOR_STRING=QQ=47399897 HOSTID=ANY ck=14 SN=888888 TS_OKINCREMENT MATLAB_Excel_Builder MLM 99 permanent uncounted \50106010BCBF479623D9 VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=206 SN=888888 TS_OKINCREMENT MBC_Toolbox MLM 99 permanent uncounted B05000C02F157C5BEE28 \VENDOR_STRING=QQ=47399897 HOSTID=ANY ck=198 SN=888888 TS_OKINCREMENT MPC_Toolbox MLM 99 permanent uncounted 3050206087BF1C33045E \VENDOR_STRING=QQ=47399897 HOSTID=ANY ck=203 SN=888888 TS_OKINCREMENT Neural_Network_Toolbox MLM 99 permanent uncounted \D0009010451EEB5A283F VENDOR_STRING=QQ=47399897 HOSTID=ANY \
ck=198 SN=888888 TS_OK