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?

回答(1 个)

save not saveas
doc save

2 个评论

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

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 File Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by