Matlab 2007a, Simulink 6.6.1
I have run into a situation where we have an s-function(mex32) generated from some source code. The code was later updated but the mex32 was not (mistakenly). However, during code generation there were no errors, and no warnings. The code crashes and we traced the problem to the misaligned mex32/source code.
Is there a way during code generation to override the mex32 with the source code, or not use the mex32 in the code generation?
3 Comments
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/77958-is-it-possible-to-override-the-mex32-check-during-code-generation#comment_152837
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/77958-is-it-possible-to-override-the-mex32-check-during-code-generation#comment_152837
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/77958-is-it-possible-to-override-the-mex32-check-during-code-generation#comment_154990
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/77958-is-it-possible-to-override-the-mex32-check-during-code-generation#comment_154990
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/77958-is-it-possible-to-override-the-mex32-check-during-code-generation#comment_155005
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/77958-is-it-possible-to-override-the-mex32-check-during-code-generation#comment_155005
Sign in to comment.