MathGroup Archive 1989

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

Search the Archive

MathExec() bug (?)

  • Subject: MathExec() bug (?)
  • From: rhs at
  • Date: Mon, 5 Jun 89 16:04:57 -0500
  • Apparently-to: mathgroup-out at

On p. 586 of the manual, it is claimed that MathExec("expr") evaluate[s] expr
as Mathematica input, and return[s] the result as a string.
On the sun 4 1.1 version (though mathlink.c is in common so I expect this
is true everywhere), there is no mechanism for returning the result to the
user program that I can see.  And it doesn't seem to work.  (I can get 
MathExec to work, it just doesn't return anything)

I haven't seen anything anywhere about this. Ideas?

More generally, how does one pump a lot of numbers efficiently into the 
user program, i.e. suppose one wants to send a 50 by 50 matrix from Mathematica
to the user program.  I don't see how the mechanism of Section B.7.6 allows
this except through MathExec() as above (which looks kludgy but doable if
it worked).

rhs at

  • Next by Date: endless loop in TrigExpand?
  • Next by thread: endless loop in TrigExpand?