MATLAB SIMULINK VERIFICATION AND VALIDATION - S Guía de usuario Pagina 266

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 674
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 265
12 Verifying Generated Code for a Component
12-4
Prepare the Component for Verification
To verify the referenced model slvnvdemo_powerwindow_controller, you need to
create a harness model that contains the input signals that simulate the controller in the
plant model. Perform the following steps:
1
Open the slvnvdemo_powerwindow example model:
slvnvdemo_powerwindow
2
Open the power_window_control_system subsystem.
3
The Model block named control in the power_window_control_system
subsystem references the component you verify during this example
slvnvdemo_powerwindow_controller. Load the referenced model:
load_system('slvnvdemo_powerwindow_controller');
4
Simulate the Model block that references slvnvdemo_powerwindow_controller
and log the input signals to the Model block:
loggedSignalsPlant = ...
slvnvlogsignals(...
'slvnvdemo_powerwindow/power_window_control_system/control');
Vista de pagina 265
1 2 ... 261 262 263 264 265 266 267 268 269 270 271 ... 673 674

Comentarios a estos manuales

Sin comentarios