ADI maintains a set of tools to interface with ADI precision converter devices within MATLAB and Simulink. These are combined into single Toolbox. The list of supported converters is provided below.
The current stable Toolbox can be downloaded from MathWorks File Exchange.
Alternatively, the toolbox can also be installed using the .mltbx installer file from Precision Toolbox GitHub Release Page. Download the latest .mltbx file then open that file within MATLAB. Opening the file will automatically install the Toolbox, adding the necessary components to your MATLAB path. The “Analog Devices, Inc. Precision Toolbox” will appear in your Add-Ons Explorer within MATLAB.
To interface and stream data with hardware will require installation of libiio and one of two Hardware Support Packages from MathWorks. The libiio library can be obtained on the Github page of the project.
Installation of one of the following:
is required to use the streaming system objects or blocks. These support packages provide the necessary libIIO MATLAB bindings used by ADI's system objects.
The toolbox can only be built under Linux or with Cygwin on a Windows platform. Conveniently, the entire process is automated with a Makefile located in the CI/scripts folder of the repository. The following is required on the system before the build process can be run:
First clone the repo and move into it:
git clone https://github.com/analogdevicesinc/PrecisionToolbox.git cd PrecisionToolbox
To build the toolbox run the following:
make -C CI/scripts build
To create an installable tlbx file run:
make -C CI/scripts gen_tlbx
The following have device-specific implementations in MATLAB and Simulink. If a device has an IIO driver, MATLAB support is possible, but a device-specific MATLAB or Simulink interface may not exist yet.
Evaluation Card | FPGA Board | Streaming Support | Targeting | Variants and Minimum Supported Release |
---|---|---|---|---|
AD7380 | Zedboard | Yes | No | ADI (2018b) MathWorks (2021b) |
AD7768 | Zedboard | Yes | No | ADI (2018b) MathWorks (2021b) |
AD7768-1 | Zedboard | Yes | No | ADI (2018b) MathWorks (2021b) |
AD4030-24 | Zedboard | Yes | No | ADI (2018b) MathWorks (2021b) |
AD4630-16 | Zedboard | Yes | No | ADI (2018b) MathWorks (2021b) |
AD4630-24 | Zedboard | Yes | No | ADI (2018b) MathWorks (2021b) |