フィルターのクリア

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

2 ビュー (過去 30 日間)
Xing Luo
Xing Luo 2019 年 11 月 27 日
回答済み: Nabile Khoury 2020 年 5 月 25 日
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.

回答 (1 件)

Nabile Khoury
Nabile Khoury 2020 年 5 月 25 日
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)

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by