- Use MATLAB R2007a or earlier to run the code; OR
 - Go back to the author of the code and have them recreate the .p files for a recent MATLAB version; OR
 - Give up on the code
 
Facing issue in executing P code
    8 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
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

0 Commenti
Risposte (1)
  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:
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.
0 Commenti
Vedere anche
Categorie
				Scopri di più su Startup and Shutdown in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!