I have a string, it shows as follow:
Str = '+1 3:0.045 7:1.726 8:0.63'
My question is how to save the string into a text file by using Matlab. Thanks a lot!!
fileID = fopen ('fileName.txt', 'w') ;
Str = ‘+1 3:0.045 7:1.726 8:0.63’ ;
fprintf(fileID, str) ;