Skip to Main Content Skip to Search
Home |   Select Country  Choose Country  |  Contact Us  |  Cart Store 
Create Account | Log In
Products & Services Solutions Academia Support User Community Company
spacer spacer spacer spacer spacer spacer

Technical Solutions

Why does MATLAB hang or generate an error when I try to run mex -setup or mbuild -setup?


Date Last Modified: Friday, June 26, 2009
Solution ID:   1-175S9
Product:   MATLAB
Platform:  
Operating System:  
 

Subject:

Why does MATLAB hang or generate an error when I try to run mex -setup or mbuild -setup?

Problem Description:

When I run "mex -setup" or "mbuild -setup" I receive an error such as

mex.bat: internal error in sub get_compiler_info(): don't recognize <string>

or

mbuild.bat: internal error in sub get_compiler_info(): don't recognize <string>

or, I do not get an error, but MATLAB just hangs.

Solution:

These errors are due to a conflict between MATLAB and your antivirus software. Although the problem may not be limited to these products, we have reproduced this problem in house with the Cheyenne AntiVirus and Dr. Solomon virus checkers.

To work around this conflict, temporarily disable the virus checker when running "mex -setup" or "mbuild -setup" and reboot. After you have successfully run the setup operation, you can re-enable your antivirus software.

Please provide feedback to help us improve this Solution
Contact support
E-mail this page
Print this page