With codegen, what do integrity checks do?

I'm talking about the configuration setting when making mex files. I have a case where compiling without it causes occasional random segmentation faults when the mex file is used. If integrity checks are enabled it seems to work. I would have expected to get an error even with integrity checks on (maybe just friendlier than a seg fault), but this is not the case. It runs flawlessly as .m or mex with integrity checks and seg faults without integrity checks.

1 commentaire

Denis Gurchenkov
Denis Gurchenkov le 26 Déc 2012
Hi Chuck,
This looks like a bug in codegen. Can you post reproduction steps here, or contact Mathworks tech support?
Thanks,
Denis.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Get Started with GPU Coder dans Centre d'aide et File Exchange

Produits

Question posée :

le 11 Déc 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by