[Scilab-users] using csvRead

Rafael Guerra jrafaelbguerra at hotmail.com
Sat Oct 15 19:32:15 CEST 2016


Thanks Samuel, but I could not see where does it say how can we convert a mlist of ctype to a regular matrix, so that we can use all usual matrix operations. Could you please advise.

PS: in the example under discussion, doing:   r=r( :,: );  seems to do the trick.


From: users [mailto:users-bounces at lists.scilab.org] On Behalf Of Samuel Gougeon
Sent: Saturday, October 15, 2016 7:26 PM
To: Users mailing list for Scilab <users at lists.scilab.org>
Subject: Re: [Scilab-users] using csvRead

Le 15/10/2016 18:58, Rafael Guerra a écrit :
Hi Serge,

One question:
For some strange reason, the variable 'r' is in this case a mlist of type cblock and not a matrix of type constant.
To convert it to constant, it seems that we need a further instruction, such as:   r=r( : , : );
Any comments on this?
This is fully documented: https://help.scilab.org/docs/6.0.0/en_US/mfscanf.html
It is possible to specify several output variables to collect field columns one by one.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20161015/c3847c75/attachment.htm>


More information about the users mailing list