Creating .txt file with matlab
Show older comments
Hey everyone.
I have a function that analyses an image and returns numerical values about it in several variabels.
Imagine I run my code and have the following data
a1=2; a2=4; a3=0; a4=8;
now I want my code to write this values in a .txt in the following way: 2,4,0,8
I want to be capable of analysing several images in the folder and to keep all the results in the same .txt file, with all the values separated by commas.
Thanks in advance!
Accepted Answer
More Answers (0)
Categories
Find more on Entering Commands 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!