Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Comment about SetDirectory[]
Replies: 10   Last Post: May 24, 2013 5:24 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
McHale, Paul

Posts: 60
Registered: 5/29/11
Comment about SetDirectory[]
Posted: May 18, 2013 2:38 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have often wondered whether to use:

SetDirectory[NotebookDirectory[]]
Export["TestResultTime.txt", mTimeDiff, "Table"]

or

Export[NotebookDirectory[] <> "TestResultTime.txt", mTimeDiff, "Table"]

I have left Mathematica open for 2 days as it was running a very long test. Maybe something became corrupted. The first method did not work. It appears SetDirectory[] simply stopped functioning. Personally, I think the second method is better since it is atomic in nature. It doesn't depend on any stateful settings.

Has anyone else had this issue?

Thanks,

Paul McHale | Electrical Engineer, Energetic Systems | Excelitas Technologies Corp.

Office: +1 937.865.3004 | Fax: +1 937.865.5170
1100 Vanguard Boulevard, Miamisburg, OH 45342-0312
Paul.McHale@Excelitas.com
www.excelitas.com





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.