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

11 次查看(过去 30 天)
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.

回答(1 个)

Pierre Harouimi
Pierre Harouimi 2019-11-14
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.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by