Info

This question is closed. Reopen it to edit or answer.

which is faster in matlab?

1 view (last 30 days)
sandy
sandy on 7 Nov 2013
Closed: MATLAB Answer Bot on 20 Aug 2021
i need to import my bulk data into matlab ,which file formats do matlab imports faster ?? loading from text file format or from ms excel file or any other format...? ..from the good suggestion from experts here,i will save ,my files in that format to get imported to matlab faster..suggestion please.

Answers (1)

ES
ES on 7 Nov 2013
Edited: ES on 7 Nov 2013
According to me, Excel is better as it gives more control over range of data you will need to read, It also has ample scope to format data if you need.
But this is a very general opinion. You will have to decide based on what type of data you will read (numeric or string or large blobs etc),
what you will need to do with data. Will you write something in the file again etc.
  2 Comments
sandy
sandy on 7 Nov 2013
thanks...my data contains both string at first row alone(header) and numeric. i have to do some calculation(+,-,\,*) with them and write again to a new excel file
ES
ES on 7 Nov 2013
I would go with Excel in this case. xlswrite, xlsread, Activex(For formatting and macros if you need) will be all you need. All the best!

Community Treasure Hunt

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

Start Hunting!