Forums

converting .m files to dll (.mex) files in matlab

Started by anujack_21 June 23, 2004
Hi all,

How do I convert .m file to .mex file (dll files or executables in
matlab)? As far I understand the .mex files are written in C. But I
am not very comfortable in C. Is there a ways to convert the .m file
in to .mex files without writing a program in C??

Thanks for the help,
Anu



Use the "mcc" function from the Matlab Compiler
toolbox. Type,

help mcc

to learn how to use the function.

Regards,
Juan --- anujack_21 <> wrote:
> Hi all,
>
> How do I convert .m file to .mex file (dll files or
> executables in
> matlab)? As far I understand the .mex files are
> written in C. But I
> am not very comfortable in C. Is there a ways to
> convert the .m file
> in to .mex files without writing a program in C??
>
> Thanks for the help,
> Anu >

=====
Juan I. Arvelo, Jr., Ph.D.
Johns Hopkins University
11100 Johns Hopkins Rd.
Laurel, MD 20723
240.228.4293
__________________________________