How do I open a pcode (.p) file created in a version older than MATLAB R2007b? My Matlab version is R2018b.

9 views (last 30 days)
Hello there. I get the following error message. What should I do? Please help me. My Matlab version (R2018b)
The P-code file C:\Users\aa05042\Desktop\lsbstegoprote\hidebits.p was generated prior to MATLAB version
7.5 (R2007b) and is no longer supported. Use pcode to regenerate the file using MATLAB R2007b or later.
Error in test_main (line 19)
[Irec] = hidebits(I,message);

Answers (1)

John D'Errico
John D'Errico on 8 Nov 2019
You cannot edit a .p file, if that is what you mean by open. That is true in any version.
If the .p file is too old, but you simply want to use it (I think that is what you are saying here) then you are still out of luck. You cannot directly update the .p code file yourself to run in the new MATLAB release. You would need to contact the source of the file, and ask them to create a new version. Of course, if it is that old, they may be no longer available or willing to perform the service for you.

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!