Changing compiler produces model errors that were not found before
1 回表示 (過去 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!