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 ?

Risposte (1)

Walter Roberson
Walter Roberson il 13 Mar 2016

0 voti

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

Categorie

Richiesto:

il 13 Mar 2016

Risposto:

il 13 Mar 2016

Community Treasure Hunt

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

Start Hunting!

Translated by