Effacer les filtres
Effacer les filtres

Save Fig In png. format

11 vues (au cours des 30 derniers jours)
Somnath Kale
Somnath Kale le 6 Déc 2020
I wanted to save my fig in .png format. from .fig format can you please suggest. I'm providing here my code.
savefig(OPGraphName) ;
movefile(OPGraphName, 'C:\Users\IISER BPR\Documents\MATLAB\Instrument program\CurrentSourceVoltmeter\Data')

Réponses (2)

KSSV
KSSV le 6 Déc 2020

Image Analyst
Image Analyst le 6 Déc 2020
Try
folder = 'C:\Users\IISER BPR\Documents\MATLAB\Instrument program\CurrentSourceVoltmeter\Data';
fullFileName = fullfile(folder, 'Screenshot.png'); % Whatever name you want.
exportgraphics(gcf, fullFileName);

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by