When you have a custom adaptor for delivery, you can create a toolbox to deliver the adaptor MEX-file along with your device driver and any other support files, such as documentation, data files, examples, and so on.
You should document any adaptor behavior that involves:
Differences from standard data acquisition session behavior
Custom functions
For information on creating and distributing a toolbox, see Toolbox Distribution (MATLAB).
For creating and delivering documentation to support your toolbox, see Display Custom Documentation (MATLAB).
For your custom examples, see Display Custom Examples (MATLAB).