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

3 ビュー (過去 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 Center および File ExchangeGet 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