Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

native mex compiler

native mex compiler

native mex compiler

Hi everyone,

Does anyone knows why the native mex compiler isn't installed when installing the matlab in windows vista (64 bits) ?

I'm intending to use the R2009b on windows vista but I couldn't manage to install the native mex compiler (lcc).

Thanks a lot

RE: native mex compiler

This fairly recent thread discusses the lack of 64-bit LCC.


The conclusion seemed to be that there is a 64-bit version, but The MathWorks choose not to supply it.

Of course the other common issue with using LCC is that it is "only" a C compiler, not a C++ compiler.  This trips many people up.

- Steve

RE: native mex compiler

Thanks Steve. It helped a lot.
Do you know if is there any way to execute a user defined matlab function from simulink without compiling it ?
I mean, execute it in matlab workspace whole executing a model from simulink.

Best regards



RE: native mex compiler

If your function is in C, no.  If it simply a Matlab m-file, you can access it via an s-function block.

- Steve

RE: native mex compiler

Very nice Steve.

Thank you very much and sorry by the beginner questions.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close