addpath using sftp on linux

2 vues (au cours des 30 derniers jours)
Johannes Kalliauer
Johannes Kalliauer le 13 Juil 2018
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.

Réponses (0)

Catégories

En savoir plus sur Search Path dans Help Center et File Exchange

Produits


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by