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

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.

Answers (1)

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.

Categories

Products

Asked:

on 1 Jul 2016

Answered:

on 14 Nov 2019

Community Treasure Hunt

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

Start Hunting!