Saveas function with .mat file

I am having some trouble with using the saveas function to save a .mat file. I am intending to send the file to the path.
How would I be able to do this?
Any suggestions?

Answers (1)

save not saveas
doc save

2 Comments

What about if I want to save it to a specific name?
Plus, currently the path for all my .mat files are to my documents, but I would like this .mat file to be saved to another folder path.
Yes, you can.
doc pwd % see how to define a path and save files

Sign in to comment.

Categories

Asked:

on 6 Jul 2020

Edited:

on 6 Jul 2020

Community Treasure Hunt

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

Start Hunting!