Mex Compiler error

I build a Simulink model for Asynchronous machine modelling where i used embedded MATLAB function , but i can not run it and the error message is like following. "The mex compiler '<unknown>' is not supported for simulation builds. Use 'mex -setup' to select a supported compiler" How could I solve it?

回答(1 个)

Kaustubha Govind
Kaustubha Govind 2012-5-30

0 个投票

Install a supported compiler by looking at the list for your MATLAB version and platform. Then, run "mex -setup" and allow it to locate the installed compiler automatically. You can follow the directions at the prompt to select that compiler.

类别

帮助中心File Exchange 中查找有关 Write C Functions Callable from MATLAB (MEX Files) 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by