Do I need to recompile matconvnet everytime I start matlab?

3 ビュー (過去 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 Center および File ExchangeStartup and Shutdown についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by