MATLAB Answers

matlab 2009a p code showing error n in matlab 2019 version

18 views (last 30 days)
Shuvashish Roy
Shuvashish Roy on 9 Jul 2020 at 15:47
Commented: Shuvashish Roy on 9 Jul 2020 at 18:04
Hi, I am attaching the link of the GUI based matlab code that runs smoothly in 2009 matlab version. Whenver, I try to use it in newer versions the GUI is not showing properly. I am attaching the link of the program World tide world currents:
Let me know how to make it work in lastest matlab versions. Thanks.

  0 Comments

Sign in to comment.

Answers (1)

Steven Lord
Steven Lord on 9 Jul 2020 at 17:06
In what release were the P-coded files created? The documentation page for the pcode function states "The pcode algorithm was redesigned in MATLAB version R2007b. If a P-file was generated prior to R2007b, then it will not run in versions R2015b or later. Files generated in R2007b or later do not run in R2007a or earlier."
If the P-coded files were generated in release R2007a or earlier, they will need to be regenerated.

  1 Comment

Shuvashish Roy
Shuvashish Roy on 9 Jul 2020 at 18:04
I think it was created using R2007b, that's what written in the authors page. Do you know if there is any way to make it work in the latest versions? Thanks.

Sign in to comment.