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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 674
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 266
Verify Generated Code for a Component
12-5
slvnvlogsignals stores the logged signals in loggedSignalsPlant.
5
Generate an empty harness model so that you can create new test cases manually:
harnessModelFilePath = ...
slvnvmakeharness('slvnvdemo_powerwindow_controller');
slvnvmakeharness creates a harness model named
slvnvdemo_powerwindow_controller_harness. The harness model includes:
Test Unit — A Model block that references the
slvnvdemo_powerwindow_controller model.
Inputs — A Signal Builder block that contains one test case. That test
case specifies the values of the input signals logged when the model
slvnvdemo_powerwindow was simulated.
Test Case Explanation — A DocBlock block that describes the test case.
Size-Type — A Subsystem block that transmits signals from the Inputs block to
the Test Unit block. The output signals from this block match the input signals
for the Model block you are verifying.
moveUp and moveDown — Two output ports that match the output ports from
the Model block.
Vista de pagina 266
1 2 ... 262 263 264 265 266 267 268 269 270 271 272 ... 673 674

Comentarios a estos manuales

Sin comentarios