matlab did not found the file but it is there and comand window has no problem?
Ältere Kommentare anzeigen
Hy ;-) my problem is that matlab did not find the file but it is there!!! The variable has the name the path is in matlab knonw! but if exists (fn, 'file') is evaluate 0 so this question failed?
but when i type fn in comand window ....
K>> fn
fn = Data\Versuch_001_260514_1030\EKG_1.csv
it is there ... what is that silly problem? Can someone helps me?? Waht is the difference between comand window and source ???
thx
Antworten (1)
Sean de Wolski
am 6 Nov. 2014
Probably need a .\ At the beginning to indicate that data is a folder
fn = '.\Data\etc'
You can use fullfile to help with this:
fullfile(pwd,'Data','verush.csv')
Kategorien
Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!