MATLAB: How to save data in a file so after restarting the Matlab I will have the data stored in computer

filesave

a=5;
save a.mat

Best Answer

It’ll be saved in matlab directory .
If you want to use that values you can type;
load(‘a.mat’)
Related Question