HOW to get Data From Workspace to matlab m fie

4 views (last 30 days)

Answers (1)

djedoui Nassim
djedoui Nassim on 17 Mar 2019
i understand that you want tosave the variable in M file, if yes you can follow this command. this command will save the q1 variable in a mat file and you can load q1 after.
save(['q1.mat'],'q1')

Tags

Products


Release

R2016a

Community Treasure Hunt

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

Start Hunting!