matlab启动过程中闪退(MATLAB crashes during startup)

204 views (last 30 days)
Chuanhai
Chuanhai on 13 Oct 2025 at 5:45
Answered: Chuanhai on 13 Oct 2025 at 5:59
版本2025a,之前只安装了本体,未选择其他产品,能正常使用。在使用matlab过程中显示有更新,便选择了更新。在这之后使用了安装程序再次安装了除本体外的其他所有产品,选择的是之前matlab的路径,从此开始问题出现了。先是无法打开matlab主程序,也无法打开卸载程序,均显示一堆dll缺失错误,只能手动删除安装目录中的所有文件然后重新安装matlab,但重装后的matlab无法正常打开,具体情况如下:正常弹出界面,但在加载过程中(左下角显示正在初始化)闪退,无任何提示和报错。
尝试过:清理预设文件;重装matlab;配置环境变量;无杀毒软件;快捷方式后加-nodesktop。以上均无效。
Version 2025a: Initially, only the main program was installed without selecting other toolboxes, and it functioned properly.
During usage, MATLAB displayed an update available, and I chose to proceed with the update. Afterward, I used the installer again to install all products except the main program, selecting the same installation path as the previous MATLAB version. From this point, the problem began to occur.
First, neither the MATLAB main program nor the uninstaller could be opened; both displayed numerous DLL missing errors. I had to manually delete all files in the installation directory (only the program file) and reinstall MATLAB. However, after reinstallation, MATLAB still could not open properly.
Specifically, the interface displayed normally during startup, but during the loading process (the lower-left corner showed "Initializing"), the program crashed with no error messages or prompts.
Attempts made:
  • Clearing preferences files;
  • Reinstalling MATLAB;
  • Configuring environment variables;
  • Confirming no antivirus software interference;
  • Launching MATLAB with the below commands:
matlab -nojvm
matlab -softwareopengl
matlab -nodesktop
All of the above attempts were unsuccessful.

Answers (1)

Chuanhai
Chuanhai on 13 Oct 2025 at 5:59
找到了问题,原来是打印机设置错误导致启动失败。
The issue was found—turns out the startup failure was caused by incorrect printer settings.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2025a

Community Treasure Hunt

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

Start Hunting!