473,385 Members | 1,531 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Include & library paths, Linker/Inputs

I'm trying to configure Visual Studio 2005 (C#) to produce a MEX DLL
that will interface with MatLab. I found an online source that
describes some files that I need to attach to the DLL. The source
says:

"...Next, you'll be setting properties of the project (right click on
the project name in the
solution explorer and select "Properties")

2. Add <MATLAB>\extern\include to the include directory path

3. Add <MATLAB>\lib\win32 to the additional library directory path

4. Add libmex.lib libmx.lib libut.lib to the addtional dependencies
(under Linker/Inputs)"

I think that they're referring to an earlier version of VS because I
just can't find "include directory path," "library directory path" or
"Linker/Inputs."

If you can point me in the right direction, I'd appreciate it.

Mar 28 '06 #1
3 2370
DrOrbit wrote:
I'm trying to configure Visual Studio 2005 (C#) to produce a MEX DLL
that will interface with MatLab. I found an online source that
describes some files that I need to attach to the DLL. The source
says:

"...Next, you'll be setting properties of the project (right click on
the project name in the
solution explorer and select "Properties")

2. Add <MATLAB>\extern\include to the include directory path

3. Add <MATLAB>\lib\win32 to the additional library directory path

4. Add libmex.lib libmx.lib libut.lib to the addtional dependencies
(under Linker/Inputs)"

I think that they're referring to an earlier version of VS because I
just can't find "include directory path," "library directory path" or
"Linker/Inputs."

If you can point me in the right direction, I'd appreciate it.


These settings are very common in in VS for C++, but not for C#.

--
To email me directly, please remove the *NO*SPAM* parts below:
*NO*SPAM*xmen40@*NO*SPAM*gmx.net
Mar 28 '06 #2
Does this mean that for C#, "you can't get there from here?" Or are
there similar directives in the C# IDE?

Mar 28 '06 #3
DrOrbit wrote:
Does this mean that for C#, "you can't get there from here?" Or are
there similar directives in the C# IDE?


I don't know, as I have no experience with MatLab. If a MEX DLL is
Plugin for MatLab, which the name suggests, I don't think so. Maybe
matLab has a .NET extension mechanism?

If you want to use functionality from the c++ libraries you have
mentioned, you can do that with C# using interop.

Maybe this link is an option:
http://www.mathworks.com/support/sol...a/1-X1PFC.html

HTH,
Andy

--
To email me directly, please remove the *NO*SPAM* parts below:
*NO*SPAM*xmen40@*NO*SPAM*gmx.net
Mar 28 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: JStrummer | last post by:
I have a question regarding paths and the include() statement in PHP. I develop in a Windows environment and will be publishing to a Linux server. I would like to do the following: 1. Setup my...
5
by: David Mathog | last post by:
One thing that can make porting C code from one platform to another miserable is #include. In particular, the need to either place the path to an included file within the #include statement or to...
1
by: Jim Bancroft | last post by:
Hi, I've used VC++ 6 for my previous C++ work and am having a little trouble acclimating to VS .Net 2003, mainly in establishing where to look for additional header and library files. I'm...
6
by: =?Utf-8?B?WW9naSBXYXRjaGVy?= | last post by:
Hello, I am using Visual Studio-2003. I created a project to build my library. Since I am using third party libraries as well, I have specified those additional library dependencies in project...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.