Simulink real-time, back-to-back test, the Simulink model with the generated codes
2 ビュー (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
回答 (1 件)
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)
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!