Changing compiler produces model errors that were not found before
조회 수: 2 (최근 30일)
이전 댓글 표시
I have been compiling my model several times without errors, and now that I have changed my compiler (using mex -setup )I have got error that I haven't seen before. Some of them make sense , like dividing by zero, but How this error was not detected before?
댓글 수: 0
답변 (1개)
Keshav
2023년 7월 31일
Changing your compiler in MATLAB can lead to different behavior in how your code is compiled and executed due to variations in compiler behavior and settings. Different compilers may apply different optimization techniques that impact the execution of your code. Each compiler may have its own set of rules. If your code relies on behavior specific to a particular compiler, changing the compiler may expose errors or inconsistencies.
You can look at all the compiler configuration using the command
coder.mexconfig
You can read more about this command on the below MathWorks documentation.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!