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


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

Re: LinkOpen problem

Started byChristoph Lhotka <christoph.lhotka@fundp.ac.be>
First post2012-02-25 06:59 +0000
Last post2012-02-27 11:41 +0000
Articles 2 — 2 participants

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

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: LinkOpen problem Christoph Lhotka <christoph.lhotka@fundp.ac.be> - 2012-02-25 06:59 +0000
    Re: LinkOpen problem Luigi B <l.balzano@gmail.com> - 2012-02-27 11:41 +0000

#8739 — Re: LinkOpen problem

FromChristoph Lhotka <christoph.lhotka@fundp.ac.be>
Date2012-02-25 06:59 +0000
SubjectRe: LinkOpen problem
Message-ID<jia0t8$1de$1@smc.vnet.net>
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!
>

[toc] | [next] | [standalone]


#8764

FromLuigi B <l.balzano@gmail.com>
Date2012-02-27 11:41 +0000
Message-ID<jifq5c$sm5$1@smc.vnet.net>
In reply to#8739
Dear Christoph,
 thank you for your message.

I have tried what you suggested but with no results...
The .exe file is actually in the same directory as
NotebookDirectory[]

cheers, Luigi


On Feb 25, 7:59 am, Christoph Lhotka <christoph.lho...@fundp.ac.be>
wrote:
> 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!- Hide quoted text -
>
> - Show quoted text -

[toc] | [prev] | [standalone]


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


csiph-web