Matlab must have threading disabled for use in the normal Condor queue. To do tihs, use the command line argument "-singleCompThread".
Under Condor we can achieve total higher compute throughput without threading, and will finish more jobs faster.
When launching Matlab in batch mode from the Unix shell, the program name is piped from STDIN rather than being an argument as in some other languages.
Thus for the Matlab program "program0.m", the command line for testing would be:
matlab -singleCompThread
Then the Condor submit script would look like this:
universe = vanilla executable = /opt/matlab/latest/bin/matlab arguments = -singleCompThread input = program0.m output = program0.out error = program0.err queue