How to save a file in folder automatically?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi
I want to save ".fig" and ".png" files in a folder automatically?
I have used the below codes but it did not run. Could you please help ?
FigH=figure('Position', get(0, 'Screensize'));
FileName='C:\Users\Lenovo\Desktop\FOLDER1';
saveas (FigH, fullfile(FileName,'FILE1.fig'));
saveas (FigH, fullfile(FileName,'FILE1.png'));
Respuestas (0)
Ver también
Categorías
Más información sobre Printing and Saving en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!