How to create .dll for linux machine?

2 次查看(过去 30 天)
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 ?

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by