Undefined function 'read' for input arguments of type 'double'.

dat1=read(dat(100,1));
where dat = 1684 *1 double

2 Comments

doc read
What are you trying to accomplish?
read the first 100 values of the data

Sign in to comment.

 Accepted Answer

I assume that you have already dat file in your workspace
data1=dat(1:100,:);

More Answers (0)

Categories

Find more on Data Import and Analysis 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!