필터 지우기
필터 지우기

addpath using sftp on linux

조회 수: 1 (최근 30일)
Johannes Kalliauer
Johannes Kalliauer 2018년 7월 13일
I run a script on
/run/user/1000/gvfs/sftp:host=dal.imws.tuwien.ac.at,user=jkalliau/srv/share/public/somefoldername/
and want to use addpath('./subfolder')
Everything works. If I run path I get:
MATLABPATH
/run/user/1000/gvfs/sftp:host=dal.imws.tuwien.ac.at,user=jkalliau/srv/share/public/somefoldername/subfolder
/home/jkalliau/Documents/MATLAB
/opt/MATLAB/R2016b/toolbox/matlab/datatypes
/opt/MATLAB/R2016b/toolbox/matlab/elmat
/opt/MATLAB/R2016b/toolbox/matlab/elfun
/opt/MATLAB/R2016b/toolbox/matlab/matfun
...
If I run the script; addpath('./subfolder') again I get following warning:
Warning: Name is nonexistent or not a directory: /run/user/1000/gvfs/sftp
> In path (line 109)
In addpath (line 88)
Warning: Name is nonexistent or not a directory: host=dal.imws.tuwien.ac.at,user=jkalliau/srv/share/public/somefoldername/subfolder
> In path (line 109)
In addpath (line 88)
The next time (every second run) addpath('./subfolder') works again.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Search Path에 대해 자세히 알아보기

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by