Matlab Coder Error - Unable to create HTML report file?

조회 수: 3 (최근 30일)
Philipp
Philipp 2013년 5월 8일
When using the Matlab Coder for mex file compilation,the following error occurs:
Compilation failed. Unable to create HTML report file 'C:\Users\....filename_buildlog1.html'. Use help codegen for more information on using this command.
It seems like the code generation itself is working, only the HTML report file generation is the actual problem.
I used the default values in coder.config('mex') for the compilation and switched to dynamic allocation, so there should be no problem with unbounded sizes that could cause the problem. Compiling a similar function with same configuration parameters works fine.
Is there any possibility to switch off HTML code generation?
Thanks for any help!

답변 (1개)

Ryan Livingston
Ryan Livingston 2013년 5월 8일
To shut off the report you can:
c = coder.config('mex');
c.GenerateReport = false;
c.LaunchReport = false;
and then pass that config:
codegen ... -config c
  댓글 수: 1
Philipp
Philipp 2013년 5월 13일
편집: Philipp 2013년 5월 13일
Thanks for your answer. I already tried that one, without success.
With GenerateReport and LaunchReport you can only switch on or off the code generation report that pops up when code generation is finished or an error occurs. It seems that the problem behind the error message i receive doesn´t refer to these reports, but to HTML files that are automatically generated and stored under .../codegen/mex/function_name/html in the same folder in which the originial m-function is located. I need a possibility that stops these html files from being generated or, even better, a solution for the actual error that causes that problem.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by