[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: the simplest method to write text in a file
From: |
PhilipNienhuis |
Subject: |
Re: the simplest method to write text in a file |
Date: |
Sat, 16 Mar 2019 05:50:31 -0500 (CDT) |
shivax wrote
> hi,
>
> i write :
>
> fprintf(fid,"Starting Date : %s \n\r",datestr(StartingDate,20));
> fprintf(fid,"Finishing Date %s \n\r",datestr(FinishingDate,20));
> fprintf(fid,"Start Procession Date
> %s\n\r",datestr(StartingProcessDate,20));
> fprintf(fid,"ReportFolder : %s - OutputFolder
> %s\n\r",ReportFolder,OutputFolder);
>
>
> https://gyazo.com/eabc6f699938b9e87244dadcf2ce3cfe
>
> but the result is similar
Try with \r\n EOLs rather than \n\r
What program do you use to view the resulting file?
Windows' standard notepad editor is notoriously crippled.
In your octave installation there's also a version of notepad++ included, it
must be somewhere in the directory where you installed Octave, in a subdir
called notepad++
notepad++ is vastly superior over the standard Windows tools.
Philip
--
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, 2019/03/12
- 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 <=
- 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
- Re: the simplest method to write text in a file, shivax, 2019/03/14