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

  • 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 41
4 Masking Drivers
When You Are Done
After you write the driver S-function and create the S-Function block, optional
block mask, and MATLAB file for it, be sure to:
Check the text of each erro r message for spelling and appropriateness.
(Optional) Use a coding standard indentation such as four or e ight spaces
with no tabs.
Copy your new blocks into a custom directory with a unique name.
To enable your new blocks to be viewable in the Simulink Library Browser,
see “Creating a Custom Driver” on page 1-11.
Test the driver f or the following:
- Run the mex commandonthedrivertobuildthedriverforsimulation
and code generation.
- Verify the hardware I/O under as m any conditions as possible.
4-6
Zobrazit stránku 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 110 111

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

Žádné komentáře