Compile matlab application in Windows for run it in a linux operating system

11 visualizaciones (últimos 30 días)
I need to compile a matlab scripts in a Windows computer to execute it in a linux computer.
I have installed the compiler in matlab but I do not know how to proceed. Is it possible to do it in a Windows computer?
Thanks for your help.

Respuestas (1)

Pierre Harouimi
Pierre Harouimi el 14 de Nov. de 2019
If you want a .exe, this is specific to windows and then it can't run on both windows and linux/mac.
Technically you can compile with -C and create an external ctf (instead of embedding it in the application) and use ctfxlauncher on a different platform to run the program.
Cross-platform should also work for python, java and c++ (using matlab data array) although the installers created using deploytool wil only work on the platform they were created on.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by