- Aide Scilab
- Scilab
- Mots clés Scilab
- TMPDIR
- abort
- argn
- banner
- boolean
- break
- clear
- clearglobal
- comp
- debug
- errcatch
- errclear
- error
- exists
- exit
- external
- extraction
- getos
- getshell
- gstacksize
- ieee
- insertion
- inv_coeff
- iserror
- isglobal
- macr2tree
- matrices
- matrix
- mode
- mtlb_mode
- names
- null
- pause
- perl
- poly
- predef
- quit
- rational
- resume
- sciargs
- scilab
- stacksize
- startup
- symbols
- testmatrix
- type
- typename
- user
- varn
- what
- where
- whereami
- who
- whos
- with_atlas
- with_javasci
- with_macros_source
- with_pvm
- add_demo
- clearfun
- continue
- delbpt
- dispbpt
- edit
- error_table
- format
- funcprot
- funptr
- getdebuginfo
- getmd5
- getmemory
- getmodules
- getscilabmode
- getvariablesonstack
- getversion
- intppty
- lasterror
- macr2lst
- newfun
- readgateway
- setbpt
- ver
- warning
- who_user
- with_module
- with_texmacs
- with_tk
type
Retourne le type d'une variable
Séquence d'appel
[i]=type(x)
Paramètres
- x
objet Scilab
- i
entier
Description
type(x) renvoie un entier donnant le code numérique du type de x définit comme suit :
1 : matrice réelle ou complexe.
2 : matrice polynomiale.
4 : matrice booléenne.
5 : matrice creuse.
6 : matrice creuse booléene.
7 : matrice creuse Matlab.
8 : matrice d'entiers codés sur 1, 2 ou 4 octets.
9 : matrice de "handle" sur les objets graphiques.
10 : matrice de chaînes de caractères.
11 : fonction non-compilée (Code Scilab).
13 : fonction compilée (Code Scilab).
14 : fonction d'une bibliothèque.
15 : liste.
16 : liste typée (tlist).
17 : liste typée orientée matrice (mlist).
128 : pointeur (Voir lufact).
129 : polynôme implicite utilisé pour indexer.
130 : fonction Scilab intrinsèque (Code C ou Fortran).
Voir aussi
| << testmatrix | Scilab | typename >> |