Using Production Server Compiler .ctf Version

8 views (last 30 days)
Ryan Potter
Ryan Potter on 10 Aug 2022
Answered: Shan on 14 Sep 2022
Hi I am using version 2018b and sending to someone using 2016b. They do not seem to be able to use the file due to the newer version. Is there a way to package these ctfs as the 2016b version?

Answers (1)

Shan
Shan on 14 Sep 2022
Hi Ryan. There is no version compatibility restriction between the MATLAB Production Server and the MATLAB Compiler. A CTF file compiled on a higher version of MATLAB Compiler can be deployed on a lower version of MATLAB Production Server, provided a version of MATLAB Compiler Runtime / MATLAB Runtime (MCR) compatible with the MATLAB Compiler is installed on the target machine.
For example, a CTF file compiled on MATLAB Compiler R2018b can be deployed on MATLAB Production Server R2016b, if a MATLAB Runtime 9.5 that is compatible with the MATLAB Compiler R2018b is installed on the target machine.
An instance of the MATLAB Production Server can host multiple versions of MCR, by making multiple entries of the "--mcr-root" property in the MPS Configuration file, one entry for each version of MCR to be hosted on the server. The following documentation page provides more details about supporting multiple MATLAB versions on the MATLAB Production Server.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!