Segmentation violation Error in my MEX file
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
PRAKASH BHARTI
le 29 Sep 2012
Modifié(e) : Jan
le 30 Oct 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 commentaires
Walter Roberson
le 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
le 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?
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!