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

  • Download
  • Add to my manuals
  • Print
  • Page
    / 111
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 20
Creating a C ustom Driver
7 Double-click the S-Function block and create a block mask (see Chapter 4,
“Masking Drivers”).
8 Save and close the S-Function b lock.
9 At the bottom of the S-Function block, enter a block name. For example,
MM-32.
10 Save and close the library.
11 To make your new library visible in the Simulink Library Browser, move
it to
matlabroot\toolbox\rtw\targets\xpc\target\build\xpcblocks\thirdpartydrivers
12 Copy and paste s ampl e_xpcblocks.m in
matlabroot\toolbox\rtw\targets\xpc\target\build\xpcblocks\thirdpartydrivers
1-13
Page view 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 110 111

Comments to this Manuals

No comments