I am trying to save part of my workspace in matlab.
lets say .
a=1
b=3
name1='file_a.mat'
save(name1,a)
and got
Error using save
Argument must contain a character vector.
I also tried .
save name1 a
this generated a file named name1 (instead of file_a.mat) . I am using matlab 2017 on mac .
thank you
saveexplains the inputs and their necessary data type(s).