I want to run a code where inside every folder i have a data file and save in each folder a .fig. Can anyone help me?
Neeta Dsouza answered .
2025-11-20
Try this to indicate the entire path:
savefig(fullfile(thisDir,'DN.fig'))