[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: the simplest method to write text in a file
From: |
roland65 |
Subject: |
Re: the simplest method to write text in a file |
Date: |
Tue, 12 Mar 2019 07:18:26 -0500 (CDT) |
shivax wrote
> finename="example.log";
> fprintf(filename,"Starting Date : %s - Finishing Date %s ",B);
Hi,
use this:
finename="example.log";
fid = fopen(filename, "w");
fprintf(fid,"Starting Date : %s - Finishing Date %s ",B);
fclose(fid);
This is somewhat like in C language...
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
- the simplest method to write text in a file, shivax, 2019/03/12
- Re: the simplest method to write text in a file,
roland65 <=
- Re: the simplest method to write text in a file, shivax, 2019/03/12
- Re: the simplest method to write text in a file, shivax, 2019/03/14
- Re: the simplest method to write text in a file, Uwe Damm, 2019/03/15
- Re: the simplest method to write text in a file, shivax, 2019/03/15
- Re: the simplest method to write text in a file, Andreas Weber, 2019/03/15
- Re: the simplest method to write text in a file, PhilipNienhuis, 2019/03/16
- Re: the simplest method to write text in a file, shivax, 2019/03/16
- Re: the simplest method to write text in a file, Richardson, Anthony, 2019/03/15
- Re: the simplest method to write text in a file, shivax, 2019/03/15
- Re: the simplest method to write text in a file, shivax, 2019/03/14