Write data to a DUT port from MATLAB
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.