Scilab 5.5.0
- Aide de Scilab
- Fonctions avancées
- Built-in & external
- Libraries
- profiling
- argn
- bytecode
- bytecodewalk
- comp
- exec
- execstr
- function
- functions
- getd
- macr2tree
- macrovar
- mode
- sciargs
- code2str
- deff
- edit
- fun2string
- funcprot
- head_comments
- listfunctions
- macr2lst
- macro
- overloading
- recompilefunction
- str2code
- tree2code
- varargin
- varargout
Please note that the recommended version of Scilab is 6.1.0. This page might be outdated.
See the recommended documentation of this function
argn
nombre d'arguments d'appel d'une fonction
Séquence d'appel
[lhs [,rhs] ]=argn() lhs=argn(1) rhs=argn(2)
Description
Cette fonction est utilisée à l'intérieur d'une définition de fonction.
Elle donne le nombre effectif (au moment de l'appel) d'arguments d'entrée rhs
et de sortie lhs
. Elle permet d'utiliser des arguments optionnels.
![]() | Notez que lhs est toujours supérieur ou égal à 1. Autrement dit, même si une
fonction est appelée sans avoir mentionné un argument de sortie, lhs sera égal à 1. |
Comments
Add a comment:
Please login to comment this page.