Filter löschen
Filter löschen

RTW generated code on windows not compiling on linux

1 Ansicht (letzte 30 Tage)
Soumen Banerjee
Soumen Banerjee am 18 Feb. 2011
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

Antworten (1)

Kaustubha Govind
Kaustubha Govind am 18 Feb. 2011
You are probably missing some files from the Simulink/RTW environment - using the packNgo utility will help you find all the dependencies.

Kategorien

Mehr zu Code Generation finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by