Segmentation violation Error in my MEX file
조회 수: 2 (최근 30일)
이전 댓글 표시
mex unravel.c
IM=imread('F:\TEST\test.tiff');
IM=imresize(IM,[1024 1024]);
TG=im2jpeg(IM,50);
TG=jpeg2im(TG);
after running this code i got an error
Abnormal termination:
Segmentation violation
%few lines in between this %
Caught MathWorks::System::FatalException
[Please exit and restart MATLAB]>>
댓글 수: 2
Walter Roberson
2012년 9월 29일
Your traceback shows a problem in the (unknown code for) unravel, but the MATLAB code you show has no obvious call to "unravel". Where is "unravel" being called?
Walter Roberson
2012년 10월 1일
The forum indicates that you have edited your Question, but it looks pretty much the same to me ? I don't see what you have changed?
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!