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

14 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Pierre Harouimi
Pierre Harouimi il 14 Nov 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.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by