How to create .dll for linux machine?

2 views (last 30 days)
Sai Kalyan
Sai Kalyan on 13 Mar 2016
Answered: Walter Roberson on 13 Mar 2016
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)

Walter Roberson
Walter Roberson on 13 Mar 2016
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

Community Treasure Hunt

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

Start Hunting!