Is it possible to use SiL/PiL manager directly in test harness model for SiL studies without generating code for main model?
Afficher commentaires plus anciens
When we are using SiL/PiL manager for SiL studies for test harness model, is it necessary to generate code for main model and then use SiL/PiL manager in test harness for SiL or we can directly use SiL/PiL manager in test harness and generate SiL code coverage report?
Réponses (1)
Isha
le 16 Juin 2026
0 votes
Hello,
On running SIL/PIL Manager (even from a test harness), it automatically generates and runs the code as part of the simulation.SIL and PIL Simulations - MATLAB & Simulink
You can directly use the test harness and SIL/PIL Manager to run SIL simulations and generate code coverage reports. SIL/PIL Manager - Verify generated code - MATLAB
The coverage is for generated code, not the SIL block itself. SIL Verification for a Subsystem - MATLAB & Simulink
So your workflow is valid directly from the test harness, no separate code generation step needed.
Hope this helps.
1 commentaire
Aneeshsingh
le 17 Juin 2026
Catégories
En savoir plus sur Test Execution dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!