|
[Date Index]
[Thread Index]
[Author Index]
Re: Using Mathlink to call Matlab from Mathematica front end
- To: mathgroup at smc.vnet.net
- Subject: [mg90451] Re: Using Mathlink to call Matlab from Mathematica front end
- From: Jaewon Jang <jaewonj at wolfram.com>
- Date: Thu, 10 Jul 2008 06:32:22 -0400 (EDT)
- References: <g4smdk$4t$1@smc.vnet.net>
Pratip,
I have sent Visual Studio .Net project files (engine.sln and
engine.vcproj) to your personal email account. Go ahead and place them
into mEngine\mEngineSource directory. To compile the source code, modify
vc project depending on Mathematica and Matlab installation directories
on your machine.
I assume you have installed Mathematica 5.2 in "C:\Program Files\Wolfram
Research\Mathematica\5.2" directory and Matlab in "C:\Program
Files\MATLAB\R2007b" folder.
(1) Configuration Properties --> C/C++ --> General --> Additional
Include Directories -- let visual studio know where to find mathlink.h
and engine.h
(2) Configuration Properties --> Linker--> General --> Additional
Library Directories -- let visual studio know where to fine MathLink and
Matlab C Engine libraries.
(3) Configuration Properties --> Linker--> Input --> Additional
Dependencies -- libeng.lib, libmx.lib, and libmat.lib may have different
names in version R2007b.
(4) Configuration Properties --> Build Events --> Pre-Build Event -->
Command Line -- To convert .tm to .c using mprep.exe
Hope this helps.
--Jae
Prev by Date:
Re: Solving a DE using Mathematica
Next by Date:
How to do that with version 6?
Previous by thread:
Re: Using Mathlink to call Matlab from Mathematica front end
Next by thread:
Extracting terms of a polynomial into a list and then multiply each
|