I downloaded the computational toolbox trial version of R2016 on Mac OS X Yosemite. I am trying to define file path, but MATLAB gives error message
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Etkin Ozen
am 3 Okt. 2016
Beantwortet: Jochen Smolka
am 3 Okt. 2016
I am using an MATLAB interface, which requires to paste the data file path into the interface,
I am trying to paste the path of the data file as /Users/etkinozen/Documents/BEAR/Ibrahim Oil/toolbox 3.0
When i run the code, the error message appears:
Error using copyfile cp: /Users/etkinozen/Documents/BEAR/Ibrahim Oil/toolbox 3.0/files\results.xlsx: No such file or directory
The interface is working very well in my office computer, which uses Microsoft.
Am i defining the path wrong or, it is related with trial version?
0 Kommentare
Akzeptierte Antwort
Jochen Smolka
am 3 Okt. 2016
This sounds like there is a problem with how the full file name is constructed in the toolbox you are using. It looks like the file path and file name are connected with a backslash (\), which will work fine on PC, but not on Mac. The toolbox author will need to fix this (e.g. using the fullfile function).
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Search Path 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!