code to load my files from folder, add workspace variable and save to another folder
Ältere Kommentare anzeigen
Dears,
I have a lot of .mat files wich I want to add a variable fs=128 to all of the one by one.

one way is to load ech other, add variable and save, which takes some days because of thousands data.
so I need a code (i.e. for loop) to load each one, add same variable and save it.
please help me.
thank you.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Environment and Settings 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!
