MATLAB XPC TARGET 4 - IO Guida Utente Pagina 14

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 182
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 13
2 Advanced Procedures
2-4
Adding I/O Blocks with the xPC Target Library
xPC Target contains an I/O driver library with Simulink blocks. You can
drag-and-drop these blocks from the library to your Simulink model.
Alternately, you can access the I/O driver library with the Simulink Library
Browser. See “Adding I/O Blocks with the Simulink Library Browser” on
page 2-7.
The highest hierarchy level in the library is grouped by I/O function. I/O
functions include A/D, D/A, Digital In, Digital Out, Counter, Watchdog,
Incremental Encoder, RS232, CAN, GPIB, and shared memory. The second
level is grouped by board manufacturer. The manufacturer groups within this
second level contain the specific boards.
This procedure uses the Simulink model
xpcosc.mdl as an example of how to
connect an I/O block.
1 In the MATLAB window, type
xpclib
The Library: xpclib window opens.
2 Open a function group. For example, to open the A/D group, double-click the
A/D block.
Vedere la pagina 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 181 182

Commenti su questo manuale

Nessun commento