I have error when I start the matlab

7 visualizaciones (últimos 30 días)
Josef
Josef el 15 de Mayo de 2023
Comentada: Josef el 25 de Mayo de 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:

Respuesta aceptada

Gayatri Rathod
Gayatri Rathod el 24 de Mayo de 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 comentario
Josef
Josef el 25 de Mayo de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by