How to create .dll for linux machine?

HI,
I have complied my matlab functions into a c++ shared library (on Win PC). But, i couldn't use this .dll library in a Linux machine. Is there anyway to compile scripts (on Win) for executing on Linux ?

Answers (1)

Only if you intend to execute them under a Windows emulator such as WINE.
You might also be able to edit the toolchain configuration enough to use a cross-compiler. See http://metamod-p.sourceforge.net/cross-compiling.on.windows.for.linux.html

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Asked:

on 13 Mar 2016

Answered:

on 13 Mar 2016

Community Treasure Hunt

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

Start Hunting!