regarding value problem.
regarding value problem.
(OP)
hi.
thanks for your replies,
i have a command down here where value of e is 200 but when i run this, it is not taking e's value and it isnt working properly can someone guide me why,
dos([['C:\Project\splitCSV.exe C:\Project\' fileName ' e ']])
waiting for your reply,
vinod.b
thanks for your replies,
i have a command down here where value of e is 200 but when i run this, it is not taking e's value and it isnt working properly can someone guide me why,
dos([['C:\Project\splitCSV.exe C:\Project\' fileName ' e ']])
waiting for your reply,
vinod.b





RE: regarding value problem.
dos(['C:\Project\splitCSV.exe C:\Project\' fileName num2str(e)])
Note that I removed your redundant brackets too.
RE: regarding value problem.
i forgot to tell you that fileName is a string where the actual file name is stored, thats why i have the quotes.
but it is not working it is not splitting the file when i give directly a value instead of e, then i get it done perfectly,
again help needed,
thanks,
vinod.b
RE: regarding value problem.
dos(['C:\Project\splitCSV.exe C:\Project\' fileName ' ' num2str(e)])
RE: regarding value problem.
i tried this one too, i will explain you clearly, i get the filename lets say vinod.csv and store it in 'fileName'as string and then i ask the user to give a value for e and lets say 200, and i use this value in the split.exe to split a file of 600 mb size to 200 each using the dos function in matlab,as the exe file runs only in dos,i use the dos function from matlab.
i hope you got a clear picture now,
if i use the following code,
dos(['C:\Project\splitCSV.exe C:\Project\' fileName ' 200 '])
it is running fine and it is splitting the file, but when i give e = 200 and put e instead of 200, i have the problem
can you explain me anyother way,
thanks,
vinod.b
RE: regarding value problem.
>> ['C:\Project\splitCSV.exe C:\Project\' fileName ' 200 ']
ans =
C:\Project\splitCSV.exe C:\Project\myfile 200
>> (['C:\Project\splitCSV.exe C:\Project\' fileName ' ' num2str(e)])
ans =
C:\Project\splitCSV.exe C:\Project\myfile 200
They look the same to me.
RE: regarding value problem.
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
RE: regarding value problem.
thank you for the help it works fine,
and sorry for the mistake of posting it twice and it will not happen again,
thank you once again for your suggestions,
with wishes,
vinod.b