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

1 view (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
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.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!