MATLAB XPC TARGET 4 - DEVICE DRIVERS User's Guide Page 38

  • Download
  • Add to my manuals
  • Print
  • Page
    / 111
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 110 111

Comments to this Manuals

No comments