Si le répertoire existe Matlab

    if ~exist(yourFolder, 'dir')
       mkdir(yourFolder)
    end
Breakable Booby