I got the answer from the below link. Thank you everyone for your time. https://in.mathworks.com/matlabcentral/answers/8230-save-path
saving .mat files in subfolders
14 views (last 30 days)
Show older comments
I have three variables a= 0:1, b=12:18, c=100:100:2000. I have a script to generate output .mat files (2 of them) for every combination of the above variables. I need to save the first output mat file in subfolder c=100 inside subfolder b=12 of folder a=0 and likewise. Could anyone please help me out?
Answers (0)
See Also
Categories
Find more on Workspace Variables and MAT-Files 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!