Re: [Scilab-users] distinguish between rows and columns

2017-03-01 Thread PirPyn
I did not understant well your question. But from the size() help : 

Scilab wrote
> The syntax n = size(x, sel) may be used to specify what dimension to get:
> 
> Set sel to 1 or
*
>  'r' to get the number of rows.
*
> Set sel to 2 or 
*
> 'c' to get the number of columns.
*
> Set sel to m, where m is a positive integer to get the mth dimension.
> If m is greater than ndims(x), then size(x,m) returns 1.
> Set sel to '*' to get the product of the dimensions.





--
View this message in context: 
http://mailinglists.scilab.org/distinguish-between-rows-and-columns-tp4035640p4035643.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Set up a ATOMS repo.

2017-02-28 Thread PirPyn
Samuel GOUGEON wrote
> Please try the following:
> edit("SCI/modules/atoms/macros/atoms_internals/atomsDESCRIPTIONget.sci",194)
> // It is the line #178 in local numbering
> //replace the line #178
> extract_cmd =  + gzip_path +  + " -d """ + file_out + ;
> //with
> extract_cmd =  + gzip_path +  + " -f -d """ + file_out + ;

Done, but :


Samuel GOUGEON wrote
> //Save the file. Then do:
> cd SCI/modules/atoms/macros/atoms_internals/
> predef clear // unprotect libraries to be able to
> recompile atomsinternalslib
> genlib atomsinternalslib // recompile the sub-library to take the change
> into account

I don't have root access and the lib are read only for me; Still, i pasted
the sci to a local file, then i 'exec' it, so it's overloaded.


Samuel GOUGEON wrote
> //Then, try to rerun the ATOMS Gui..

Well, even in the command line I get :


Scilab 5.5.2 wrote
> -->exec('/home/atomsDESCRIPTIONget.sci', -1)
>  
> -->atomsRepositoryList
>  ans  =
>  
> !http://(enterprise-copy-of-atoms-official-repository)/  official  !
>  
> -->exec('/home/atomsDESCRIPTIONget.sci', -1)
>  
> -->atomsRepositoryAdd(['file:///home/atoms-repo'])
> OVERLOADED atomsDESCRIPTIONget // I put a mprintf just to be sure the
> right file is taken into account
>  
>  !--error 1 
> atomsDESCRIPTIONget : L'extraction du fichier DESCRIPTION
> ('/tmp/SCI_TMP_24966_aBy0jb/.atoms/1_TOOLBOXES.gz') a échoué.
> at line 182 of function atomsDESCRIPTIONget called by :  
> at line 142 of function atomsRepositoryAdd called by :  
> atomsRepositoryAdd(['file:///home/atoms-repo'])
> 
> -->atomsRepositoryAdd(['file:///home/atoms-repo.zip'])
> OVERLOADED atomsDESCRIPTIONget
>  
> 
>  !--error 1 
> atomsDESCRIPTIONget : L'extraction du fichier DESCRIPTION
> ('/tmp//SCI_TMP_24966_aBy0jb/.atoms/1_TOOLBOXES.gz') a échoué.
> at line 182 of function atomsDESCRIPTIONget called by :  
> at line 142 of function atomsRepositoryAdd called by :  
> atomsRepositoryAdd(['file:///home/cea/pp607946/atoms-repo.zip'])
> 
> -->atomsRepositoryList
>  ans  =
>  
> !http://(enterprise-atoms)/  official!
> !   !
> !file:///home/atoms-repo user  !
> !   !
> !file:///home/atoms-repo.zip user  !

Strangely, the url were added to the RepositoryList



--
View this message in context: 
http://mailinglists.scilab.org/Scilab-users-Set-up-a-ATOMS-repo-tp4035633p4035641.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users