I have a text file containing 57 header values and I want to selectively import 2 columns only. These are "X-Centroid(µm)"(column 43) and Y-Centroid(µm) (column 44). The number of rows is variable depending on the number of features detected in an image. Currently, I am copy-pasting my data from text file into excel and using xlsread to import data into matlab. This is a time consuming step that I went to get rid of. I want to import data from text file directly as I need to automate this step for a no of text files. I am using textscan but I am fairly new to matlab and having hard time figuring it out. Please advice.
MATLAB: How to selectively import a column from a text file containing lot of headers
data importimage analysistextscan
Related Question
- I aam having error when i am trying to load csv file and i am having error like this which i mentioned so please help me someone
- I want to delete all the headerlines and delimiters from the data in the below attached text file
- How to scan text file
- How do you import specific rows of numeric data (without text) for the file I have attached
Best Answer