フィルターのクリア

How to save a file in folder automatically?

2 ビュー (過去 30 日間)
SEVAL DONERTAS
SEVAL DONERTAS 2020 年 3 月 30 日
コメント済み: SEVAL DONERTAS 2020 年 4 月 2 日
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'));
  3 件のコメント
Srivardhan Gadila
Srivardhan Gadila 2020 年 4 月 2 日
@SEVAL DONERTAS can you provide more details on the issue, reproduction steps & exact error message
SEVAL DONERTAS
SEVAL DONERTAS 2020 年 4 月 2 日
Thank you very much, I think I have just solved the problem. That is Ok..
Best Regards...

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangePrinting and Saving についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by