fprintf to write string to csv
Mostra commenti meno recenti
Hi,
I am trying to write some strings to a csv file using the fprintf. It's working good for some strings. However, for strings with commas, the code see the str_commas as a delimiter. Any suggestion. Thanks in advance.
eg. fprintf(WriteCellFile,'%s,%s,%s,%s,%s\r\n', Toxin,'k_fit','m_fit','Area','Curve')
%%Toxin is the string with commas.
Vig
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su String Parsing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!