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

2 views (last 30 days)
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.

Answers (1)

Steven Lord
Steven Lord on 9 Jul 2020
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
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.

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!