MATLAB Answers

Chuck37
0

With codegen, what do integrity checks do?

Asked by Chuck37
on 11 Dec 2012
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 Comment

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

Sign in to comment.

0 Answers