Unexplained error while building DLL
古いコメントを表示
I wish to convert my simulink model into a DLL for use with another s/w. When I try to build the model it simply says 'Error(s) encountered while building model'. When I run the model, there are no error messages. How can I find out what has gone wrong?
Thank you for your input guys.. I am using ert_shrlib.tlc for building the DLL. And thanks, I did find more information on the command window. The error which causes abort is 'Missing Exports'. It seems the '_filename_step' function doesnt have a definition along with '_rtU' and '_rtY'. When I checked the Code Generation report, the step function has been called within rt_OneStep, but there is no definition for the function to be found.
3 件のコメント
Kaustubha Govind
2012 年 8 月 1 日
Are you using Ctrl+B or rtwbuild to generate the DLL? Are you using ert_shrlib.tlc as the System Target file, or something else? It is strange that you are not seeing the actual errors reported - nothing in the popup window or MATLAB command window?
Albert Yam
2012 年 8 月 1 日
As Kaustubha mentioned, the popup window or the MATLAB command window should give more information. Sometimes one or the other is completely useless for information, but there should be something.
Also, you said while building model. Does that mean it got through the initial run? Did you see a lot of dots..................................................................?
Arun
2012 年 8 月 2 日
回答 (1 件)
Kaustubha Govind
2012 年 8 月 3 日
編集済み: Kaustubha Govind
2012 年 8 月 3 日
0 投票
That's strange. Is there a model.c file generated? The model _step function should be generated into it?
Also, could you try this with a demo model, such as rtwdemo_counter (simply type the model name at the MATLAB prompt to open it up)?
5 件のコメント
Kaustubha Govind
2012 年 8 月 3 日
Very very strange. I wonder if something is corrupt with your installation? Do you have access to any other installation to try this out?
Arun
2012 年 8 月 6 日
Kaustubha Govind
2012 年 8 月 7 日
Arun: Could you try re-installing? If that doesn't work, please contact MathWorks Tech Support.
カテゴリ
ヘルプ センター および File Exchange で Deployment, Integration, and Supported Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!