PC restarts while running a code that calls mex functions

조회 수: 4 (최근 30일)
acivil acivil
acivil acivil 2017년 4월 20일
댓글: James Tursa 2017년 4월 20일
My pc restarts when I am running a matlab code that calls mex files. I don't know how to check the mex file because I don't know how to read c++ code; I just used mex functions to speed up my code. The only way I could check the mex file is that sometimes that my pc didn't rebbot the results of the code were the same as of the code using the original functions (not mex). What could cause this problem and what can i do to fix it? Thank you in advance.
  댓글 수: 1
James Tursa
James Tursa 2017년 4월 20일
Impossible to say without seeing the source code, but most likely there is a bug in the mex routine. Though typically this would cause a MATLAB crash, not a PC reboot.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Software Development Tools에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by