Creating string variables and paths to a directory

I need to create a string variables with the name of the file, the path to the directory with input file
(then join them) and path to the directory for my output. The directory with my output
should contain in its name the current date and time in the format ‘yyyymmdd_HHMMSS’. I am quite new with Matlab, any help would be gretaly appriciated.

Categories

Products

Release

R2021a

Asked:

on 3 Sep 2022

Answered:

on 3 Sep 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!