Difference between revisions of "Talk:Main Page"

From PrattWiki
Jump to navigation Jump to search
 
Line 1: Line 1:
'''Running MATLAB Script off Teer Machine without GUI'''
 
  
When attempting to use MATLAB on a Teer machine when not at Duke, it's often easier to refrain from opening the GUI (which is too slow). Here
 
are some steps around that.
 
 
 
1) SSH into teer machine
 
 
2) Navigate to directory with MATLAB Script
 
 
3) Ensure MATLAB Script has the command 'exit' on its last line
 
 
4) type 'which matlab' into the command prompt, which should output something like /usr/bin/matlab
 
 
5) Assuming the output is /usr/bin/matlab, enter '/usr/bin/matlab -nosplash -nodisplay -nojvm -nodesktop < fileToRun.m > outputFile.txt' into command prompt
 
 
6) Open outputFile.txt with 'cat outputFile.txt' , which will allow you to see the output of MATLAB files when not at Duke (as its way too slow to open up the GUI). Currently works for text output.
 

Revision as of 16:09, 14 March 2014