MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: LinkOpen problem


Hi,

first try NotebookDirectory[] to see the path where Mathematica
looks for the executable. Use SetDirectory[] to change to
the directory where the .exe file is or copy the .exe file to the
path given by NotebookDirectory[].

Best,

Christoph


On 02/22/2012 11:31 AM, Luigi B wrote:
> Dear All,
>   I use to run a local installation of Mathematica 8 on a Windows 7
> machine.
> To "talk" to an external program (dos executable->  myprog.exe), I used
> the following code:
>
> command = "myprog"<>  macro;
> LinkOpen[ command]
>
> Probably this is not the most elegant solution but it worked!
>
> Now I am running a remote installation of Mathematica 8 on a windows
> xp machine and the same command does not work anylonger. The error I
> get is:
>
> LinkOpen::linke: Could not find MathLink executable.>>
>
> and a window opens that asks me to "Choose a MathLink program to
> launch".
>
> Can anyone help me with this?
>
> thanks, Luigi
>
>
> PS: I have also tried Run[command] but no results!
>




  • Prev by Date: Re: Open nbs automatically with 150%
  • Next by Date: Re: Open nbs automatically with 150%
  • Previous by thread: LinkOpen problem
  • Next by thread: Re: LinkOpen problem