Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Programming with .NET / hand over of variables

  • To: mathgroup at smc.vnet.net
  • Subject: [mg68376] Programming with .NET / hand over of variables
  • From: Andreas Baumbach <a.bb at gmx.de>
  • Date: Thu, 3 Aug 2006 06:06:38 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear Sir or Madam,

i don't know how simple or difficult this question is, but i do not know 
how to work this problem out.
i have an problem with the implementation of Mathematica in my 
.NET-Program.

Here is the code:

mathKernel.Compute("puffer1 = 
ReadList[\"v3504b.txt\",{Number,Number}]");  //Read an array of numbers 
from a file
mathErgebnis = new 
Wolfram.NETLink.Expr(mathKernel.Result);                       //The 
Result, which is send back by mathKernel is saved as an Expression
double[][] ar = ?                                                      
                                          //Transform the Result in an 
array which i can handle with C#

I want to have the 2*N array, which is saved in puffer1, transformed in 
an C# equivalent.
What have i to do, so that it works?
Thanks for your advice.

Sincerely yous

Andreas Baumbach
andreas.baumbach at student.tu-freiberg.de


  • Prev by Date: mathematica 4.0 + NET/Link doesn't work?
  • Next by Date: Re: MeanTest Function not Working
  • Previous by thread: Re: mathematica 4.0 + NET/Link doesn't work?
  • Next by thread: Re: Programming with .NET / hand over of variables