1

As part of a txt file with instructions on how to run, I use a folder name as a parameter as shown below. However, LINUX does not recognize it. What could I be doing wrong?

foldername = "SOPHIE_TRANS"
matlab -nodesktop -nosplash -r "CellSort($foldername);quit"
jesse_b
  • 37,005

1 Answers1

3

You are not setting a valid variable. You cannot have a space between the variable name, the equals, nor the variable value.

Try like this:

foldername="SOPHIE_TRANS"
matlab -nodesktop -nosplash -r "CellSort($foldername);quit"
jesse_b
  • 37,005