Escape character for colon in matalb path in linux

6 Ansichten (letzte 30 Tage)
Marouen
Marouen am 24 Aug. 2016
Kommentiert: Richard Crozier am 16 Jan. 2024
Hello everybody, I would like to add to matlab path a path containing a colon (:), which is actually a separator between folder paths. I have tried \ as an escape character but didn't work. I would like to addpath('C:') in linux machine Thanks for the help

Antworten (2)

Natch Ruengsakulrach
Natch Ruengsakulrach am 1 Sep. 2016
Unlike Windows, Linux allows directory names with “:”. Having “:” in a directory name on the MATLAB search path is currently unsupported. I work for MathWorks and I have forwarded this to the appropriate team.

Jonathan Ward
Jonathan Ward am 14 Jan. 2020
Has there been any update on this issue? Any workarounds?
  1 Kommentar
Richard Crozier
Richard Crozier am 16 Jan. 2024
workarount on linux might be to create a soft link with a differrent name

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu File Operations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by