f_txt = "text_file";
save -text f_txt x;
f_mat = "matlab_file";
save -mat-binary f_mat x;
---
I am getting two files as output: 'f_txt' and 'f_mat' instead of their values ('text_file' and 'matlab_file')
I've tried with save(...) and it did not work too.
Is there any way of saving data with file name not static,
I mean in my example, is it possible to get 'text_file' and 'matlab_file' as output?