MATLAB XPC TARGET 4 - DEVICE DRIVERS Uživatelská příručka Strana 23

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 111
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 22
Creating a C ustom Driver
boards(1).VendorName = 'Co mmte ch';
boards(1).DeviceType = 'Se rial Ports';
e Save and close the file.
f To confirm your entries, type getxpcpci( 'all ') in the M ATLAB
Command Window.
14 Ensure that all your driver files, including includ e files, are in the directory:
matlabroot\toolbox\rtw\targets\xpc\target\build\xpcblocks\thirdpartydrivers
Ensure that these files have unique names to prevent conflicts.
15 T o update the directories that you added, at the MATLAB C ommand
Window, type
rehash toolbox
When you are done, your library w ill appear in the Simulink Library Browser
with
xPC Target: added to the beginning o f the library name.
xPC Target: your_company_namelib Blockset
1-15
Zobrazit stránku 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 110 111

Komentáře k této Příručce

Žádné komentáře