writePort
Write data to a DUT port from MATLAB
Syntax
Description
writePort(
casts the input data, specified by hFPGA, portName, data)data, to the data type of the port,
portName, and dispatches to the interface mapped to that port to write
the data. Before you write the data, set up a connection from MATLAB® to the target FPGA or SoC device, hFPGA, and then use the
mapPort function to map the portName to that
interface.
writePort(
casts the input data, specified by hFPGA, portName,data,InterfaceID)data, to the data type of the
overlapped port, portName, by using the optional
InterfaceID argument and dispatches to the interface mapped to that
port to write the data.
returns a valid signal to indicate that the data write was completed.valid=writePort(hFPGA, portName, data)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2020b