Thread Subject: 64 bit .dll

Subject: 64 bit .dll

From: C M

Date: 13 Aug, 2008 15:39:02

Message: 1 of 2

I want to create a 64-bit .dll file using c code and get it
working with a matlab script on a 64 bit machine. Has
anyone tried doing this, or knows how to do this? It works
on a 32 bit machine, when it's obviously a 32-bit .dll file.

When I try, I get the following error: "Undefined function
or method for input arguments of type 'char'".

Subject: 64 bit .dll

From: Dan Hensley

Date: 13 Aug, 2008 19:08:12

Message: 2 of 2

C M wrote:
> I want to create a 64-bit .dll file using c code and get it
> working with a matlab script on a 64 bit machine. Has
> anyone tried doing this, or knows how to do this? It works
> on a 32 bit machine, when it's obviously a 32-bit .dll file.

Do you mean recompile on a 64bit machine using a 64bit compiler? Have
you done this?

You can also cross-compile to a 64bit target from a 32bit machine if you
have the cross-compiling tools set up, but I'll leave that as an
exercise for the user (note that I have this set up).

Dan



>
> When I try, I get the following error: "Undefined function
> or method for input arguments of type 'char'".

Tags for this Thread

Everyone's Tags:

mex

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
mex C M 13 Aug, 2008 11:40:22
rssFeed for this Thread

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com