MATLAB GPU coder: No such file or directory(when using app or the command line, there is no buildLog.log in the folder)

4 次查看(过去 30 天)
C:\Users\45252\OneDrive\桌面\GPU\test\codegen\mex\mandelbrot_test\build\win64\buildLog.log. No such
file or directory.
Code generation failed: View Error Report
Error using codegen
Error in mandelbrot_count (line 31)
codegen -config cfg mandelbrot_test -args ARGS{1}
I use the MATLAB GPU coder example for mandelbrot and run accroding to the instruction, but there is no buildLog.log in the folder, so it doen't work.

采纳的回答

Infinite_king
Infinite_king 2023-11-28
Hi Jinxuan Chen,
I understand that you are attempting to generate CUDA code for the 'mandelbrot_test' function and encountering an error stating that 'buildLog.log' is not found. This issue may be occurring for any of the following reasons:
  1. Lack of write access in that location.
  2. Antivirus software removing files (very unlikely).
To resolve this issue, please follow the steps below:
  1. Attempt to create a file in that location to check if you have write access.
  2. If you have write access, then open MATLAB in Administrator mode.
  3. If you do not have write access, choose another location where you do have write access.
  4. If you have antivirus software, try pausing it and then continue with code generation.
I hope this information is helpful

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with GPU Coder 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by