Info
This question is closed. Reopen it to edit or answer.
How can i create and save to a filename that derives from my data?
1 view (last 30 days)
Show older comments
x= 'a number from my data' (ex *117*)
y= 'another number from my data' (ex *00*)
q=['LOC1_2015_', *num2str(x)*,'_', *num2str(y)*,'_00_00000_CH1.mat']
q =
LOC1_2015_ *117*_ *00*_00_00000_CH1.mat
Now I want to create and save a file name with that name:
save('LOC1_2015_ *117*_ *00*_00_00000_CH1.mat')
Any ideas?
4 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!