[Scilab-Dev] Problem with interface.

Sylvestre Ledru sylvestre.ledru at inria.fr
Mon May 26 17:14:53 CEST 2008


Le lundi 26 mai 2008 à 17:10 +0200, Habib Jreige a écrit :
> Try this. It should work. Allan's code should work too.
>  I test both code.
> 
>  Habib
> 
> **************************************
> 
> 
>  int Test( char* fname )
> {
>   int m1,n1,l1,l2;
>   CheckRhs(1,1);
>   CheckLhs(1,1);
>   m1=1;
>   n1=1;
> 
>   GetRhsVar( 1,"c", &m1, &n1, &l1);
>   CreateVar( 2, "i", &m1, &n1, &l2 );
=> note that "c" & "i" have been changed.
c => STRING_DATATYPE
i => MATRIX_OF_VARIABLE_SIZE_INTEGER_DATATYPE

See: http://wiki.scilab.org/Scilab_Internal_Datatypes


S




More information about the dev mailing list