vinsen
Mechanical
- Feb 15, 2007
- 19
Hi,
I have a set of .csv files which i can convert using a converter which i can call thru matlab using dos command,the problem is, i have around 10 files to convert one by one and here is the code i wrote, but i couldnt get it done because in the path for the conversion if i say 's' it doesnt recognise my file name which is suposed to be 'a_1.csv' rather it is searching for s.csv
need your help to solve this problem,
for d = 1:4
s = ['a_' int2str(d) '.csv']
dos('C:\exec\callconverter.exe "C:\Project\s" "C:\Project\s" -C:\Exec\Ascimpconv.dll -IF:"C:\Exec\Project\canape.ini"')
load(s)
end
waiting for your reply,
with kind regards,
vinod.b
I have a set of .csv files which i can convert using a converter which i can call thru matlab using dos command,the problem is, i have around 10 files to convert one by one and here is the code i wrote, but i couldnt get it done because in the path for the conversion if i say 's' it doesnt recognise my file name which is suposed to be 'a_1.csv' rather it is searching for s.csv
need your help to solve this problem,
for d = 1:4
s = ['a_' int2str(d) '.csv']
dos('C:\exec\callconverter.exe "C:\Project\s" "C:\Project\s" -C:\Exec\Ascimpconv.dll -IF:"C:\Exec\Project\canape.ini"')
load(s)
end
waiting for your reply,
with kind regards,
vinod.b