User`s guide

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