Re: [Scilab-users] Header in txt file for read command

2023-05-25 Thread CRETE Denis
Hello
Did you try fscanfMat ?
HTH
Denis

De : users  De la part de Jens Simon Strom
Envoyé : jeudi 25 mai 2023 13:07
À : International users mailing list for Scilab. 
Objet : [Scilab-users] Header in txt file for read command

Hi Scilab insiders,

My minimum example text file has 5 lines:


These data are used in a.sce
and also in b.sce
0 1
1 2
2 3


The read command shall only read the numerical data as a matrix, ignoring the 
two header lines.
How can I do that?

Regards
Jens


This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
related to personal data protection, please contact 3DS Data Protection Officer 
https://www.3ds.com/privacy-policy/contact/



This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
related to personal data protection, please contact 3DS Data Protection Officer 
https://www.3ds.com/privacy-policy/contact/

___
users mailing list - users@lists.scilab.org
Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
https://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Header in txt file for read command

2023-05-25 Thread Jens Simon Strom

Hi Scilab insiders,

My minimum example text file has 5 lines:


These data are used in a.sce
and also in b.sce
0 1
1 2
2 3


The read command shall only read the numerical data as a matrix, ignoring the 
two header lines.
How can I do that?

Regards
Jens



This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
related to personal data protection, please contact 3DS Data Protection Officer 
https://www.3ds.com/privacy-policy/contact/

___
users mailing list - users@lists.scilab.org
Click here to unsubscribe: 
https://lists.scilab.org/mailman/listinfo/users