After upgrading Win11, MATLAB garbled characters

4 views (last 30 days)
第四
第四 on 18 Jul 2024
Commented: 第四 on 24 Jul 2024
After upgrading win11, open matlab2024a, all programs under one of the folder paths become garbled, not only Chinese comments, including all code; But there is no problem with other folders.
Have you encountered this kind of problem? Is there any workaround that can be tried?

Answers (1)

Divyajyoti Nayak
Divyajyoti Nayak on 18 Jul 2024
Hi @第四, it looks like you have opened a 'pcode' file (file with extension '.p'). 'pcode' files are MATLAB program files in a proprietary, obfuscated code format. You can't read them in any way but you can run all the functions in the script. Here's the documentation page for them:
Normal MATLAB scripts have an extension of '.m'. Try opening one of those.
  3 Comments
Stephen23
Stephen23 on 18 Jul 2024
Edited: Stephen23 on 18 Jul 2024
Perhaps it is a Pfile with an incorrect file extension.
Please upload the file here by clicking the paperclip button.
第四
第四 on 24 Jul 2024
非常感谢您的再次回答,我现在已经解决了这个问题,和其他无关,是我的加密文件出了问题

Sign in to comment.

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!