Is it possible to override the mex32 check during code generation?
이전 댓글 표시
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
Kaustubha Govind
2013년 6월 4일
Are you generating code for an ert/grt target? If yes, are you saying that the generated executable/library calls into the stale 32-bit MEX-file? Also, do you not have a TLC file associated with your S-function (in other words, is it non-inlined)?
Albert Yam
2013년 6월 14일
Kaustubha Govind
2013년 6월 14일
No, I meant the "Support non-inlined S-functions" checkbox on the Interface pane. I'm confused about how the generated code calls into the MEX-file, could you paste the call to it from the generated code?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!