I am trying to merge two text output file into one text file .
file 1:
fin=fopen('d://box1.txt','wt');
fprintf(fin,' Hello \n');
file 2:
fin=fopen('d://box2.txt','wt');
fprintf(fin,'welcome \n');
Any thoughts?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t think there is a matlab way of doing it easily. But you can use system commands:
Windows:
Linux:
Dont forget to put the path in the files if they are not in your current directory!
This works: