i want to to write a file with specific and every time (in for loop) different name?
For Example: i tried as following:
ScanFullName=strcat(ScanName, '_', ScanVolume, '_', prjName)
than i want to move the file into other subfolder as following:
outputFolder = fullfile(pwd, 'SDBsFiles');
if ~exist(outputFolder, 'dir')
movefile([ScanFullName '.sdb'], 'SDBsFiles');
but i get this Error:
Error using fopen
First input must be a file name or a file identifier.
Thanks for your Helps!