MATLAB XPC TARGET 4 - DEVICE DRIVERS Guida Utente Pagina 38

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 111
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la 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
Vedere la pagina 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 110 111

Commenti su questo manuale

Nessun commento