Do I need to recompile matconvnet everytime I start matlab?

2 visualizaciones (últimos 30 días)
Ibraheem Al-Dhamari
Ibraheem Al-Dhamari el 15 de Mzo. de 2018
Respondida: Priyank Sharma el 3 de Abr. de 2018
As the title says. Everytime I start matlab I get this error
Undefined variable "dagnn" or class "dagnn.DagNN.loadobj".
The error goes when I recompile the library using:
>> vl_compilenn('enableGpu', true, 'cudaRoot', '/usr/local/cuda-9.0', 'cudaMethod', 'nvcc')

Respuestas (1)

Priyank Sharma
Priyank Sharma el 3 de Abr. de 2018
Execute the following commands in MATLAB Command prompt:
>>restoredefaultpath
>>rehash toolboxcache
>>savepath
These steps would allow you to reset your default path and clear the toolbox cache to make sure that the function would be accessible.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by