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!


