Do I need to recompile matconvnet everytime I start matlab?

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')

Antworten (1)

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.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 15 Mär. 2018

Beantwortet:

am 3 Apr. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by