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

8 次查看(过去 30 天)
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);

回答(1 个)

John D'Errico
John D'Errico 2019-11-8
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.

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by