Am 15.03.19 um 00:41 schrieb shivax:
> hi,
> i've a little problem
>
> i have two pc
>
> i write this code:
>
> filename="Predator.log";
> fid = fopen(filename, "w");
>
> fprintf(fid,"Starting Date : %s \n",datestr(StartingDate,20));
> fprintf(fid,"Finishing Date %s \n",datestr(FinishingDate,20));
> fprintf(fid,"Start Procession Date %s \n",datestr(StartingProcessDate,20));
> fprintf(fid,"ReportFolder : %s - OutputFolder %s
> \n",ReportFolder,OutputFolder);
> fclose(fid);
>
> In the first pc i see all strings on one line
> (
https://gyazo.com/a5d08eecdc31a9765a7da0d5324f70e4)
>
> in the second pc I see all the strings correctly in several
> rows(
https://gyazo.com/277dbd9921d27f036a9e062069d773ee)
>
> use in both versions 4.4.1
>
> can anyone explain me the reason? txk
>
>
>
>
>
>
> --
> Sent from:
http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
>
> \n us return key in unix world
>
> replace it by \n\r
>
> Uwe
>
>