how to delete empty cells and save in the text file
Afficher commentaires plus anciens
sir,
The cell array C contains the following text,
C= {
'one' 'two' [] 'three' --- first row
'three' [] [] 'one' 'two' 'non' --- second row
[] [] [] 'four'}; --- third row
we want the output file is save in the text file as the following format ie., row by row delete the empty cells.
C={
'one' 'two' 'three' --- first row
'three' 'one' 'two' 'non' --- second row
'four'}; --- third row
thank you
Réponses (1)
Sreeram Mohan
le 3 Nov 2014
0 votes
Look at a similar question being answered at the following thread
Hope this helps !!!
Sreeram
1 commentaire
Jothi
le 3 Nov 2014
Catégories
En savoir plus sur Cell Arrays dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!