error LNK2019: unresolved external symbol in Matlab code compilation

4 ビュー (過去 30 日間)
Laxminarayan
Laxminarayan 2014 年 10 月 24 日
回答済み: Sandip Kumar 2014 年 10 月 28 日
Hi I am using matlab 2013a 32 bit to generate code of simulink models and VS2010 compiler. I am getting error for unresolved external interfaces. Please see the attached error log file for more details. Thanks a lot

回答 (1 件)

Sandip Kumar
Sandip Kumar 2014 年 10 月 28 日
This looks like a custom made BAT file, which is compiling and building the generated code. Correct me if wrong?
The symbols are getting re-defined in another OBJ file. I would start with
  • Remove the OBJ files and recompile
  • Re-generate the code and then try the compilation.
  • Use "packngo" to have all the relevant files brought together by Simulink directly. Please refer to the following documentation:
Thanks, Sandip

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by