Main Content

addDataCaptureIP

Add data capture IP to hub object

Since R2024a

Description

example

addDataCaptureIP(hub,dataCaptureFilePath) adds the data capture IP from a location specified by the dataCaptureFilePath argument to a dataCaptureHub object specified by the hub argument.

Examples

collapse all

This example adds a data capture IP to the dataCaptureHub object.

Before you add any data capture IP, you must have previously generated the customized data capture components. You must also have integrated the generated IPs into your project and deployed it to the FPGA. The dataCaptureHub object communicates with the FPGA over a JTAG cable.

Create a data capture hub object, which can interact with each data capture IP.

hub = dataCaptureHub;

Add the System object™ of the datacapture1 data capture IP to the hub object.

addDataCaptureIP(hub,"datacapture1\datacapture1.m");

Input Arguments

collapse all

Data capture hub object that interacts with each data capture IP, specified as a dataCaptureHub object.

Name of the data capture IP location, specified as a character vector or string scalar.

Data Types: char | string

Version History

Introduced in R2024a