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:
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.
Hope it helps!