Sil - mil compare for simulink model
Show older comments
Dear Sir or Madam, I would like to compare sil and mil trace on the same simulink model using Embedded Coder. So I want to simulate first the model with double precision and then with the fixed precision that I have choosen without update, at ever modification, two different modules. I have worked in Magneti Marelli where Target Link is used and this modality is possible. Can I do the same with Real Time Workshop? Best regards, Giuseppe
Accepted Answer
More Answers (3)
Jason Moore
on 6 Feb 2015
1 vote
Yes, it is a common workflow in Simulink to compare simulation runs in MIL against a SIL run. To accomplish this one of the best methods is to use Simulink Data Inspector . One method to do this is use a model reference with a test harness and then switch the simulation mode for the model reference into Software in the Loop mode. Then when you run the simulation, code will be built into an executable file and run. The results will show up in Simulink Data Inspector and you can then compare the various simulation runs.
Giuseppe Rocca
on 16 Feb 2015
1 vote
Giuseppe Rocca
on 3 Apr 2015
1 vote
Categories
Find more on Test Model Components in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!