Are MEX-files and P-code forward and backwards compatible across MATLAB versions?
5 views (last 30 days)
Show older comments
MathWorks Support Team
on 27 Jun 2009
Edited: MathWorks Support Team
on 5 Apr 2024 at 2:04
Are MEX-files and P-code forward and backwards compatible across MATLAB versions?
Accepted Answer
MathWorks Support Team
on 5 Apr 2024 at 0:00
Edited: MathWorks Support Team
on 5 Apr 2024 at 2:04
MEX-files and P-code are usually backwards compatible, which means you may be able to run any MEX-file or P-code that was created on an earlier version of MATLAB on later versions of MATLAB. If you do not observe this with a MEX-file, you may need to recompile the MEX-file from source code.
You may find that sometimes you will have forwards compatibility and a file created on a newer version of MATLAB runs on an older version of MATLAB, but this is not supported.
0 Comments
More Answers (0)
See Also
See Also
Categories
Find more on Programming Utilities in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!