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

6 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Nabile Khoury
Nabile Khoury il 25 Mag 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)

Categorie

Scopri di più su Simulink Coder in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by