MATLAB XPC TARGET 4 - IO Podręcznik Użytkownika Strona 14

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 182
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 181 182

Komentarze do niniejszej Instrukcji

Brak uwag