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 个评论

Hi Chuck,
This looks like a bug in codegen. Can you post reproduction steps here, or contact Mathworks tech support?
Thanks,
Denis.

请先登录,再进行评论。

回答(0 个)

产品

提问:

2012-12-11

Community Treasure Hunt

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

Start Hunting!

Translated by