Undefined function 'txt2mat' for input arguments of type 'cell'
Show older comments
Dear friends: I wrote a line of code to read the data from a txt file. My txt file is a combination of the numbers and text. But I received an error of (Undefined function 'txt2mat' for input arguments of type 'cell'). I also attached the txt file. Any help is really appreciated.
clc
clear all
close all
data = txt2mat('cont-0001.txt',0,2,'BadLineString',{')'},'ReadMode','block');
2 Comments
Image Analyst
on 13 Aug 2016
You forgot to attach the text file.
masoud meskin
on 14 Aug 2016
Accepted Answer
More Answers (0)
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!