MATLAB Compiler Previous page   Next Page

Porting Generated Code to a Different Platform

Since binary formats are different on each platform, the various components generated by the MATLAB Compiler cannot be moved from platform to platform as is. You can distribute a MATLAB Compiler-generated application to any target machine that has the same operating system as the machine on which the application was compiled. For example, if you want to deploy an application to a Windows machine, you must use the Windows version of the MATLAB Compiler to build the application on a Windows machine.

To deploy an application to a machine whose operating system is different than the machine used to develop the application requires recompiling. You must recompile the application on the desired targeted platform. For example, if you want to deploy the previous application that was developed on a Windows machine to a Linux machine, you must use the MATLAB Compiler on a Linux machine and completely rebuild the application. Consequently, you must have a valid MATLAB Compiler license on both platforms in order to be able to do this.


Previous page  Overview Extracting a CTF Archive without Executing the Component Next page

© 1994-2005 The MathWorks, Inc.