Clear Filters
Clear Filters

Simulink real-time, back-to-back test, the Simulink model with the generated codes

2 views (last 30 days)
Hello everyone,
I use Simulink real-time to generate codes. I would like to do the back-to-back tests (the Simulink model results compare with the results from the generated codes). I can see that a mldatx file is generated and there is no any exe file generated.
I had done this when I use general real-time target (grt.tlc), its code generation can generate a executable file. Then I can run this exe file in Matlab environment and get the results in a mat file.
Does anyone have this experience and could comment me.
Many thanks.

Answers (1)

Nabile Khoury
Nabile Khoury on 25 May 2020
Hello Xing,
Back-to-back test is pretty well estasbished as a methodology to compare the model and the generated code. Usually we see the need of this for embedded software code generated with Embedded Coder. This workflow is supported by Simulink Test or there're also other vendor solutions. Here's an example using BTC EmbeddedTester which can also generate test case automaticaly to run the B2B test: https://youtu.be/UTQm1ePXVMI (https://www.btc-es.de/en/products/videos.html)

Categories

Find more on Simulink Coder 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!