How to read ascii with less-than (<) symbol

1 view (last 30 days)
The Matlab import wizard strips the "<" symbol and imports only the number behind it. I would like to know where these symbols appear so I can flag the calculations which contain these values. Does anyone know of a method which is easier than reading and parsing the ascii file line by line?
Thanks!

Accepted Answer

Star Strider
Star Strider on 21 Feb 2016
I rarely use the Import Wizard, preferring textscan (or for Excel files xlsread).
If your file is readable with textscan, I would read that column in as a string, and then do the ‘<’ detection and numeric conversion in a separate step.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!