[scilab-Users] too large string

Samuel Gougeon sgougeon at free.fr
Tue Oct 4 00:14:23 CEST 2011


Hi Calixte,

Le 03/10/2011 17:10, Calixte Denizet a écrit :
> Hi Séverine,
>
> The string you can pass to scilab has a limited size.
>
> A workaround:
> i) put your big line in a file: expression.txt
> ii) get your line with : l=mgetl('expression.txt');
> iii) J(i,k)=evstr(l);
Does evstr() really work in this case?? Hasn't it the same limitation, 
if l is a unique huge line?
i did not have a try....
help evstr states: "Each element of the matrix must define a valid 
Scilab expression"
If the maximal length of the command is a criterium for validity, 
evstr() may neither work
for too long inputs. To be confirm, and may be documented in the evstr() 
help page.

Best regards
Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20111004/3ca864fb/attachment.htm>


More information about the users mailing list