Clear Filters
Clear Filters

After upgrading Win11, MATLAB garbled characters

31 views (last 30 days)
第四
第四 on 18 Jul 2024 at 1:14
Edited: Stephen23 on 18 Jul 2024 at 11:21
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 at 2:27
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.
  2 Comments
第四
第四 on 18 Jul 2024 at 4:12
Hello, thank you for your answer, but what I opened is indeed a script file, and opening it with notepad++ is still all garbled.
Stephen23
Stephen23 on 18 Jul 2024 at 5:09
Edited: Stephen23 on 18 Jul 2024 at 11:21
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 MATLAB Compiler 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!