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

Contact us at files@mathworks.com