how to import large text file into a MAT file?

2 Ansichten (letzte 30 Tage)
maida
maida am 2 Dez. 2016
Bearbeitet: per isakson am 5 Dez. 2016
hi, i string feature vectors from different algos in a test file. the dimension of FV are 50 by 262144. when ever i try to import by using matlab button it gives me error
"Import operation failed. The most likely reason is that there are unimportable cells in the selection. Try adding a rule in the toolstrip to convert unimportable cells into numbers"
please help me soon. is my data too large to be handled? should i try another PC? please wat can be the other way to store my text file feature vector into a matfile?
Please guide me i detail or mail me : maidakhalid2@hotmail.com in case for a detail guidance
  5 Kommentare
maida
maida am 4 Dez. 2016
how to do that?? :/
per isakson
per isakson am 5 Dez. 2016
Bearbeitet: per isakson am 5 Dez. 2016
You didn't try to answer any of my questions.
I don't understand your overall data flow. Let me guess:
  1. "extract feature vector" &nbsp You use another program (not Matlab) to do that. This program outputs this large text file. "another program" would explain the existence of the text file.
  2. "how to import large text file into a MAT file?" &nbsp You ask for help to read this file into a variable of the Matlab workspace.
  3. "then i have to save that text file [the value of this variable] in mat file for further" &nbsp That's the simple part. The Matlab function save will do it.
About the text file, I guess
  1. It contains 512*512 columns times 50 rows of plain numbers
  2. The numbers are separated by comma, ","
  3. It contains no text-data; no header; not a single letter

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Large Files and Big Data finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by