Access violation detected - MEX
27 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
I getting the following crach , I'm using MCR 9.6 and compiling with MEX
2 commentaires
James Tursa
le 24 Mai 2020
Modifié(e) : James Tursa
le 24 Mai 2020
Is this a mex routine that you wrote? Do you have the source code? The error message is pretty clear ... memory access violation, so the code has a bug.
Réponses (2)
James Tursa
le 27 Mai 2020
If it worked fine on 32-bit, then of course the most likely problem is you missed something in the integer or pointer size conversion in your code. The dump file might point you to the routine, but regardless I would suggest you go through your code line by line to try and find what you missed. If the code is not too long you could post it and we could take a look as well. Also, be sure to compile with the '-v' verbose option to see what the compiler thinks of your code ... maybe there are some warnings that will tell you exactly what the problem is.
0 commentaires
Voir également
Catégories
En savoir plus sur MATLAB Compiler dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!