이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
SIL(Software-in-the-Loop) 시뮬레이션
SIL(Software-in-the-Loop) 시뮬레이션은 생성된 소스 코드를 컴파일하고 호스트 컴퓨터에서 별도의 프로세스로 코드를 실행합니다. 일반 시뮬레이션 결과와 SIL 시뮬레이션 결과를 비교하여 모델과 생성된 코드의 수치적 동등성을 테스트할 수 있습니다. SIL 시뮬레이션 동안 생성된 코드에 대한 코드 커버리지와 실행 시간 메트릭을 수집할 수 있습니다.
앱
SIL/PIL 관리자 | Verify generated code |
도움말 항목
- SIL and PIL Simulations
An overview of software-in-the-loop (SIL) and processor-in-the-loop simulations (PIL).
- Choose a SIL or PIL Approach
Test code generated from top models, referenced models, or subsystems.
- Configure and Run SIL Simulation
Set up and run top-model SIL, Model block SIL, and SIL block simulations.
- Unit Test Subsystem Code with SIL/PIL Manager
Perform unit testing on atomic subsystem by using SIL/PIL Manager.
- SIL/PIL Manager Verification Workflow
A simplified workflow for verifying generated code.
- Simulation Mode Override Behavior in Model Reference Hierarchy
How the simulation mode of the top model or parent model determines the simulation behavior of a model hierarchy.
- SIL and PIL Limitations
Modeling and code generation features that are not supported or partially supported by SIL and PIL simulations.
문제 해결
Debug Generated Code During SIL or PIL Simulation
Use a debugger to understand the behavior of generated code.
View SIL and PIL Files in Code Generation Report
Produce a code generation report and static code metrics that cover SIL and PIL files.
Numerical Consistency of Model and Generated Code Simulation Results
Determine whether model and generated code simulation results are numerically consistent. Investigate discrepancies.