How can I create a matrix from a data file on the Internet?

1 view (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 18 Dec 2009
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.

More Answers (0)

Categories

Find more on Instrument Control Toolbox Supported Hardware in Help Center and File Exchange

Products


Release

R2009b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!