- read the posting guidelines TUTORIAL: How to ask a question (on Answers) and get a fast answer
 - Give us the actual error message and lines of code that threw the error
 - Attach the data file
 - Give us the code for ReadLeCroyBinaryWaveform()
 
how to read data file.trc with a for loop?
    6 views (last 30 days)
  
       Show older comments
    
hello guys
i have the following files:
test1.trc ,  test2.trc , ..... test20.trc  " all the followings files are"ReadLeCroyBinaryWaveform"
i want to read all the files by  using for loop, my code is:
clear all
clc
for i=1:20
data(i)=ReadLeCroyBinaryWaveform('test'num2str(i),'.trc');
end
%, but I am getting an error,  how can I fix this?
Thank you in advance
0 Comments
Answers (1)
  Image Analyst
      
      
 on 21 Nov 2021
        You forgot to
We can't really do much until you do.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!