Azzera filtri
Azzera filtri

I have error when I start the matlab

4 visualizzazioni (ultimi 30 giorni)
Josef
Josef il 15 Mag 2023
Commentato: Josef il 25 Mag 2023
when i open matlab immediately an error shows, it is also happens when i open a project that i have worked on yesturday.
the error:

Risposta accettata

Gayatri Rathod
Gayatri Rathod il 24 Mag 2023
Hi Josef,
The error message you're encountering indicates an issue with the MATLAB debugger breakpoints.
To resolve this issue, you can try the following troubleshooting steps:
  • Clear MATLAB preferences: Corrupted or conflicting preferences can cause errors during startup. You can try clearing MATLAB preferences to see if it resolves the issue. To do this, locate the “matlab.prf” file and rename it or move it to a different location. MATLAB will create a new preferences file when it starts up. The location of matlab.prf”file depends on your operating system.
You can run the following command in the MATLAB command prompt to locate your preferences directory:
>> prefdir
This is where your "matlab.prf" file is located.
Note: Deleting the matlab.prf file will reset your MATLAB preferences to the default settings. Keep in mind that any customizations you made to the preferences will be lost.
  • Disable breakpoints: If the error is specifically related to breakpoints, you can try disabling breakpoints before starting MATLAB. To do this, navigate to the MATLAB preferences folder. It is typically located in the user's home directory and named .matlab or .matlab/R20XXx, where R20XXx corresponds to your MATLAB version and locate the file named matlabsettings.mat. Rename or move this file to a different location. This will disable any breakpoints that were previously set.
  • Reinstall MATLAB: If the above steps do not resolve the issue, consider reinstalling MATLAB. This can help fix any installation-related problems or missing files.
You can read more about the Preferences Directory, Preferences Folder and “prefdirfunction from the following documentations: Preferences Directory, Preferences Folder, prefdir function.
Hope it helps!
  1 Commento
Josef
Josef il 25 Mag 2023
Thank's!
sadly the first 2 methods didn't so i had to uninstall MATLAB, if anyone else have the problem i had DO NOT make the same mistake that i did.
don't delete immediately MATLAB there is a build in applicathion that delets all the modes, after that you can delete MATLAB and reinstall.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by