How to compile a file on windows and use it on linux?

2 views (last 30 days)
I am using windows 7 and I want to compile my matlab code. However, instead of .exe I need .sh because I am going to use the compiled code to a linux system. Is there a way to do it?

Accepted Answer

Jan on 7 Mar 2018
You have to compile on a linux machine.
  1 Comment
prajyot koli
prajyot koli on 28 Nov 2019
I have created simulink s-function block for comedi interfacing on windows 32 bit and compliled suceesfully. But I am unable to compile on 64 bit linux-rtai system.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!