Facing issue in executing P code

조회 수: 9 (최근 30일)
Khoday CD
Khoday CD 2025년 2월 3일
답변: Walter Roberson 2025년 2월 3일
Hi,
I have P code of few files in my scripts from the author. I do not have orginal .m file.
I am not able to run these P code files and getting error. I'm stuck in the situation from 1 month.
Could you please guide me how the run

답변 (1개)

Walter Roberson
Walter Roberson 2025년 2월 3일
In email you sent me another important detail, namely that your primary error is
"file is created before 2007 b."
At this point you have two possibilities:
  1. Use MATLAB R2007a or earlier to run the code; OR
  2. Go back to the author of the code and have them recreate the .p files for a recent MATLAB version; OR
  3. Give up on the code
Backwards compatibility for old .p files has long been lost. There is nothing you can do about it (other than use an old version of MATLAB). There is no setting you can use, no backwards-compatibility flags you can set.
Additional note: R2025a (currently in pre-release) is likely the last MATLAB release that will support defining classes by using scheme.m / schema.p, so the author is unlikely to bother to upgrade now if they have not already upgraded.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by