help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

i can't load in my path


From: Luca Salardi
Subject: i can't load in my path
Date: Fri, 22 Jun 2018 16:03:14 -0700 (MST)

hi,
i've  default folder in  C:\TITAN


in my code i write:

files = glob('C:/TITAN/Reports/*.txt')
%files = glob('*.txt')
for i=1:numel(files)
  [~, name] = fileparts (files{i});
  sprintf('%s = load("%s", "-ascii");', name, files{i});
  
endfor

if i read the file .txt in C:\TITAN it is all OK..

if i try to read the file .txt in C:\Titan\Reports i get the following
error:

"error: textread: could not open 'SPMIB TF V12 Intra.txt' for reading"







--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]