Simulink real-time, back-to-back test, the Simulink model with the generated codes
조회 수: 1 (최근 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!