How use pcode to regenerate a file in MatLab?

后端 未结 1 926
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-25 20:58

When I run a .m file containing a .p datafile I get the following error message:

The P-code file /Users/....
was generated prior to MATLAB version          


        
相关标签:
1条回答
  • 2021-01-25 21:34

    Pcode files are byte code translated matlab functions, which are heavily obfuscated during that process.

    To solve this problem, you have to get the original m-function which was used to create the pcode file. It typically has the same file name with a different extension. Then you could run pcode again, or use the m-code.

    0 讨论(0)
提交回复
热议问题