Simulink Simulation Does Not Match Simulation With Generated DLL
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

