After upgrading Win11, MATLAB garbled characters

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)

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

Hello, thank you for your answer, but what I opened is indeed a script file, and opening it with notepad++ is still all garbled.
Perhaps it is a Pfile with an incorrect file extension.
Please upload the file here by clicking the paperclip button.
非常感谢您的再次回答,我现在已经解决了这个问题,和其他无关,是我的加密文件出了问题

Sign in to comment.

Categories

Find more on Package and Share Apps in Help Center and File Exchange

Asked:

on 18 Jul 2024

Commented:

on 24 Jul 2024

Community Treasure Hunt

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

Start Hunting!