S function generation for SIL/B2B testing

5 ビュー (過去 30 日間)
Gopal Pande
Gopal Pande 2020 年 10 月 19 日
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 件)

カテゴリ

Help Center および File ExchangeTest Model Components についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by