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!


