hi every body
how i can write value of variable in text file ?
i used this commands
fid =fopen('C:\Users\TOSHIBA\res.txt' );file = fid;res1 = fopen(file, Write); write(res1, test);fclose(res1);
and it appear this error
Undefined function 'write' for input arguments of type 'char'.
Error in test2 (line 38)
write('C:\Users\TOSHIBA\res.txt', test);
so what is the problem please..
Best Answer