I am sure this has been asked before, but searching for it has lead me nowhere.
I need to create a text file and then have the code create copies of that file after changing a few things.
This is what I need the file to look like:
This is my code so far, but I can't seem to get the file to even open. I haven't attempted the loop part. I have placed the "CONTROL.txt" file in the MATLAB directory, but still nothing.
Any help would be appreciated.
fprintf('12 12 30 18 \n');
fprint('-71.166889 111.366531 10.0 \n')
fprint('-71.166889 111.366531 2500.0 \n')
fprint('-71.166889 111.366531 5000.0 \n')