MATLAB: Are live scripts compatible with previous and later versions of MATLAB

compatibilityeditorliveMATLAB

I am concerned about the compatibility of the live script in older versions of MATLAB. Further will live scripts created in R2016a work in future releases of MATLAB?

Best Answer

We have carefully designed the format of live scripts to be forward and backwards compatible with releases beyond R2016a. In other words, in the future, you should always be able to use a live script created in R2016a with a newer version of MATLAB (backwards compatibility), and you should always be able to use a live script created in a newer version of MATLAB in an older version (forwards compatibility).
The support for opening live scripts in versions of MATLAB older than R2016a is limited to the following: live scripts will open in R2014b, R2015a, R2015b with the code only. That is to say, a live script with formatted text, code and output will open only as the code. The preferred way to work with an older release is to save the live script in R2016a as a plain code (.m) file, which will preserve the code and convert the text to publishing markup.