Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8762 > unrolled thread

Re: LinkOpen problem

Started byBill Rowe <readnews@sbcglobal.net>
First post2012-02-27 11:44 +0000
Last post2012-02-27 11:44 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: LinkOpen problem Bill Rowe <readnews@sbcglobal.net> - 2012-02-27 11:44 +0000

#8762 — Re: LinkOpen problem

FromBill Rowe <readnews@sbcglobal.net>
Date2012-02-27 11:44 +0000
SubjectRe: LinkOpen problem
Message-ID<jifqb5$soe$1@smc.vnet.net>
On 2/25/12 at 1:57 AM, christoph.lhotka@fundp.ac.be (Christoph
Lhotka) wrote:

>first try NotebookDirectory[] to see the path where Mathematica
>looks for the executable.

NotebookDirectory[] returns the directory the current notebook
resides if it has been saved. If you execute this command in a
fresh session in a notebook that has not been saved it will
return $Failed with an error message stating the notebook has
not been saved.

>Use SetDirectory[] to change to the directory where the .exe file is or
>copy the .exe file to the path given by NotebookDirectory[].

Assuming Mathlink uses the same search order as for loading
packages with Get or Needs, then the directories looked at will
be the current working directory which is what is returned by
Directory[] or the directories returned by $Path

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web