Segmentation violation Error in my MEX file
3 views (last 30 days)
Show older comments
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 Comments
Walter Roberson
on 29 Sep 2012
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
on 1 Oct 2012
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?
Accepted Answer
More Answers (0)
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!