I like to save a cell array into text file
Show older comments
Hello to all,
I have a big cell array and I like to save it into text file.
the cell array contains two columns and each colum contain name of an element for example 'Al'.
a row of the cell array is like: ['Al' 'Mg']
now I'd like to save all of rows into a text file and save it like AlMg no space between Al and Mg in the text file.
for example if in the cell array is :
Al Mg
Na k
Al Sc
in the text file:
AlMg
NaK
AlSc
I attached the Untitled.m file
if you run the program you will get the Binary which is my cell array and I like to save it into a text file like I said above.
Note that the Binary cell array is big array!
best
Majid
1 Comment
Majid Vaghari
on 27 Dec 2021
Accepted Answer
More Answers (1)
Majid Vaghari
on 27 Dec 2021
0 votes
Categories
Find more on Calendar 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!