Difference between revisions of "Talk:Main Page"

From PrattWiki
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
'''Running MATLAB Script off Teer Machine without GUI'''
+
{{Q}} How do I post a question in the Discussion tab of the pundit page? '''' 09/02/2015
 
 
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 03:08, 3 September 2015

How do I post a question in the Discussion tab of the pundit page? ' 09/02/2015