SIL testing through Process advisor

1 回表示 (過去 30 日間)
Dhruvilkumar Chavada
Dhruvilkumar Chavada 2024 年 1 月 10 日
I am currently developing a project based on the process advisor example.
I am trying to perform software in loop testing with process advisor.
Is it possible to perform SIL with the same test cases developed for the simulation?
Is it possible to perform with any built in task?
If not so, is the any example for reference..

回答 (1 件)

Hassaan
Hassaan 2024 年 1 月 18 日
編集済み: Hassaan 2024 年 1 月 18 日
Using the Same Test Cases for SIL as in Simulation:
  • It is often feasible to use the same test cases for both SIL and simulation. The key is to design these test cases to focus on the inputs and outputs of the system, making them adaptable to either simulation or SIL environments.
Built-in Tasks for SIL in Process Advisor:
  • MATLAB and Simulink offer tools for SIL testing, Process Advisor might not have specific built-in tasks for this purpose. Custom tasks or scripts may be needed to integrate SIL testing into your workflow, depending on your MATLAB version and installed toolboxes.
Examples for Reference:
  • MATLAB and Simulink documentation, along with the MathWorks website, are valuable resources for SIL testing examples. Toolboxes like Simulink Test or Embedded Coder also provide demo models and examples specifically for SIL.
Integrating SIL Testing into Your Project:
  • Effective integration of SIL testing involves understanding MATLAB/Simulink’s code generation workflow, using test harnesses in Simulink Test for isolated component testing, automating test execution and reporting, and leveraging specialized toolboxes for extended functionalities.
-----------------------------------------------------------------------------------------------------------------------------------------------------
If you find the solution helpful and it resolves your issue, it would be greatly appreciated if you could accept the answer. Also, leaving an upvote and a comment are also wonderful ways to provide feedback.
Professional Interests
  • Technical Services and Consulting
  • Embedded Systems | Firmware Developement | Simulations
  • Electrical and Electronics Engineering
It's important to note that the advice and code are based on limited information and meant for educational purposes. Users should verify and adapt the code to their specific needs, ensuring compatibility and adherence to ethical standards.
Feel free to contact me.
  1 件のコメント
Dhruvilkumar Chavada
Dhruvilkumar Chavada 2024 年 1 月 21 日
Yes, I want to use attached built in task. It says it can be used to perform MIL and SIL, and there is property name SimulationMode, which i tried to change to 'Software-in-the-loop' but the test cases still runs in MIL mode, when i check the result in test manager.

サインインしてコメントする。

カテゴリ

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

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by