Importing an excel file, how to export png and excel file to a specific folder?

I am using uigetfile to import an excel file. I create a few graphs and a table and export each graph as a png and the table as another excile file. Right now my exports are saved in the same folder as the script.
My question is, how do I save the exports to a specific destination folder? Is there something like uigetfile that pulls up a File Explorer to choose the file destination?
All help is appreciated, thank you!

 Accepted Answer

You can either hardcode the destination path, or can incorporate uiputfile to allow the user to choose where to save it.

More Answers (0)

Asked:

on 10 Jan 2023

Answered:

on 10 Jan 2023

Community Treasure Hunt

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

Start Hunting!