save workspace BUT with another name!

8 views (last 30 days)
BN
BN on 21 Apr 2020
Edited: stozaki on 21 Apr 2020
Hey all,
I can save all variables in my workspace using this:
save workspace
After that, it saved by the named workspace.mat. I want to know how to save the workspace with another name.
Thank you.

Accepted Answer

stozaki
stozaki on 21 Apr 2020
Edited: stozaki on 21 Apr 2020
please refer an following URL
save filename
save ('filename')
For example, if you want to save it as 'test', you would write:
save test
or
save ('test')

More Answers (0)

Tags

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!