Problem in creating .dll from simulink model
古いコメントを表示
Hi, I developed one simulink which include S function builder which links to C code.Now I want to generate .dll from that model.When I am trying to build the model using RealTime Workshop,matlab is throwing the following error Linking IFM_ULP_Test.exe "C:\Borland\bcc55\bin\ilink32" -ap -x @MAKE0000.@@@ Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Fatal: Unable to open file 'CANDRIVER.OBJ' Actually,I am maintaining some folder structure and same paths are used to generate mex file from s function builder.Plz anyone help me in fixing this. Regards Sai
7 件のコメント
Kaustubha Govind
2013 年 3 月 26 日
What is CANDRIVER.OBJ exactly? Is it the S-function itself, or a file that the S-function calls into?
sai vasavi
2013 年 3 月 27 日
Kaustubha Govind
2013 年 3 月 27 日
Where do you enter the list of additional source files to link against? Have you configured this in the 'Libraries' pane of the S-function Builder?
sai vasavi
2013 年 3 月 28 日
Kaustubha Govind
2013 年 3 月 28 日
And you mention the file name as CANDRIVER.c and not CANDRIVER.OBJ, correct? Could you turn on Verbose build on the Configuration Parameters > Code generation pane, try generating code again, and see if CANDRIVER.c is being compiled?
sai vasavi
2013 年 4 月 2 日
Kaustubha Govind
2013 年 4 月 2 日
Sai: If you are able to generate code from official MathWorks products, but are only having trouble using that File Exchange submission, I'd recommend contacting the author directly since there might be a bug in their files.
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Code Compilation Customization についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!