How to generate a Linux executable from a Windows machine using MCC ? (R2016a)

16 views (last 30 days)
I have Matlab R2016a and R2020a in my Local Windows 11 Machine. I have to run a job in a Linux Super Computer architecture which have the appropiate Runtimes. Therefore, when I compile my code in My Local Windows Machine, I have to generate a Linux Executable (.sh). How can I do this? Virtual Box? Linux LTS inside Windows 11? Writing my Own .sh including the .exe file produce by My Local Machine?
Thank you in advance,
  4 Comments
Walter Roberson
Walter Roberson on 2 Apr 2023
Linux can only run exe if you have a Windows simulation program installed.
I am not sure if current versions of MATLAB can be for Windows can be convinced to generate Linux executables, but I am pretty sure that the old version of MATLAB you are using cannot handle it.

Sign in to comment.

Answers (0)

Categories

Find more on Enterprise Deployment with MATLAB Production Server in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!