code to load my files from folder, add workspace variable and save to another folder
显示 更早的评论
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.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
