Effacer les filtres
Effacer les filtres

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

4 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

Infinite_king
Infinite_king le 28 Nov 2023
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

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with GPU Coder dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by