Why do I get an error when executing protected MATLAB (P-code) files?

4 ビュー (過去 30 日間)
I execute a protected MATLAB (P-code) file and receive the following error:
??? D:\Matlab6p1\work\test.p is a P-file written by a newer version of MATLAB and cannot be read.

採用された回答

MathWorks Support Team
MathWorks Support Team 2009 年 8 月 31 日
P-code files are not expected to be forward compatible, that is, a MATLAB file P-coded in a newer release of MATLAB is not expected to function when executed on an older release of MATLAB. If a P-code needs to be used over multiple releases of MATLAB, it should be created using the oldest release of MATLAB that will be executing the P-code.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by