Put a variable in a file title name
Ältere Kommentare anzeigen
Hello,
I want to run a for loop that has an id=1:100 and at the end of each iteration I want matlab to save the results under a file name "Trace_id". So at the end of the programe I will have files called Trace_1 , Trace_2 ,etc...
Thank you
1 Kommentar
Stephen23
am 18 Okt. 2020
Use the sprintf method shown here:
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Fortran with MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!