MATLAB XPC TARGET 4 - DEVICE DRIVERS Guía de usuario Pagina 38

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 111
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 37
4 Masking Drivers
Creating Driver Subsystem M asks
This chapter describes guidelines for creating a Simulink block user interface
(mask) for the S-Function block as sociated y our driv er. A mask defines
the menu i tems that will be passed to the S-function. The mask can call a
MATLABfiletodoparameterorrangevaluechecking. Youcanalsomodify
the labels of a block to sho w port numbers or other information. After you
create the C code for an xPC Target device driver:
1 Create an optional MATLAB file.
2 Create an S-Function block for the driver.
3 Create a mas
k for the S-Function block.
This is the basic Simulink mask, with parameters and descriptions as
necessary. Whenyouaredone,youcanmakethedevicedriverandits
mask available for users to add to their models.
4-2
Vista de pagina 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 110 111

Comentarios a estos manuales

Sin comentarios