Difference between revisions of "Talk:Main Page"

From PrattWiki
Jump to navigation Jump to search
 
(Replaced content with "* How do I post a question in the Discussion tab of the pundit page? '''' 09/02/2015 ** Exactly how you did! DukeEgr93 (talk) 13...")
(Tag: Replaced)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''Running MATLAB Script off Teer Machine without GUI'''
+
* How do I post a question in the Discussion tab of the pundit page? '''' 09/02/2015
 
+
** Exactly how you did! [[User:DukeEgr93|DukeEgr93]] ([[User talk:DukeEgr93|talk]]) 13:12, 17 September 2017 (EDT)
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.
 

Latest revision as of 16:03, 22 January 2023

  • How do I post a question in the Discussion tab of the pundit page? ' 09/02/2015
    • Exactly how you did! DukeEgr93 (talk) 13:12, 17 September 2017 (EDT)