Cannot add breakpoints in 2022b when path includes accented characters
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
Resul AZIZI
2022-11-2
Hello
I am using windows 10 enterprise and I have the same problem.
I think windows 10 is not a solution too.
Walter Roberson
2022-11-2
You could potentially have problems on NTFS disks that had 8.3 compatibility disabled.
回答(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!