A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: teu1530051202117
Ixiasoft
Visible to Intel only — GUID: teu1530051202117
Ixiasoft
7.7.1. Supported MATLAB* API Commands
You can perform the work from the MATLAB* environment, and read and write to hosts and agents through the System Console. The supported MATLAB* API commands do not require launching the System Console GUI. The supported commands are:
- SystemConsole.refreshMasters;
- M = SystemConsole.openMaster(1);
- M.write (type, byte address, data);
- M.read (type, byte address, number of words);
- M.close
MATLAB* API Script Example
SystemConsole.refreshMasters; %Investigate available targets M = SystemConsole.openMaster(1); %Creates connection with FPGA target %%%%%%%% User Application %%%%%%%%%%%% .... M.write('uint32',write_address,data); %Send data to FPGA target .... data = M.read('uint32',read_address,size); %Read data from FPGA target .... %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% M.close; %Terminates connection to FPGA target