MATLAB: How to create a matrix from a data file on the Internet

gethttpInstrument Control Toolboxpartial

I would like to be able to import an ASCII file with tab-separated numeric values directly from the internet, without having to save it first as a file.

Best Answer

The attached example requires the Instrument Control Toolbox. It uses the function TCPIP in order to download the data file and parses it line by line to create a matrix.