matlab coder does not create mex file
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Ji Lee
el 25 de Abr. de 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 comentarios
Ver también
Categorías
Más información sobre MATLAB Coder en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!