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 ?

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 3 月 13 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeMATLAB Compiler についてさらに検索

質問済み:

2016 年 3 月 13 日

回答済み:

2016 年 3 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by