I have a dll file can someone change it to mex format so that I can run it on MatlabR2009a?

3 views (last 30 days)
I have a dll file can someone change it to mex format so that I can run it on MatlabR2009a?

Accepted Answer

Jan
Jan on 20 Sep 2011
No. You cannot change a DLL to a MEX file. You need the source code in C, C++ or Fortran.
But on the other hand MEX files are DLLs with the special gateway function mexFunction(). So please explain what DLL you are wanting to "convert". Is it a MEX function compiled with an old Matlab version? Then it should run under 2009a without changes, if it is a 32 bit version.
  1 Comment
Jan
Jan on 23 Sep 2011
Contacting me by email will not help also. I do not like to get emails except for personal information. Repeating the question posted here is not personal.
You do not have any information about the DLL file. You cannot open compiled DLLs in a C-compiler, to be exact: you cannot open anything in a C-compiler. I cannot open a compiled file also.
At first I suggest to ask Google to explain the differences between C-source, Mex-files and compiled files as DLLs.
Then find out, what you want to do with the DLL and what exactly do not work. Then contact the author.

Sign in to comment.

More Answers (0)

Categories

Find more on Fortran with MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!