save workspace BUT with another name!

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.

1 Comment

BN
BN on 21 Apr 2020
Edited: BN on 21 Apr 2020
Thank you so much

Sign in to comment.

 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)

Categories

Products

Release

R2020a

Tags

Asked:

BN
on 21 Apr 2020

Edited:

on 21 Apr 2020

Community Treasure Hunt

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

Start Hunting!