How do I fix "undefined reference" link error on Ubuntu 16 with MATLAB R2016b and earlier?

1 回表示 (過去 30 日間)
How do I fix "undefined reference" link error on Ubuntu 16 with MATLAB R2016b and earlier?

採用された回答

MathWorks Support Team
MathWorks Support Team 2016 年 8 月 4 日
If your application myprog.c uses new gcc 5.3 features and you get a link error, use the following mex command options:  
mex -client engine myprog.c MWCPPLIB=''

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWrite C Functions Callable from MATLAB (MEX Files) についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by