S function generation for SIL/B2B testing
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi,
I have a matlab model and my aim is to perform MIL vs SIL testing/ B2B testing. I am using Matlab 2020a version.( Not using SIL/PIL app mode as of now because not able to handle simulation if I have multiple test vectors signal groups in my signal editor block)
Currently I am generation SIL block by
1) Right click on top level subsystm of model -->Generate C/C++code --> Generate S-function OR
2) Right click on top level subsystm of model -->Test Harness option --> Select SIL option in preopetries block and generate SIL block.
Initially I found mismatches in model and code and I debuggd those and now MIL vs SIL output results are matching.
I knew that using skeleton s-function template file also we can generate SIL block. ( first generate Autocode and then generate S-fun using modified skeleton template file for my model)
According to me there is no functional difference whether we generate s function/SIL block by any way mentioned as above. Can anyone confirm this?
I wanted to confirm my understanding is correct or is there anything I can still check or take care if I am generating SIL block directly.
Also pls suggest which option is useful for generating SIL block for performing B2B testing/ MIL vs SIL testing.
Your reply to my query will be very helpful, Thank you in advance...!
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Test Model Components에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!