how to save work space command in script file

is there anyway to save my work space command into script file ? I want all my command i write it in work space to be in script file

 Accepted Answer

Honglei Chen
Honglei Chen on 14 Nov 2017
Edited: Honglei Chen on 14 Nov 2017
You can try the diary function
Alternatively you can copy and paste?
HTH

1 Comment

thanks sir it works with diary function . i do not prefer copy&paste cause I have many short portion of codes.

Sign in to comment.

More Answers (0)

Categories

Asked:

on 14 Nov 2017

Commented:

on 14 Nov 2017

Community Treasure Hunt

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

Start Hunting!