How Does Matlab Preview Files: Import Data

Hey guys,
I'm attempting to import a text file that is giving me lots of trouble, however the preview engine for matlab displays the data perfectly. What am I doing wrong? The file looks like this
0 3 1 4 5
1 1 0
2 1 3
3 2 0 4
etc

Answers (1)

Shuba Nandini
Shuba Nandini on 26 Dec 2024
Edited: Shuba Nandini on 26 Dec 2024
Hi,
Kindly refer to the following MATLAB Answer link to know how to import text files into MATLAB:
Hope this helps!

Categories

Asked:

on 1 Oct 2013

Edited:

on 26 Dec 2024

Community Treasure Hunt

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

Start Hunting!