mex -setup disabled Matlab

조회 수: 3 (최근 30일)
Joseph
Joseph 2013년 5월 24일
I was trying to run the National Instruments example code to read a tdms file and I got an error saying something about an unrecognized compiler and to run mex -setup. So I typed "mex -setup" in the command line and it immediately closed matlab and it won't reopen even after a computer restart. Any help would be appreciated.
Thanks, Joe

채택된 답변

Joseph
Joseph 2013년 5월 29일
I found the problem, Kapersky Anti-Virus 6.0 quarantined Matlab.exe after running the mex -setup command. After restoring the quarantined file and disabling the proactive defense everything worked fine.

추가 답변 (1개)

Jan
Jan 2013년 5월 25일
Perhaps the preferences are damaged. So try to move (not delete, keep the original as backup) the contents of the folder "C:\Users\YOURNAME\AppData\Roaming\MathWorks\MATLAB\R20XYa" (with the obvious changes) to another location. Then try to start again.

카테고리

Help CenterFile 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