MathGroup Archive 2002

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

Search the Archive

Mathlink question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33550] Mathlink question
  • From: "Theodore Chronis" <tchronis_1998 at yahoo.com>
  • Date: Fri, 29 Mar 2002 06:14:07 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

I would like my .c program to get the value of a variable defined inside
Mathematica.

For example :

in[1]:=var1=1;

/* Part of C PseydoCode */
int n;
n=Get_Mathematica_Variable(stdlink,var1);

/* or something like that... */

You could propose me to take the value of the variable through opening a
file but i want to
be able to change the value of var1 from inside mathematica's kernel not
using any prefix $post etc...

I hope the answer to this question will be usefull to others as well.

Thank you in advance

Theodore Chronis.

http://pythagoras.math.uoa.gr/~tchronis/




  • Prev by Date: Particular structure
  • Next by Date: a + b = c + d where a^2 + b^2 = c^2 + d^2.
  • Previous by thread: Re: Particular structure
  • Next by thread: a + b = c + d where a^2 + b^2 = c^2 + d^2.