<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Courier New, Courier, monospace" color="#330033">Hi,<br>
I would like to read 5 colum vectors from the example txt-file as
quoted between the dotted lines below.<br>
The desired result should be:<br>
<br>
Y=[2017;</font><font face="Courier New, Courier, monospace"
color="#330033"><font face="Courier New, Courier, monospace"
color="#330033">2017;</font></font><font face="Courier New,
Courier, monospace" color="#330033"><font face="Courier New,
Courier, monospace" color="#330033"><font face="Courier New,
Courier, monospace" color="#330033">2017;</font></font>2017]<br>
M=['<span style="font-style: italic;">May</span>';'June';'Jul';'Aug']<br>
D=[26.;25.;25.;24.]<br>
BATh=[0.;%nan;1.;2.] //hour of begin of astronomical twilight.<br>
</font><font face="Courier New, Courier, monospace" color="#330033"><font
face="Courier New, Courier, monospace" color="#330033"><font
face="Courier New, Courier, monospace" color="#330033">BAT</font>m</font>=[48.;%nan;29.;57.]
</font><font face="Courier New, Courier, monospace" color="#330033"><font
face="Courier New, Courier, monospace" color="#330033">//minute
of begin of astronomical twilight.<br>
<br>
</font>Which of Scilab's various file reading functions would you
recommend here? I am passably familiar with Fortran and C formats.
So I just need a productive choice of the function to start my
trial and error with. My essays with </font><big><font
color="#330033">mfscanf</font></big><font face="Courier New,
Courier, monospace" color="#330033"><small> </small>failed
miserably.<br>
<br>
Regards<br>
Jens<br>
--------------------------------------------------------------------------------------------<br>
<span style="font-style: italic;">
Sun<br>
<br>
</span><span style="font-style: italic;">Location: 0°00</span><span
style="font-style: italic;">'</span><span style="font-style:
italic;">00.0</span><span style="font-style: italic;">"</span><span
style="font-style: italic;">, N50°00</span><span
style="font-style: italic;">'</span><span style="font-style:
italic;">00.0</span><span style="font-style: italic;">"</span><span
style="font-style: italic;">, 0m </span>
<span style="font-style: italic;"> (Longitude referred to
Greenwich meridian) </span>
<span style="font-style: italic;"> </span>
<span style="font-style: italic;"> <br>
Date Begin Rise Az.Trans Alt Set Az. End</span>
<span style="font-style: italic;"> (UT1) <br>
Astr Astr</span> <span
style="font-style: italic;"> <br>
</span> </font><font face="Courier New, Courier,
monospace" color="#330033"><span style="font-style: italic;">
Twili</span></font><font face="Courier New, Courier, monospace"
color="#330033"><span style="font-style: italic;">
</span></font><font face="Courier New, Courier, monospace"
color="#330033"><span style="font-style: italic;"><font
face="Courier New, Courier, monospace" color="#330033"><span
style="font-style: italic;">Twilight</span></font><br>
h m h m ° h m ° h m ° h m</span>
<span style="font-style: italic;"><br>
2017 May 26 (Fri) 00:48 04:01 55 11:57 61S 19:54 306 23:11 </span>
<span style="font-style: italic;"><br>
2017 Jun 25 (Sun) ///// 03:52 51 12:03 63S 20:13 309 ///// </span>
<span style="font-style: italic;"><br>
2017 Jul 25 (Tue) 01:29 04:20 57 12:07 60S 19:52 302 22:41 </span>
</font><span style="color:rgb(100,174,100);font-style:italic;"><font
face="Courier New, Courier, monospace" color="#330033"><br>
2017 Aug 24 (Thu) 02:57 05:03 72 12:02 51S 19:00 288 21:05<br>
--------------------------------------------------------------------------------------------------</font><br>
</span>
</body>
</html>