How can I convert multiple .cti files to .txt files

3 views (last 30 days)
Hi,
I have a large number of .cti files and I would like to convert all of them at the same time to .txt.
Thanks
  1 Comment
demos serghiou
demos serghiou on 5 Aug 2021
thanks I will try the method but the whole point is to convert multiple .cti files to .txt files as opening a single file can be done easily in notepad

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 4 Aug 2021
  6 Comments
demos serghiou
demos serghiou on 7 Aug 2021
Hi my previous comment was wrong. Here you can find the solution:
The answer is opening the cmd promt within the folder and by entering the ren *.* *.txt command
Then importing to matlab is easy
Walter Roberson
Walter Roberson on 7 Aug 2021
MATLAB can read text files with .cti file extension, as text files (it has no special knowledge of their content.) For some of the tools you might need to tell MATLAB that the file is text. For example,
S = readlines('woofer8319_20210522.cti');

Sign in to comment.

More Answers (0)

Categories

Find more on Data Type Conversion in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!