Main Content

Ensure MATLAB Runtime Compatibility for MATLAB Compiler and MATLAB Compiler SDK Artifacts

Artifacts created with MATLAB® Compiler™ and MATLAB Compiler SDK™ require the same version of the MATLAB Runtime as the version of MATLAB used to create them. The artifacts are tied to the major MATLAB release that created them but can run on any update level of the MATLAB Runtime. However, it is recommended you use a MATLAB Runtime version that matches or is later than the update level of the MATLAB release used for creation.

For example, let’s say you created an artifact using MATLAB R2022a. This artifact requires the MATLAB Runtime version corresponding to R2022a. While it can run on any update of MATLAB Runtime for R2022a such as R2022a Update 3, it’s recommended you use a MATLAB Runtime version that matches the update level of the MATLAB version used for creation. So, if you developed the artifact with R2022a Update 2, it’s best to use MATLAB Runtime R2022a Update 2 or later to ensure compatibility.

See Also

Topics