Facing issue in executing P code

8 visualizzazioni (ultimi 30 giorni)
Khoday CD
Khoday CD il 3 Feb 2025
Risposto: Walter Roberson il 3 Feb 2025
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

Risposte (1)

Walter Roberson
Walter Roberson il 3 Feb 2025
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.

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Prodotti


Release

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by