HOW to get Data From Workspace to matlab m fie

2 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')

Categories

Find more on Modeling in Help Center and File Exchange

Tags

Products


Release

R2016a

Community Treasure Hunt

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

Start Hunting!