[Scilab-users] Problem with SCILAB 5 and 6 Version

Samuel Gougeon sgougeon at free.fr
Wed Mar 21 14:02:42 CET 2018


Hello Héctor

Are you using the latest Scilab 6.0.1 release?
input() was bugged in previous Scilab 6.0.0+/- releases, but it is now 
fixed:

--> function ingres()
   >
   > A=input ('Ingrese la matriz A   ');
   >
   > disp(A);
   >
   > b=input ('Ingrese el vector independiente b ');
   >
   > disp(b);
   >
   >
   > endfunction

--> ingres
Ingrese la matriz A [4,3,-2,1;3,2,1,5;-2,3,1,2;-5,0,1,1]

    4.   3.  -2.   1.
    3.   2.   1.   5.
   -2.   3.   1.   2.
   -5.   0.   1.   1.

Ingrese el vector independiente b    [4;-8;-7;-8]

    4.
   -8.
   -7.
   -8.


HTH
Samuel

Le 21/03/2018 à 13:18, Hector R. Lepez a écrit :
> In SCILAB 6 this code:
>
> function  ingres()
> A=input  ('Ingrese la matriz A ');
> disp(A);
> b=input  ('Ingrese el vector independiente b ');
> disp(b);
>
> endfunction
>
>
> in console, with 6 version of SCILAB Input function faild, i don't 
> know why?? because in older version works with no problems.
>
> --> ingres
> Ingrese la matriz A
> [4,3,-2,1;3,2,1,5;-2,3,1,2;-5,0,1,1]
>
>    4.   3.  -2.   1.
>    3.   2.   1.   5.
>   -2.   3.   1.   2.
>   -5.   0.   1.   1.
> Ingrese el vector independiente b
> --> [4;-8;-7;-8]
> Ingrese el vector independiente b
> [4;-8;-7;-8]
>
>
>   -8.
>
>
>
> Héctor Lépez Cel: 154137337
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users


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


More information about the users mailing list