Azzera filtri
Azzera filtri

Save Fig In png. format

11 visualizzazioni (ultimi 30 giorni)
Somnath Kale
Somnath Kale il 6 Dic 2020
Risposto: Image Analyst il 6 Dic 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')

Risposte (2)

KSSV
KSSV il 6 Dic 2020

Image Analyst
Image Analyst il 6 Dic 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);

Categorie

Scopri di più su Modeling in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by