How to exclude mex files from the compiled version of intlinprog?

1 回表示 (過去 30 日間)
Samer Habl
Samer Habl 2019 年 3 月 9 日
回答済み: Walter Roberson 2019 年 3 月 9 日
I am using intlinprog in my code on a windows 10 machinge and then I compile the code into a ctf file to be used on a linux machine. Since intlinprog is using slbiMex.mexw64, the compiled code fails on linux. is there a non-mex version of this file so my code can be compiled for linux? Related, is there a way to instruct the compiler not to inlucde mex files when there are non-mex alternatives?

採用された回答

Walter Roberson
Walter Roberson 2019 年 3 月 9 日
You need to build the CTF on the same operating system family as you will be executing on. That would result in it binding in slbiMex.mexa64 on Linux.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by