Effacer les filtres
Effacer les filtres

Read tsv. file

76 vues (au cours des 30 derniers jours)
Houn JH
Houn JH le 27 Jan 2020
Hoping somebody can help me out with some code. I’m trying to read .tsv files into Matlab using a loop so I can go through a bunch of trials quickly. I’ve never read in .tsv files before. I am looking at the code starting on line 55, The code on line 56 is supposed to get rid of the first 27 rows since those rows were all text and no data.
Attahced csv.file format was tsv. but I had to change the label to csv. due to reading file error.
Appreciate
  5 commentaires
Houn JH
Houn JH le 28 Jan 2020
But, this error message poped up on the command window.
-----
Error in Untitled (line 55)
eval(['tsvread' num2str(trialname) '.tsv;']);%This code loads in the file named "trialname";
Walter Roberson
Walter Roberson le 28 Jan 2020
Modifié(e) : Walter Roberson le 17 Mai 2022

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Workspace Variables and MAT-Files dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by