[scilab-Users] Question about max. vector length and scilab limits

Antoine Monmayrant antoine.monmayrant at laas.fr
Mon Dec 6 10:41:17 CET 2010


Le 06/12/2010 10:39, Stéphane Mottelet a écrit :
> Le 06/12/2010 10:13, Holger Weiss a écrit :
>> Hi,
>> I have Problems in Scilab with long vectors.
>> the problem does not exist in Matlab, but I need this working. I want 
>> to switch completely to scilab.
>>
>> Problem:
>> --------
>> I want to execute the attached file and get a vector with around 
>> 17000 points.
>> But I get an error: "Inconsistent row/column dimensions"
>
> Hi, this exact error message :
>
> -->iVector      = [...
>                        !--error 6
>
> "Inconsistent row/column dimensions"
>
>
> at line       2 of exec file called by :
> exec gdt_scratch2.m
>
>
> is quite strange since your file has exactly one line (as seen in vi). 
> Seems like
> Scilab's parser inserts a carriage return. Seems to me that it is a bug.
>
>
> S.
>
>>
>> What is the max. vector length for a vector in scilab ?
>> What are the limitation for the scilab environment (like: max. 
>> number, max. stacksize, max files open, max. size of number, max. 
>> length of vector) ?
>> Is there a documentaiton available?
>>
>> I searched the web and the help from scilab for the limits of the 
>> scilab environment, but with NO success.
>>
>>
>> Thanks for your help in advance!
>>
>> With kind regards / Mit freundlichen Grüßen
>>
>> Holger Weiss
>> Senior RF Design Engineer
>> _______________________________
>>
>> Ubidyne GmbH
>> Lise-Meitner-Straße 14
>> D-89081 Ulm
>>
>> phone     +49 731 88 00 71 31
>> fax        +49 731 88 00 71 99
>> mail        info at ubidyne.com
>> web       www.ubidyne.com
>>
>> Registered office: Ulm
>> District court of Ulm: HRB 5295
>> Managing Directors:
>> Dipl. Ing. Mike Levis
>> Dr. Ing. Lothar Schmidt
>
On 5.3-beta5 I don't have the same error:

-->exec("/home/amonmayr/gdt_scratch2.m")

  !--error 113
Chaîne de caractères trop longue.

at line      -4 of exec file called by :
exec("gdt_scratch2.m")

but like in your case, the reported line seems weird (-4???).

Antoine




More information about the users mailing list