Clear Filters
Clear Filters

I have problem in loading my dataset. I'm using MATLAB R2017a. It shows me an error like "Unknown text on line number 1 of ASCII file"

13 views (last 30 days)
load('duplicate_dataset.csv');

Answers (1)

Cam Salzberger
Cam Salzberger on 18 Sep 2017
Hello Sarath,
load is generally best used with either MAT files, or files saved from MATLAB using save, maybe with the -ascii or similar option. If you got this CSV file from anywhere other than MATLAB, I'd recommend either csvread or readtable to get the data into MATLAB. There are several other functions that are similar as well, or you can work interactively using the Import Tool.
-Cam

Categories

Find more on Large Files and Big Data in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!