Filter löschen
Filter löschen

matlab coder does not create mex file

4 Ansichten (letzte 30 Tage)
Carlos Lizama
Carlos Lizama am 23 Apr. 2018
Beantwortet: Ji Lee am 25 Apr. 2018
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?

Antworten (1)

Ji Lee
Ji Lee am 25 Apr. 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.

Kategorien

Mehr zu Build Configuration finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by