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

조회 수: 7 (최근 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