Segmentation violation Error in my MEX file
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
PRAKASH BHARTI
am 29 Sep. 2012
Bearbeitet: Jan
am 30 Okt. 2017
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 Kommentare
Walter Roberson
am 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
am 1 Okt. 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?
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!