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?

Risposte (1)

save not saveas
doc save

2 Commenti

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

Accedi per commentare.

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by