Test SIL, PIL e HIL
È possibile confrontare i risultati tra il modello e il codice generato eseguendo test di equivalenza in diversi ambienti, quali la simulazione del modello e l'esecuzione SIL, PIL o HIL. I test di equivalenza sono talvolta denominati test back-to-back. Per creare automaticamente casi di test e test harness, è possibile utilizzare la procedura guidata Create Test for Model Component (Crea test per il componente del modello).
Argomenti
- Analyze Code and Perform Software-in-the-Loop Testing
Detect code errors, generate code metrics, test code and model equivalence, test code against requirements.
 - SIL Verification for a Subsystem
Perform SIL verification programmatically by using test harnesses and the Simulation Data Inspector.
 - Test Models in Real Time
Create a real-time application, download and execute it on the Simulink Real-Time target, and assess results.
- PASSAGGIO 1: Prepare for Real-Time Testing
 - PASSAGGIO 2: Create and Run Real-Time Tests
 
 - Reuse Desktop Test Cases for Real-Time Testing
Run real-time tests based on desktop test cases that use external inputs.
 - Test a Simulation for Run-Time Errors
Use a simulation test case to test an anti-lock brake system for simulation run-time errors.
 - Test Execution Order
Order in which models load, and test cases, iterations, and callbacks run.
 
