Hi,
I want to check if the created folder already exists. But the name of the folder depends on the file I work with.
fname = Measurement_20190829_18_15_10.binif ~exist('Figures' fname(11:end-4), 'dir')mkdir('Figures', fname(11:end-4));end
I have no clue how to make this work.
I always get Invalid expression with a marker on fname.
Please help.
Thank you!
Best Answer