MATLAB: How to specify that dlmwrite write to a textfile with the name of an input

commandsdirectorydlmwritelinuxMATLABtext filetext;writing to text file

For example, I want to write a text file to a directory using dlmwrite, and I want to name the text file as the inputted name. I have:
    dlmwrite('/home/mydirectory/auxiliaryData',output, 'delimiter','\t','precision',10 );
and a couple of lines of code ago, I had:
   auxiliaryData = input('Input Auxiliary Channel: ');
I don't want the name of the text file to be the name of the variable (auxiliaryData).

• projectdir = '/home/mydirectory';dlmwrite( fullfile(projectdir, auxiliaryData),output, 'delimiter','\t','precision',10 );
   auxiliaryData = input('Input Auxiliary Channel: ', 's');