Simulink Simulation Does Not Match Simulation With Generated DLL
古いコメントを表示
When I run my model in Simulink (normal mode), I get a result of 200. Then I compile it with grt.tlc to a standalone executable without the capability of accepting inputs, this will still give me the same result 200. But in the final stage when I´m compiling the DLL to be able to introduce the input to the model the result is 100, completely different. Furthermore, temporally speaking the results (the model simulates 1 year each 10 seconds) makes no sense, the output is the first 4 or 5 days repeated along the year.
Several verifications were done such as:
1. Verify that the inputs are the same.
2. Everything in the path is where it should be.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および 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!


