fatal error on startup
38 ビュー (過去 30 日間)
古いコメントを表示
回答 (1 件)
Jack
2025 年 3 月 8 日
Hey Baptista,
This error usually happens when MATLAB's Java environment is corrupted or there are issues with the installation. Here are some steps to fix it:
- Restart MATLAB as Administrator
- Close MATLAB completely.
- Right-click the MATLAB icon and select Run as administrator.
- Reset MATLAB Preferences
- Open File Explorer and go to: C:\Users\YourUsername\AppData\Roaming\MathWorks\MATLAB
- Rename the folder matching your MATLAB version (e.g., R2023b) to something like R2023b_backup.
- Restart MATLAB and check if the issue is resolved.
- Start MATLAB Without Java (Test Mode)
- Open Command Prompt (cmd) and run: matlab -nojvm
- If MATLAB starts, the problem is Java-related. You may need to reinstall MATLAB or check your Java installation.
- Reinstall MATLAB
- If the issue persists, try uninstalling and reinstalling MATLAB.
Follow me so you can message me anytime with future MATLAB questions. If this helps, please accept the answer as well.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!