Re: Output for C Files
- To: mathgroup at smc.vnet.net
- Subject: [mg39392] Re: Output for C Files
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Fri, 14 Feb 2003 03:17:30 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <b2fq6i$k7b$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, write a small MathLink program & send your data via MathLink. Regards Jens Jochen Raedler wrote: > > Hi all, > > I've got a question to Mathematicas' functions/possibilities to export data > to files. > I want to create in Mathematica different Vectors (=tables) and Matrixes and > I also want to do some calculations with them in Mathematica. > At the end, I want to export the data (the inputs and results) into a file > to access them in C. It's to test my C routines. > How can I do this? I don't want to write into textfiles and use the C > functions like fscanf,... Are there other ways? > Such like I write from Mathematica to a file: > > float any_name[] = { data separated with comma..}; > > Has anyone an idea? > > TIA, > Jochen