import text file in loop
1 view (last 30 days)
Show older comments
Hi, I'm creating text files from another program that I want to import into Matlab. I have been using the import wizard matlab option (see attachment), however the size of each file is different. In the function created by Matlab, I would like to know if the 'formatSpec' can be defined automatically or if I can create it for every new file?
2 Comments
Rik
on 6 Apr 2018
If you can deduce for each file what the format spec should be, you can just use it as an input to this function
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Text Files 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!