Cannot add breakpoints in 2022b when path includes accented characters

5 views (last 30 days)
Since I updated to 2022b today (from 2021b), I cannot use breakpoints in some scripts anymore.
It seems that the problem is related to accented characters in the file path.
As soon as I try to put a breakpoint in a script, it is not added, and I get a pop-up with the following error message:
###
MATLAB Editor
Cannot enable breakpoints because of syntax error.
Cannot find function "D:\...\main.m"
###
In the file path, the letter "à" occurs (it is a shared folder and renaming it is not an option).
Potentially relevant fact: in the pop-up, the "à" is replaced by a "Ã" (e.g, the pop-up tells Cannot find function "D:\aÃa\main.m" instead of the right path Cannot find function "D:\aàa\main.m").
Additional hints:
- the main.m script runs smoothly, only the breakpoints are bugged
- if I move the main.m file to another folder without accents, breakpoints work fine; any folder with "à" does not work
- if I try to put breakpoints in any other .m file in the same folder, I get the error as well
- everything works smoothly in 2021b, including breakpoints
Thank you!
  7 Comments
Resul AZIZI
Resul AZIZI on 2 Nov 2022
Hello
I am using windows 10 enterprise and I have the same problem.
I think windows 10 is not a solution too.
Walter Roberson
Walter Roberson on 2 Nov 2022
You could potentially have problems on NTFS disks that had 8.3 compatibility disabled.

Sign in to comment.

Answers (0)

Categories

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

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!