RTW generated code on windows not compiling on linux
2 ビュー (過去 30 日間)
古いコメントを表示
Hi, I work for a firm which has matlab only on windows. We have a simulink model we have converted to C code (on windows). As a part of our project, I need to use this code in linux. Im trying to compile using gcc. It gives me several "undefined reference to ..." errors. Usually, this would be because of not linking to libraries right? Is it that RTW code requires some libraries to build? If so, is there any other way I can build this code on linux? Regards, Soumen
0 件のコメント
回答 (1 件)
Kaustubha Govind
2011 年 2 月 18 日
You are probably missing some files from the Simulink/RTW environment - using the packNgo utility will help you find all the dependencies.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!