matlab coder does not create mex file
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I'm trying to create a mex file using Matlab coder.
I checked run-time issues, and there's no problem. However, when I generate the mex file, I get an error message: "Build error: C compiler produced errors. See the Build Log for further details"
What does this mean?
0 commentaires
Réponses (1)
Ji Lee
le 25 Avr 2018
It's referring to the logs MATLAB Coder captured during attempted compilation. As such output is very compiler-specific, it has to generically point to the log rather than list specific errors.
In the MATLAB Coder app, the build log is labeled "Target Build Log" and is the first tab below the code view on both the "Check for Run-Time Issues" and "Generate Code" steps. Similarly, in the code generation report, there is a "Build Log" tab at the bottom of the report. In the report, the tracts of output related to the error are usually highlighted in red. You'll want to start by examining this output.
0 commentaires
Voir également
Catégories
En savoir plus sur MATLAB Coder dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!