Linux: Paths missing after toolbox installation

조회 수: 3 (최근 30일)
Mihael Simonic
Mihael Simonic 2021년 12월 8일
Let's say you want to use 'dtw' algorithm, but you don't have Signal Processing Toolbox.
>> dtw
'dtw' requires Signal Processing Toolbox.
Clicking on the link, opens Add-Ons manager, but the installation usually fails since the user running matlab usually doesn't have permissions to write to /usr/local/, where matlab is usually installed). Usin sudo won't help, since matlab is usually configured to be only used with a specific user.
After this, the plugin is instlaled only partiually. The files are placed to the correct location, but the paths are not configured. Upon Matlab restart, if I try to run a scrip from the new toolbox, I get a different error:
>> dtw
Unrecognized function or variable 'dtw'.
Is there any better workaround, than copying the paths from someone that already has the toolbox installed to my pathdef.m?
Also, is there any way to install toolbox to userspace, avoiding the need to grant user writing permission to /usr/local?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by