playrectdt

Plays and/or records on Tucker Davis Sytem 2 hardware.
1.4K Downloads
Updated 4 Apr 2002

No License

Useful if you do all your signal generation in Matlab, and you only want to use your Tucker Davis hardware for a-d/d-a.

The number of d-a channels to use is specified by the number of input arguments supplied The number of a-d channels to use is specified by the number of output arguments supplied

If you want only to record, pass an array of zeros as input to specify the number of samples to record

Values outside the range of ±32767 are clipped.

If present, pf1's are set to bypass, and pa4's are set to 20 dB of attenuation

usage example:

[a,b] = playrectdt(noise,tone,32768);
...plays the vector noise on d-a channel 1, the vector tone on d-a channel 2, and records from both a-d channels

Note that this file requires a .dll called S232.dll. This file is installed on any system that uses Tucker Davis equipment. Make sure that the directory containing this file is on your MATLAB path.

Cite As

Christopher Brown (2026). playrectdt (https://se.mathworks.com/matlabcentral/fileexchange/1232-playrectdt), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R11
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Data Acquisition Toolbox Supported Hardware in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0