Do I need to recompile matconvnet everytime I start matlab?

조회 수: 2 (최근 30일)
Ibraheem Al-Dhamari
Ibraheem Al-Dhamari 2018년 3월 15일
답변: Priyank Sharma 2018년 4월 3일
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')

답변 (1개)

Priyank Sharma
Priyank Sharma 2018년 4월 3일
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.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by