Matlab Coder Error - Unable to create HTML report file?
Show older comments
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 Comment
Sean de Wolski
on 13 May 2013
Any chance there's a permissions issue?
Answers (1)
Ryan Livingston
on 8 May 2013
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 Comment
Categories
Find more on Simulink Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!