Scilab Function

funcprot - switch scilab functions protection mode

Sequence d'appel

prot=funcprot()
funcprot(prot)

Parametres

Description

Scilab functions are variable, funcprot allows the user to specify what scilab do when such variables are redefined.

  • * If prot==0 nothing special is done
  • * If prot==1 scilab issues a warning message when a function is redefined (default mode)
  • * If prot==2 scilab issues an error when a function is redefined
  • Exemples