Why does Matlab hang or take a long time to launch?
If MATLAB starts, but remains in the "Initializing" state, MATLAB may be searching for additional licenses on your system.
This may be caused by an environment variable named LM_LICENSE_FILE. This variable tells MATLAB and other flexlm applications where to find the license file. MATLAB may also hang if you have a network license for some features and you disconnect from the network.
NOTE: There may also be an MLM_LICENSE_FILE variable as the root of this issue. This variable works only for MATLAB.
在快捷方式里面目标路径中输入:
"C:\XX\MATLAB.exe" -c "C:\XX\lic_standalone.dat"。
注意上面lic_standalone.dat路径更换为自己的许可文件路径。
参考:
[1] AR# 45322 13.3 SysGen - Why does SysGen/Matlab hang or take a long time to launch? - xilinx