Scilab Help
- Scilab
- Scilab keywords
- ans — answer
- backslash — (\) left matrix division.
- brackets — ([,]) left and right brackets
- colon — (:) colon operator
- comma — (,) comma; instruction, argument separator
- comments — (//) comments
- comparison — comparison, relational operators
- dollar — ($) last index
- dot — (.) symbol
- else — keyword in if-then-else and select-case-then-else
- elseif — keyword in if-then-else
- empty — ([]) empty matrix
- end — end keyword
- equal — (=) assignment , comparison, equal sign
- extraction — matrix and list entry extraction
- global — Define global variable
- hat — (^) exponentiation
- assignation — partial variable assignation
- great — (>) greater than comparison
- minus — (-) subtraction operator, sign changes
- not — (~) logical not
- parentheses — ( ) left and right parenthesis
- percent — (%) special character
- plus — (+) addition operator
- power — (^,.^) power operation
- quote — (') transpose operator, string delimiter
- semicolon — (;) ending expression and row separator
- slash — (/) right division and feed back
- star — (*) multiplication operator
- symbols — scilab operator names
- tilde — (~) logical not
- catch — beginning of catch block in try-catch control
instruction
- Control flow
- abort — interrupt evaluation.
- break — keyword to interrupt loops
- case — keyword used in statement "select"
- continue — keyword to pass control to the next
iteration of a loop
- do — language keyword for loops
- for — language keyword for loops
- if — keyword for conditional execution
- pause — pause mode, invoke keyboard
- resume — return or resume execution and copy some local variables
- return — return or resume execution and copy some local variables
- select — select keyword
- then — keyword in control flows 'if' and 'select'
- while — while keyword
- Configuration
- banner — shows Scilab banner
- getdebuginfo — get information about Scilab to debug
- getmemory — returns free and total system memory
- getmodules — returns list of modules installed in
Scilab
- getos — return Operating System name and version
- getscilabmode — returns scilab mode
- getshell — returns current command
interpreter.
- getversion — get scilab and modules version information
- gstacksize — set/get scilab global stack size
- stacksize — set scilab stack size
- ver — Version information for Scilab
- with_javasci — Checks if Scilab has been built with
the Java interface
- with_macros_source — Checks if macros sources are installed
- with_module — Checks if a Scilab module is
installed
- with_tk — Checks if Scilab has been built
with TCL/TK
- Debugging
- debug — Debugging level of Scilab internals
- delbpt — delete breakpoints
- dispbpt — display breakpoints
- setbpt — set breakpoints
- where — get current instruction calling tree
- whereami — display current instruction calling tree
- Error handling
- errcatch — error trapping
- errclear — error clearing
- error — error message
- error_table — table of error messages
- iserror — error occurrence test
- lasterror — get last recorded error message
- warning — warning messages
- Variables
- Predefined variables
- SCI — variable containing the value of the root path of
Scilab.
- SCIHOME — contains the path to preferences, history files of your Scilab
session.
- TMPDIR — temporary directory path.
- home — Gives the user directory.
- %e — Euler number.
- %eps — epsilon (floating-point relative accuracy)
- %f or %F — Boolean variable for false.
- %i — imaginary unit
- %inf — infinity
- %nan — not-a-number
- %pi — ratio of circle's circumference to its diameter
- %s — A variable used to define polynomials.
- %t or %T — Boolean variable for true.
- %z — A variable used to define polynomials.
- clear — kills variables
- clearglobal — kills global variables
- exists — checks variable existence
- getvariablesonstack — get variable names on stack of scilab
- isdef — checks variable existence
- isglobal — check if a variable is global
- names — Scilab names syntax
- predef — variable protection
- who — listing of variables
- who_user — listing of user's variables
- whos — listing of variables in long form
- exit — Ends the current Scilab session
- perl — Call Perl script using appropriate operating
system executable. This function is obsolete.
- quit — Terminates Scilab or decreases the pause level
- scilab — Main script to start Scilab and miscellaneous
tools (GNU/Linux, Unix and Mac OS X)
- startup — startup files
- Differential calculus, Integration
- bvodeS — Simplified call to bvode
- dae — Differential algebraic equations solver
- daeoptions — set options for dae solver
- daskr — DAE solver with zero crossing
- dasrt — DAE solver with zero crossing
- dassl — differential algebraic equation
- diff — Difference and discrete derivative
- feval — multiple evaluation
- impl — differential algebraic equation
- int2d — definite 2D integral by quadrature and cubature
method
- int3d — definite 3D integral by quadrature and cubature
method
- intc — Cauchy integral
- integrate — integration of an expression by quadrature
- intg — definite integral
- intl — Cauchy integral
- intsplin — integration of experimental data by spline
interpolation
- inttrap — integration of experimental data by trapezoidal
interpolation
- numdiff — numerical gradient estimation at one point. This function is obsolete. Please use the numderivative function instead.
- ode — ordinary differential equation solver
- ode_discrete — ordinary differential equation solver, discrete time
simulation
- ode_optional_output — ode solvers optional outputs description
- ode_root — ordinary differential equation solver with root
finding
- odedc — discrete/continuous ode solver
- odeoptions — set options for ode solvers
- Elementary Functions
- Bitwise operations
- bitand — bitwise AND
- bitcmp — bitwise complement
- bitget — bit at specified position
- bitor — bitwise OR
- bitset — set bit at specified position
- bitxor — bitwise XOR
- isequalbitwise — bitwise comparison of variables
- Complex
- complex — Create a complex number.
- conj — Complex conjugate
- imag — imaginary part
- imult — multiplication by i the imaginary unitary
- isreal — check if a variable has real or complex entries
- real — real part
- Discrete mathematics
- factor — factor function
- factorial — The factorial function
- gcd — Greatest Common Divisor
- lcm — least common multiple
- perms — all permutations of vector components
- primes — primes function
- rat — Floating point rational approximation
- Elementary matrices
- diag — diagonal including or extracting
- eye — identity matrix
- ind2sub — linear index to matrix subscript values
- linspace — linearly spaced vector
- logspace — logarithmically spaced vector
- meshgrid — create matrices or 3-D arrays
- ndgrid — arrays for multidimensional function evaluation on
grid
- ones — matrix made of ones
- rand — Random numbers
- squarewave — generates a square wave with period 2*%pi
- sub2ind — matrix subscript values to linear index
- testmatrix — generate special matrices, such as Hilbert, Franck
- toeplitz — Toeplitz matrix
- zeros — matrix made of zeros
- Log - exp - power
- exp — element-wise exponential
- expm — square matrix exponential
- log — natural logarithm
- log10 — base 10 logarithm
- log1p — computes with accuracy the natural logarithm of its argument
added by one
- log2 — base 2 logarithm
- logm — square matrix logarithm
- polar — polar form
- sqrt — square root
- sqrtm — matrix square root
- Floating point
- ceil — round up
- clean — cleans matrices (round to zero small entries)
- double — conversion from integer to double precision
representation
- fix — round towards zero
- floor — round down
- format — number printing and display format
- frexp — dissect floating-point numbers into base 2 exponent and
mantissa
- ieee — set floating point exception mode
- int — round towards zero
- isinf — check for infinite entries
- isnan — check for "Not a Number" entries
- nearfloat — get previous or next floating-point number
- nextpow2 — next higher power of 2.
- number_properties — determine floating-point parameters
- round — round to nearest integer
- Radix conversions
- base2dec — convert from base b to decimal
- bin2dec — convert from binary to decimal
- dec2base — Convert decimal to base N number in string
- dec2bin — convert from decimal to binary
- dec2hex — convert from decimal to hexadecimal
- dec2oct — convert from decimal to octal
- hex2dec — convert from hexadecimal to decimal
- oct2dec — convert from octal to decimal
- Matrix manipulation
- flipdim — flip x block components along a given dimension
- matrix — reshape a vector or a matrix to a different size matrix
- permute — permute the dimensions of an array
- pertrans — Transposition with reference to the 2nd diagonal
- repmat — Replicate and tile an array
- resize_matrix — trim or/and extend (and cast) a matrix or hypermatrix
- squeeze — removes singleton dimensions of a hypermatrix
- Matrix operations
- abs — absolute value, magnitude
- cross — vector cross product
- cumprod — cumulative product of array elements
- cumsum — cumulative sum of array elements
- kron — Kronecker product (.*.)
- max — maximum
- min — minimum
- norm — matrix norm
- prod — product of array elements
- signm — matrix signum function
- sum — sum of array elements
- tril — lower triangular part of matrix
- triu — upper triangle
- Search and sort
- dsearch — distribute, locate and count elements of a matrix or hypermatrix in given categories
- find — find indices of boolean vector or matrix true elements
- gsort — sorting by quick sort algorithm
- lex_sort — lexicographic matrix rows sorting
- vectorfind — finds in a matrix rows or columns matching a vector
- Set operations
- intersect — returns the vector of common values of two
vectors
- members — count (and locate) in an array each element or row or column of another array
- setdiff — returns components of a vector which do not belong to another
one
- union — extract union components of a vector
- unique — extract unique components of a vector or matrices
- Signal processing
- bloc2exp — Conversion of a block-diagram to its symbolic expression
- bloc2ss — block-diagram to state-space conversion
- pen2ea — pencil to E,A conversion
- ssrand — random system generator
- sysconv — system conversion
- sysdiag — Create a block diagonal matrix from provided inputs or block diagonal system connection
- trfmod — poles and zeros display
- Symbolic
- addf — symbolic addition
- cmb_lin — symbolic linear combination
- ldivf — left symbolic division
- mulf — symbolic multiplication
- rdivf — right symbolic division
- solve — symbolic linear system solver
- subf — symbolic subtraction
- trianfml — symbolic triangularization
- trisolve — symbolic linear system solver
- Trigonometry
- acos — element wise cosine inverse (radians)
- acosd — element wise cosine inverse, result in degree.
- acosh — hyperbolic cosine inverse
- acoshm — matrix hyperbolic inverse cosine
- acosm — matrix wise cosine inverse
- acot — computes the element-wise inverse cotangeant of the
argument.
- acotd — computes the element-wise inverse cotangeant of the argument,
result in degree.
- acoth — element wise hyperbolic cotangeant inverse.
- acsc — computes the element-wise inverse cosecant of the
argument.
- acscd — computes the element-wise inverse cosecant of the argument,
results in degree.
- acsch — computes the element-wise inverse hyperbolic cosecant of the
argument.
- asec — computes the element-wise inverse secant of the
argument.
- asecd — computes the element-wise inverse secant of the argument,
results in degree.
- asech — computes the element-wise inverse hyperbolic secant of the
argument.
- asin — sine inverse (radians)
- asind — sine inverse, results in degree
- asinh — hyperbolic sine inverse
- asinhm — matrix hyperbolic inverse sine
- asinm — matrix wise sine inverse
- atan — 2-quadrant and 4-quadrant inverse tangent
- atand — 2-quadrant and 4-quadrant element-wise inverse tangent, result
in degree
- atanh — hyperbolic tangent inverse
- atanhm — matrix hyperbolic tangent inverse
- atanm — square matrix tangent inverse
- cos — cosine function
- cosd — element-wise cosine function, argument in degree
- cosh — hyperbolic cosine
- coshm — matrix hyperbolic cosine
- cosm — matrix cosine function
- cotd — element-wise cotangent function, argument in degree
- cotg — cotangent
- coth — hyperbolic cotangent
- cothm — matrix hyperbolic cotangent
- csc — сomputes the element-wise cosecant of the
argument
- cscd — сomputes the element-wise cosecant of the argument given in
degree
- csch — Computes the element-wise hyperbolic cosecant of the
argument.
- csgn — returns the sign of a vector of real of complex values
- sec — computes the element-wise secant of the argument
- secd — computes the element-wise secant of the argument given in
degree
- sech — computes the element-wise hyperbolic secant of the
argument
- sin — sine function
- sinc — sinc function
- sind — sine function, argument in degree.
- sinh — hyperbolic sine
- sinhm — matrix hyperbolic sine
- sinm — matrix sine function
- tan — tangent
- tand — tangent, argument in degree.
- tanh — hyperbolic tangent
- tanhm — matrix hyperbolic tangent
- tanm — matrix tangent
- and — logical AND of the elements of an array
- & — logical AND operator
- cat — concatenate several arrays
- cell2mat — converts a cell array into a matrix
- cellstr — converts strings vector (or strings matrix) into a cell array of
strings
- iscolumn — check if a variable is a column
- isempty — check if a variable is an empty matrix or an empty
list
- isequal — objects comparison
- ismatrix — check if a variable is a matrix
- isrow — check if a variable is a row
- isscalar — check if a variable is a scalar.
- issquare — check if a variable is a square matrix
- isvector — check if a variable is a vector
- lstsize — list, tlist, mlist numbers of entries
- pmodulo — positive euclidian remainder modulo m
- ndims — number of dimensions of an array
- nthroot — Real nth root of real numbers
- num2cell — converts an array into a cell array
- or — logical OR of the elements of an array
- | — logical OR operator
- sign — signum function
- size — size of objects
- unwrap — unwrap a Y(x) profile or a Z(x,y) surface. Unfold a Y(x) profile
- Linear Algebra
- Interpolation
- bsplin3val — 3d spline arbitrary derivative evaluation
function
- cshep2d — bidimensional cubic shepard (scattered)
interpolation
- eval_cshep2d — bidimensional cubic shepard interpolation
evaluation
- interp — cubic spline evaluation function
- interp1 — one_dimension interpolation function
- interp2d — bicubic spline (2d) evaluation function
- interp3d — 3d spline evaluation function
- interpln — linear interpolation
- linear_interpn — n dimensional linear interpolation
- lsq_splin — weighted least squares cubic spline fitting
- smooth — smoothing by spline functions
- splin — cubic spline interpolation
- splin2d — bicubic spline gridded 2d interpolation
- splin3d — spline gridded 3d interpolation
- CACSD (Computer Aided Control Systems Design)
- Formal representations and conversions
- abcd — state-space matrices
- cont_frm — transfer to controllable state-space
- dbphi — frequency response to phase and magnitude representation
- des2ss — descriptor to state-space
- des2tf — descriptor to transfer function conversion
- frep2tf — transfer function realization from frequency response
- lsslist — Scilab linear state space function definition
- markp2ss — Markov parameters to state-space
- sm2des — system matrix to descriptor
- sm2ss — system matrix to state-space
- ss2des — (polynomial) state-space to descriptor form
- ss2ss — state-space to state-space conversion, feedback,
injection
- ss2tf — conversion from state-space to transfer function
- tf2des — transfer function to descriptor
- tf2ss — transfer to state-space
- Plot and display
- black — Black-Nichols diagram of a linear dynamical system
- bode — Bode plot
- bode_asymp — Bode plot asymptote
- evans — Evans root locus
- gainplot — magnitude plot
- hallchart — Draws the Hall chart
- m_circle — plots the complex plane iso-gain contours of y/(1+y) (obsolete)
- nicholschart — Nichols chart
- nyquist — nyquist plot
- phaseplot — frequency phase plot
- sgrid — s-plane grid lines.
- show_margins — display gain and phase margin and associated crossover frequencies
- svplot — singular-value sigma-plot
- zgrid — zgrid plot
- abinv — AB invariant subspace
- arhnk — Hankel norm approximant
- arl2 — SISO model realization by L2 transfer approximation
- arma — Scilab arma library
- arma2p — extract polynomial matrices from ar representation
- arma2ss — transform an armax data structure into state space
representation.
- armac — Scilab description of an armax process
- armax — armax identification
- armax1 — armax identification
- arsimul — armax simulation
- augment — augmented plant
- balreal — balanced realization
- bilin — general bilinear transform
- bstap — hankel approximant
- cainv — Dual of abinv
- calfrq — frequency response discretization
- canon — canonical controllable form
- ccontrg — Central H-infinity continuous time controller
- cls2dls — bilinear transform
- colinout — inner-outer factorization
- colregul — removing poles and zeros at infinity
- cont_mat — controllability matrix
- contr — controllability, controllable subspace, staircase
- contrss — controllable part
- copfac — right coprime factorization of continuous time dynamical systems
- csim — simulation (time response) of linear system
- ctr_gram — controllability gramian
- damp — Natural frequencies and damping factors.
- dcf — double coprime factorization
- ddp — disturbance decoupling
- dhinf — H_infinity design of discrete-time systems
- dhnorm — discrete H-infinity norm
- dscr — discretization of linear system
- dsimul — state space discrete time simulation
- dt_ility — detectability test
- dtsi — Continuous time dynamical systems stable anti-stable decomposition
- equil — balancing of pair of symmetric matrices
- equil1 — balancing (nonnegative) pair of matrices
- feedback — feedback operation
- findABCD — discrete-time system subspace identification
- findAC — discrete-time system subspace identification
- findBD — initial state and system matrices B and D of a discrete-time system
- findBDK — Kalman gain and B D system matrices of a discrete-time system
- findR — Preprocessor for estimating the matrices of a linear time-invariant dynamical system
- findx0BD — Estimates state and B and D matrices of a discrete-time linear system
- flts — time response (discrete time, sampled system)
- fourplan — augmented plant to four plants
- freq — frequency response
- freson — peak frequencies
- fspec — spectral factorization of continuous time dynamical systems
- fspecg — stable factorization of continuous time dynamical systems
- fstabst — Youla's parametrization of continuous time linear dynmaical systems
- g_margin — gain margin and associated crossover frequency
- gamitg — H-infinity gamma iterations for continuous time systems
- gcare — Continuous time control Riccati equation
- gfare — Continuous time filter Riccati equation
- gfrancis — Francis equations for tracking
- gtild — tilde operation
- h2norm — H2 norm of a continuous time proper dynamical system
- h_cl — closed loop matrix
- h_inf — Continuous time H-infinity (central) controller
- h_inf_st — static H_infinity problem
- h_norm — H-infinity norm
- hankelsv — Hankel singular values
- hinf — H_infinity design of continuous-time systems
- imrep2ss — state-space realization of an impulse response
- inistate — Estimates the initial state of a discrete-time system
- invsyslin — system inversion
- kpure — continuous SISO system limit feedback gain
- krac2 — continuous SISO system limit feedback gain
- lcf — Continuous time dynamical systems normalized coprime factorization
- leqr — H-infinity LQ gain (full state)
- lft — linear fractional transformation
- lin — linearization
- linf — infinity norm
- linfn — infinity norm
- linmeq — Sylvester and Lyapunov equations solver
- lqe — linear quadratic estimator (Kalman Filter)
- lqg — LQG compensator
- lqg2stan — LQG to standard problem
- lqg_ltr — LQG with loop transform recovery
- lqr — LQ compensator (full state)
- ltitr — discrete time response (state space)
- macglov — Continuous time dynamical systems Mac Farlane Glover problem
- minreal — minimal balanced realization
- minss — minimal realization
- mucomp — mu (structured singular value) calculation
- narsimul — armax simulation (using rtitr)
- nehari — Nehari approximant of continuous time dynamical systems
- noisegen — noise generation
- nyquistfrequencybounds — Computes the frequencies for which the nyquist locus enters and leaves a given rectangle.
- obs_gram — observability gramian
- obscont — observer based controller
- observer — observer design
- obsv_mat — observability matrix
- obsvss — observable part
- p_margin — phase margin and associated crossover frequency
- parrot — Parrot's problem
- pfss — partial fraction decomposition
- phasemag — phase and magnitude
computation
- plzr — pole-zero plot
- pol2des — polynomial matrix to descriptor form
- ppol — pole placement
- prbs_a — pseudo random binary sequences generation
- projsl — linear system projection
- repfreq — frequency response
- ric_desc — Riccati equation
- ricc — Riccati equation
- riccati — Riccati equation
- routh_t — Routh's table
- rowinout — inner-outer factorization
- rowregul — removing poles and zeros at infinity
- rtitr — discrete time response (transfer matrix)
- sensi — sensitivity functions
- sident — discrete-time state-space realization and Kalman gain
- sorder — computing the order of a discrete-time system
- specfact — spectral factor
- ssprint — pretty print for linear system
- st_ility — stabilizability test
- stabil — stabilization
- sysfact — system factorization
- syslin — linear system definition
- syssize — size of state-space system
- time_id — SISO least square identification
- trzeros — transmission zeros and normal rank
- ui_observer — unknown input observer
- unobs — unobservable subspace
- zeropen — zero pencil
- Polynomials
- bezout — Bezout equation for polynomials or integers
- chepol — Chebychev polynomial
- cmndred — common denominator form
- coeff — coefficients of matrix polynomial
- coffg — inverse of polynomial matrix
- colcompr — column compression of polynomial matrix
- degree — degree of polynomial matrix
- denom — denominator
- derivat — Rational matrix derivative
- determ — determinant of polynomial matrix
- detr — polynomial determinant
- diophant — diophantine (Bezout) equation
- factors — numeric real factorization
- hermit — Hermite form
- horner — polynomial/rational evaluation
- hrmt — gcd of polynomials
- htrianr — triangularization of polynomial matrix
- inv_coeff — build a polynomial matrix from its coefficients
- invr — inversion of (rational) matrix
- lcmdiag — least common multiple diagonal factorization
- ldiv — polynomial matrix long division
- numer — numerator
- pdiv — polynomial division
- pol2str — polynomial to string conversion
- polfact — minimal factors
- poly — polynomial definition
- rational — Scilab objects, rational in Scilab
- residu — residue
- roots — roots of polynomials
- rowcompr — row compression of polynomial matrix
- sfact — discrete time spectral factorization
- simp — rational simplification
- simp_mode — toggle rational simplification
- sylm — Sylvester matrix
- systmat — system matrix
- varn — symbolic variable of a polynomial or a rational
- Signal Processing
- filters
- analpf — create analog low-pass filter
- buttmag — Power transmission of a Butterworth filter
- casc — cascade realization of filter from coefficients
- cheb1mag — response of Chebyshev type 1 filter
- cheb2mag — response of type 2 Chebyshev filter
- convol — convolution
- ell1mag — magnitude of elliptic filter
- eqfir — minimax approximation of FIR filter
- eqiir — Design of iir filters
- faurre — filter computation by simple Faurre algorithm
- ffilt — coefficients of FIR low-pass
- filter — filters a data sequence using a digital filter
- find_freq — parameter compatibility for elliptic filter design
- frmag — magnitude of FIR and IIR filters
- fsfirlin — design of FIR, linear phase filters, frequency sampling technique
- group — group delay for digital filter
- iir — iir digital filter
- iirgroup — group delay Lp IIR filter optimization
- iirlp — Lp IIR filter optimization
- kalm — Kalman update
- lev — Yule-Walker equations (Levinson's algorithm)
- levin — Toeplitz system solver by Levinson algorithm
(multidimensional)
- lindquist — Lindquist's algorithm
- remez — Remez exchange algorithm for the weighted chebyshev
approximation of a continuous function with a sum of cosines.
- remezb — Minimax approximation of magnitude response
- srfaur — square-root algorithm
- srkf — square root Kalman filter
- sskf — steady-state Kalman filter
- syredi — Design of iir filters, syredi code interface
- system — observation update
- trans — low-pass to other filter transform
- wfir — linear-phase FIR filters
- wiener — Wiener estimate
- wigner — 'time-frequency' wigner spectrum
- window — compute symmetric window of various type
- yulewalk — least-square filter design
- zpbutt — Butterworth analog filter
- zpch1 — Chebyshev analog filter
- zpch2 — Chebyshev analog filter
- zpell — lowpass elliptic filter
- How to
- How to design an elliptic filter — How to design an elliptic filter (analog and
digital)
- identification
- lattn — recursive solution of normal equations
- lattp — Identification of MA part of a vector ARMA process
- phc — Markovian representation
- rpem — Recursive Prediction-Error Minimization estimation
- miscellaneous
- bilt — bilinear or biquadratic transform SISO system given by a zero/poles representation
- sincd — digital sinc function or Direchlet kernel
- spectral_estimation
- corr — correlation, covariance
- cspect — two sided cross-spectral estimate between 2 discrete time signals using
the correlation method
- czt — chirp z-transform algorithm
- intdec — Changes sampling rate of a signal
- mese — maximum entropy spectral estimation
- pspect — two sided cross-spectral estimate between 2 discrete time signals using
the Welch's average periodogram method.
- transforms
- idct — Inverse discrete cosine transform.
- idst — Inverse discrete sine transform.
- ifft — fast Fourier transform.
- hank — covariance to hankel matrix
- hilb — FIR approximation to a Hilbert transform filter
- cepstrum — cepstrum calculation
- conv — discrete 1-D convolution.
- conv2 — discrete 2-D convolution.
- convol2d — discrete 2-D convolution, using fft.
- detrend — remove constant, linear or piecewise linear trend from a vector
- fft2 — two-dimension fast Fourier
transform
- fftshift — rearranges the fft output, moving the zero frequency to the center of the spectrum
- filt_sinc — samples of sinc function
- frfit — frequency response fit
- hilbert — Discrete-time analytic signal computation of a real signal using Hilbert transform
- ifftshift — inverse of fftshift
- mrfit — frequency response fit
- wfir_gui — Graphical user interface that can be used to interactively design wfir filters
- xcorr — Computes discrete auto or cross correlation
- xcov — Computes discrete auto or cross covariance
- FFTW
- Special Functions
- amell — Jacobi's am function
- besselh — Bessel functions of the third kind (aka Hankel
functions)
- beta — beta function (Euler integral of the first kind)
- calerf — computes error functions.
- dawson — Compute the Dawson (scaled imaginary error) function.
- delip — complete and incomplete elliptic integral of first
kind
- dlgamma — derivative of gammaln function, psi function
- erf — The error function.
- erfc — The complementary error function.
- erfcx — scaled complementary error function.
- erfi — The imaginary error function.
- erfinv — inverse error function
- findm — for elliptic filter design
- gamma — The gamma function.
- gammaln — The logarithm of gamma function.
- legendre — associated Legendre functions
- %k — Jacobi's complete elliptic integral
- %sn — Jacobi's elliptic function
- Randlib
- ARnoldi PACKage (ARPACK binding)
- dnaupd — Interface for the Implicitly Restarted Arnoldi Iteration, to
compute approximations to a few eigenpairs of a real linear
operator
This function is obsolete. Please use eigs
- dneupd — Interface for the Implicitly Restarted Arnoldi Iteration, to
compute the converged approximations to eigenvalues of A * z = lambda * B * z
approximations to a few eigenpairs of a real linear operator
This function is obsolete. Please use eigs
- dsaupd — Interface for the Implicitly Restarted Arnoldi Iteration, to
compute approximations to a few eigenpairs of a real and symmetric linear
operator
This function is obsolete. Please use eigs
- dseupd — Interface for the Implicitly Restarted Arnoldi Iteration, to
compute approximations to the converged approximations to eigenvalues of
A * z = lambda * B * z
This function is obsolete. Please use eigs
- eigs — calculates largest eigenvalues and eigenvectors of matrices
- znaupd — Interface for the Implicitly Restarted Arnoldi Iteration, to
compute a few eigenpairs of a complex linear operator OP with respect to a
semi-inner product defined by a hermitian positive semi-definite real
matrix B.
This function is obsolete. Please use eigs
- zneupd — Interface for the Implicitly Restarted Arnoldi Iteration, to
compute approximations to the converged approximations to eigenvalues of
A * z = lambda * B * z
This function is obsolete. Please use eigs
- Statistics
- Cumulated Distribution Functions
- binomial — binomial distribution probabilities
- cdfbet — cumulative distribution function Beta distribution
- cdfbin — cumulative distribution function Binomial distribution
- cdfchi — cumulative distribution function chi-square distribution
- cdfchn — cumulative distribution function non-central chi-square distribution
- cdff — cumulative distribution function Fisher distribution
- cdffnc — cumulative distribution function non-central f-distribution
- cdfgam — cumulative distribution function gamma distribution
- cdfnbn — cumulative distribution function negative binomial distribution
- cdfnor — cumulative distribution function normal distribution
- cdfpoi — cumulative distribution function poisson distribution
- cdft — cumulative distribution function Student's T distribution
- Central Tendency
- geomean — geometric mean
- harmean — harmonic mean
- mean — mean (row mean, column mean) of vector/matrix
entries
- meanf — weighted mean of a vector or a matrix
- trimmean — trimmed mean of a vector or a matrix
- Data with Missing Values
- nancumsum — This function returns
the cumulative sum of the values of a matrix
- nand2mean — difference of the means of
two independent samples
- nanmax — max (ignoring Nan's)
- nanmean — mean (ignoring Nan's)
- nanmeanf — mean (ignoring Nan's) with a given frequency.
- nanmedian — median of the values of a numerical vector or matrix
- nanmin — min (ignoring Nan's)
- nanreglin — Linear regression
- nanstdev — standard deviation (ignoring the NANs).
- nansum — Sum of values ignoring NAN's
- thrownan — Eliminates nan values
- Descriptive Statistics
- center — center
- correl — correlation of two variables
- cov — Covariance matrix
- covar — covariance of two variables
- histc — computes an histogram
- median — median (row median, column median,...) of
vector/matrix/array entries
- mvvacov (deprecated) — computes variance-covariance matrix This function is obsolete.
- stdev — standard deviation (row orcolumn-wise) of vector/matrix entries
- stdevf — standard deviation
- variance — variance (and mean) of a vector or matrix (or hypermatrix) of real or complex numbers
- variancef — variance (and mean) of a vector or matrix of frequency-weighted real or complex numbers
- wcenter — center and weight
- Hypothesis Testing
- ftest — Fisher ratio
- ftuneq — Fisher ratio for samples of unequal size.
- Measures of Dispersion
- iqr — interquartile range
- mad — mean absolute deviation
- strange — range
- Measures of Shape
- cmoment — central moments of all orders
- moment — non central moments of all orders
- perctl — computation of percentils
- quart — computation of quartiles
- Principal Component Analysis
- pca — Computes principal components analysis with standardized variables
- princomp — Principal components analysis
- show_pca — Visualization of principal components analysis results
- Sampling
- sample — Sampling with replacement
- samplef — sample values with replacement from a population
with given frequencies.
- samwr — Sampling without replacement
- Summaries
- tabul — frequency of values of a matrix or vector
- reglin — Linear regression
- Sparse Matrix
- UMFPACK Interface (sparse)
- PlotSparse — plot the pattern of non nul elements of a sparse matrix
- ReadHBSparse — read a Harwell-Boeing sparse format file
- cond2sp — computes an approximation of the 2-norm condition number of a s.p.d. sparse matrix
- condestsp — estimate the condition number of a sparse matrix
- rafiter — Iterative refinement for a s.p.d. linear system. This function is obsolete.
- res_with_prec — computes the residual r = Ax-b with precision
- taucs_chdel — utility function used with taucs_chfact
- taucs_chfact — cholesky factorization of a sparse s.p.d. matrix
- taucs_chget — retrieve the Cholesky factorization at the scilab level
- taucs_chinfo — get information on Cholesky factors
- taucs_chsolve — solve a linear sparse (s.p.d.) system given the Cholesky factors
- umf_ludel — utility function used with umf_lufact
- umf_lufact — lu factorization of a sparse matrix
- umf_luget — retrieve lu factors at the Scilab level
- umf_luinfo — get information on LU factors
- umf_lusolve — solve a linear sparse system given the LU factors
- umfpack — solve sparse linear system
- Optimization and Simulation
- Genetic Algorithms
- Simulated Annealing
- XML Management
- HDF5 Management
- h5attr — Create an attribute
- h5close — Close a HDF5 object
- h5cp — Copy an object
- h5dataset — Create a dataset and write the data
- h5dump — Dump the content of an H5 object on the standard output stream
- h5exists — Test the existence of named object
- h5flush — Flush all the buffers associated with a file
- h5get — Get a named object
- h5group — Create a group
- h5isArray — Check if the HDF5 object is an array
- h5isAttr — Check if the HDF5 object is an attribute
- h5isCompound — Check if the HDF5 object is a compound object
- h5isFile — Check if the HDF5 object is a file
- h5isGroup — Check if the HDF5 object is a group
- h5isRef — Check if the HDF5 object is a reference object
- h5isSet — Check if the HDF5 object is a dataset
- h5isSpace — Check if the HDF5 object is a dataspace
- h5isType — Check if the HDF5 object is a type
- h5isVlen — Check if the HDF5 object is a variable length array
- h5label — Label a dataset
- h5ln — Link an object to another one
- h5ls — List the content of an HDF5 object (group or dataset)
- h5mount — Mount a file on a group
- h5mv — Move an object
- H5 Objects — Describe the properties of the different H5 objects
- h5open — Open an HDF5 file
- h5read — Read the data of HDF5 dataset
- h5readattr — Read the data of an HDF5 attribute
- h5rm — Remove elements from an HDF5 file
- h5umount — Unmount a previously mounted file.
- h5write — Create a dataset (if it does not exist) and write the data
- h5writeattr — Write an attribute in a group or a dataset
- Files : Input/Output functions
- Directory
- cd — changes Scilab current directory
- createdir — makes new directory
- dir — gets file list
- isdir — checks if argument is a directory path
- ls — shows files
- mkdir — makes a new directory
- pwd — gets Scilab current directory
- removedir — removes a directory
- rmdir — removes a directory
- Paths - Filenames
- basename — strip directory and suffix from filenames
- dirname — gets directory from filenames
- fileext — returns extension for a file path
- fileparts — returns the path, filename and extension for a file path
- filesep — returns directory separator for current platform
- fullfile — builds a full filename from parts
- fullpath — creates an full path name for the specified relative path name.
- get_absolute_file_path — gives an absolute pathname of a file opened in Scilab
- getdrives — gets the drive letters of all mounted filesystems on the computer
- getlongpathname — gets long path name
- getrelativefilename — given absolute directories and absolute filenames, returns relative file names
- getshortpathname — gets short path name
- is_absolute_path — checks if argument is an absolute path
- pathconvert — converts a path to an OS path format.
- pathsep — returns path separator for current platform
- splitURL — Split an URL (HTTP, HTTPS, FTP...)
- tempname — creates a file with an unique filename
- copyfile — copies a file
- deletefile — deletes a file
- dispfiles — displays opened files properties
- fileinfo — provides information about a file
- findfiles — finding all files with a given file specification
- fprintfMat — writes a matrix in a file
- fscanfMat — reads a matrix from a text file
- getURL — Download an URL (HTTP, HTTPS, FTP...)
- getmd5 — get md5 checksum
- %io — a variable, which keeps standard input and standard output (file
descriptor)
- isfile — checks whether argument is an existing file
- listfiles — list of files
- listvarinfile — list of variables in a saved data file
- maxfiles — sets the limit for the number of files a Scilab is allowed to have open simultaneously
- mclearerr — resets binary file access errors
- mclose — closes an opened file
- mdelete — deletes file(s)
- meof — checks if end of file has been reached
- merror — tests the file access errors indicator
- mfprintf — converts, formats, and writes data to a file
- msscanf — reads its input from the character string (interface to the C
sscanf function)
- mgeti — reads byte or word in a given binary format and returns an int type
- mgetl — reads lines from an text file
- mgetstr — reads a character string from a file
- mopen — opens a file in Scilab
- movefile — moves file or directory
- mput — writes byte or word in a given binary format
- mputl — writes strings in a text file
- mputstr — writes a character string in a file
- mseek — sets current position in a binary file
- mtell — Returns the offset of the current byte relative to the beginning of a file
- newest — returns newest file of a set of files
- save format — format of files produced by "save"
- scanf — converts formatted input on standard input
- scanf_conversion — mscanf, msscanf, mfscanf conversion specifications
- Input/Output functions
- file — file management
- getenv — get the value of an environment variable
- getio — get Scilab input/output logical units
- getpid — get Scilab process identificator
- getscilabkeywords — returns a list with all scilab
keywords.
- halt — stop execution
- host — Unix or DOS command execution
- input — prompt for user input
- load — Load a saved variable or a serie of variables
- read — matrices read
- read4b — fortran file binary read
- readb — fortran file binary read
- save — Save a variable or a serie of variables in a binary
file
- setenv — set the value of an environment
variable
- unix — shell (sh) command
execution
- unix_g — shell (sh) command execution, output redirected to a
variable
- unix_s — shell (sh) command execution, no output
- unix_w — shell (sh) command execution, output
redirected to scilab window
- unix_x — shell (sh) command execution, output
redirected to a window
- writb — fortran file binary write
- write — write in a formatted file
- write4b — fortran file binary write
- Graphics
- 2d_plot
- LineSpec — to quickly customize the lines appearance
in a plot
- Matplot — 2D plot of a matrix using colors
- Matplot1 — 2D plot of a matrix using colors
- Matplot properties — description of the Matplot entities properties
- Sfgrayplot — smooth 2D plot of a surface defined by a function using colors
- Sgrayplot — smooth 2D plot of a surface using
colors
- champ — 2D vector field plot
- champ1 — 2D vector field plot with colored
arrows
- champ properties — description of the 2D vector
field entity properties
- comet — 2D comet animated plot.
- contour2d — level curves of a surface on a 2D
plot
- contour2di — compute level curves of a surface on a 2D plot
- contour2dm — compute level curves of a surface defined with a mesh
- contourf — filled level curves of a surface on a 2D plot
- errbar — add vertical error bars on a 2D plot
- fchamp — direction field of a 2D first order ODE
- fcontour2d — Level curves of a surface defined by a function on a 2D plot. This function is obsolete.
- fec — pseudo-color plot of a function defined on a mesh
- fec properties — description of the fec entities
properties
- fgrayplot — 2D plot of a surface defined by a function using colors
- fplot2d — 2D plot of a curve defined by a
function
- grayplot — 2D plot of a surface using
colors
- grayplot properties — description of the grayplot
entities properties
- graypolarplot — Polar 2D plot of a surface using
colors
- histplot — plot a histogram
- paramfplot2d — animated plot of a 2D parametrized curve.
- plot — 2D plot
- plot2d — 2D plot
- plot2d1 — 2D plot (logarithmic axes). This function is obsolete.
- plot2d2 — 2D plot (step
function)
- plot2d3 — 2D plot (vertical
bars)
- plot2d4 — 2D plot (arrows style)
- polarplot — Plot polar
coordinates
- 3d_plot
- comet3d — 3D comet animated plot.
- contour — level curves on a 3D surface
- eval3d — values of a function on a grid
- eval3dp — compute facets of a 3D parametric surface
- fac3d — 3D plot of a surface. This function is obsolete.
- fcontour — level curves on a 3D surface defined by a
function. This function is obsolete.
- fplot3d — 3D plot of a surface defined by a
function
- fplot3d1 — 3D gray or color level plot of a surface
defined by a function
- genfac3d — Compute facets of a 3D surface
- geom3d — projection from 3D on 2D after a 3D
plot
- hist3d — 3D representation of a histogram
- mesh — 3D mesh plot
- nf3d — Rectangular facets to plot3d parameters
- param3d — 3D plot of a parametric curve
- param3d1 — 3D plot of parametric curves
- param3d properties — description of the 3D curves
entities properties
- plot3d — 3D plot of a surface
- plot3d1 — 3D gray or color level plot of a
surface
- plot3d2 — plot surface defined by rectangular
facets
- plot3d3 — mesh plot surface defined by rectangular
facets
- secto3d — 3D surfaces conversion
- surf — 3D surface plot
- surface properties — description of the 3D entities
properties
- annotation
- captions — draw graph captions
- Label entity properties — description of the Label entity properties
- legend — draw graph legend
- Legend entity properties — description of the Legend entity properties.
- legends — draw graph legend
- title — display a title on a graphic
window
- zlabel — sets the z-axis label
- xtitle — add titles on a graphics
window
- axes_operations
- axes properties — description of the axes entity
properties
- gca — Return handle of current axes.
- gda — Return handle of default
axes.
- graduate — Pretty axis graduations
- isoview — set scales for isometric plot (do not change the size of the window)
- newaxes — Creates a new Axes entity
- plotframe — plot a frame with scaling and grids. This function is obsolete.
- replot — redraw with new boundaries the current or a given set of axes
- rotate_axes — Interactive rotation of an Axes handle.
- sca — set the current axes entity
- sda — Set default axes.
- square — set scales for isometric plot (change the size of the window)
- subplot — divide a graphics window into a matrix of sub-windows
- unzoom — unzoom graphics
- zoom_rect — zoom a selection of the current graphic figure
- axis
- axis properties — description of the axis entity
properties
- drawaxis — draw an axis
- bar_histogram
- bar — bar histogram
- barh — horizontal display of bar histogram
- barhomogenize — homogenize all the bars included in the current working axes
- Color management
- addcolor — add new colors to the current colormap
- autumncolormap — red through orange to yellow colormap
- bonecolormap — gray colormap with a light blue tone
- color — returns the color id of a color
- color_list — list of named colors
- colorbar — draw a colorbar
- colordef — Set default color values to display different color schemes
- colormap — using colormaps
- coolcolormap — cyan to magenta colormap
- coppercolormap — black to a light copper tone colormap
- getcolor — opens a dialog to show colors in the current colormap
- graycolormap — linear gray colormap
- hotcolormap — red to yellow colormap
- hsv2rgb — Converts HSV colors to RGB
- hsvcolormap — Hue-saturation-value colormap
- jetcolormap — blue to red colormap
- name2rgb — returns the RGB values of a named color
- oceancolormap — linear blue colormap
- pinkcolormap — sepia tone colorization on black and white images
- rainbowcolormap — red through orange, yellow, green,blue to violet colormap
- rgb2name — returns the name of a color
- springcolormap — magenta to yellow colormap
- summercolormap — green to yellow colormap
- whitecolormap — completely white colormap
- wintercolormap — blue to green colormap
- Datatips
- datatipCreate — Create a datatip on a polyline by program
- datatipGetEntities — Get all the entities compatible with datatips in the given axes.
- datatipGetStruct — Retreive the datatips data structure from the polyline entity. This function is obsolete.
- datatipManagerMode — Set or toggles the datatips mode.
- datatipMove — Move a specified datatip using the mouse.
- datatipRemove — Removes a selected datatip
- datatipRemoveAll — Removes all datatips on a set of polylines.
- datatipSetDisplay — Set the function used to compute the datatip string.
- datatipSetInterp — Set the interpolation mode for datatip.
- datatipSetOrientation — Set the position of the text box associated with the given tip.
- datatipSetStruct — Stores the datatips data structure in the polyline entity. Obsolete function.
- datatipSetStyle — Set the datatip style.
- datatipToggle — toggles the data tips mode.
- datatip properties — description of the Datatip
entity properties
- datatips — Tool for placing and editing tips along the plotted curves.
- orthProj — Computes the orthogonal projection of a point to a polyline in the plane.
- figure_operations
- clf — Clear or reset or reset a figure or a frame uicontrol.
- drawlater — makes axes children
invisible.
- drawnow — draw hidden graphics
entities.
- figure properties — description of the graphics
figure entity properties
- gcf — Return handle of current graphic window.
- gdf — Return handle of default
figure.
- scf — set the current graphic figure
(window)
- sdf — Set default figure.
- geometric_shapes
- arc properties — description of the Arc entity properties
- rectangle properties — description of the Rectangle
entity properties
- xarc — draw a part of an ellipse
- xarcs — draw parts of a set of ellipses
- xarrows — draw a set of arrows in 2D or in 3D.
- xfarc — Fill a part of an ellipse
- xfarcs — Fill parts of a set of ellipses
- xfrect — fill a rectangle
- xrect — draw a rectangle
- xrects — draw or fill a set of rectangles
- handle
- copy — copy a graphics entity.
- delete — delete a graphic entity and its children.
- gce — Get current entity handle.
- ged — Scilab Graphic Editor
- get_figure_handle — get a figure handle from its id
- glue — glue a set of graphics entities into an Compound.
- is_handle_valid — Check wether a set of graphic handles is still valid.
- swap_handles — Permute two handles in the graphic
Hierarchy.
- unglue — unglue a coumpound object and replace it by individual children.
- interaction
- dragrect — Drag rectangle(s) with mouse
- edit_curv — interactive graphic curve editor
- event handler functions — Prototype of functions which may be used as event handler.
- locate — mouse selection of a set of points
- rubberbox — rubberband box for rectangle selection
- seteventhandler — set an event handler for
the current graphic window
- xclick — Wait for a mouse click or an event in a graphic window.
- xgetmouse — get the mouse events and current position
- lighting
- light — creates a light object in the given axes
- light properties — Light overview
- lighting — Lighting overview
- load_save
- xload — load a saved graphics
- xsave — save graphics into a
file
- pie
- polygon
- polyline properties — description of the Polyline
entity properties
- xfpoly — fill a polygon
- xfpolys — fill a set of polygons
- xpoly — draw a polyline or a
polygon
- xpolys — draw a set of polylines or polygons
- xrpoly — draw a regular polygon
- property
- get — Retrieve a property value from a graphics
entity or an User Interface object.
- set — set a property value of a graphic entity
object or of a User Interface object.
- text
- graphics fonts — description of fonts used in graphic figures
- Math rendering in Scilab graphics — Display mathematical equations in Scilab graphics through the
LaTeX or MathML languages.
- stringbox — Compute the bounding rectangle of a text
or a label.
- text properties — description of the Text entity
properties
- titlepage — add a title in the middle of a graphics window
- xinfo — Sets the text displayed in the current window status bar.
- xlfont — load a font in the graphic context or query loaded
font
- xstring — draw strings
- xstringb — draw strings into a box
- xstringl — compute a box which surrounds
strings
- transform
- move — move, translate, a graphic entity and its children.
- rotate — rotation of a set of points
- scaling — affine transformation of a set of points
- window_control
- havewindow — return scilab window mode
- show_window — raises a graphics window
- winsid — return the list of graphics windows
- GlobalProperty — to customize the objects appearance (curves, surfaces...) in a plot
or surf command
- Graphics: Getting started — graphics library overview
- Compound properties — description of the Compound entity properties
- Graphics Entities — description of the graphics entities data structures
- menus — description of the graphic object editor capacities
- pixel_drawing_mode — bitwise pixel rendering functions.
- Segments properties — description of the Segments entity properties
- twinkle — is used to have a graphics entity twinkle
- xchange — transform real to pixel coordinates
- xclear — clears a graphics window. This function is obsolete.
- xdel — delete a graphics window
- xget — get current values of the graphics context. This function is obsolete.
- xgetech — get the current graphics scale
- xgraduate — axis graduation
- xgrid — add a grid on a 2D or 3D plot
- xname — change the name of the current graphics window
- xnumb — draw numbers
- xpause — suspend Scilab
- xsegs — draw unconnected segments
- xset — set values of the graphics context. This function is obsolete.
- xsetech — set the sub-window of a graphics window for plotting
- Graphics : exporting and printing
- driver — select a graphics driver
- xend — close a graphics export session
- xinit — open a graphics export session
- xs2bmp — export graphics to BMP
- xs2emf — export graphics to EMF.
- xs2eps — export graphics to EPS
- xs2gif — export graphics to GIF
- xs2jpg — export graphics to JPG
- xs2pdf — export graphics to PDF.
- xs2png — export graphics to PNG
- xs2ppm — export graphics to PPM
- xs2ps — export graphics to PS
- xs2svg — export graphics to SVG
- GUI
- Data Structures
- boolean — Scilab Objects, boolean variables and operators & | ~
- cell — creates a cell array of empty matrices
- definedfields — returns an index of list's defined fields
- fieldnames — get a tlist, mlist or struct fields names
- getfield — list field extraction
- hypermat — initializes an N dimensional matrix
- hypermatrices — a Scilab object, N dimensional matrix in Scilab
- iscell — checks if a variable is a cell array
- iscellstr — checks if a variable is a cell array of strings
- isfield — checks if the given fieldname exists in a structure or mlist or tlist
- isstruct — checks if a variable is a structure array
- list — a Scilab object and a list definition function
- lstcat — list concatenation
- makecell — Creates a cell array.
- matrices — Scilab objects, matrices in Scilab
- mlist — Scilab object, matrix oriented typed list
definition
- null — delete an element in a list
- rlist — Scilab rational fraction function definition
- setfield — list field insertion
- struct — create a struct
- tlist — Scilab object and typed list definition.
- type — returns the type of a variable
- typename — associates a name to variable type
- typeof — object type
- Parameters
- add_param — Add a parameter to a list of parameters
- get_param — Get the value of a parameter in a parameter list
- init_param — Initialize the structure which will handles the parameters
list
- is_param — Check if a parameter is present in a parameter
list
- list_param — List all the parameters name in a list of
parameters
- remove_param — Remove a parameter and its associated value from a list of
parameters
- set_param — Set the value of a parameter in a parameter list
- Boolean
- bool2s — convert boolean matrix to a zero one matrix.
- Integers
- iconvert — conversion to 1 or 4 byte integer representation
- uint32 — conversion to 4 bytes unsigned integer representation
- inttype — type integers used in integer data types
- Strings
- ascii — string ASCII conversions
- asciimat — string matrix ASCII conversions
- blanks — create string of blank characters
- char — converts in a character array
- convstr — case conversion
- emptystr — zero length string
- eval — evaluation of a matrix of strings
- evstr — evaluation of expressions
- grep — find matches of a string in a vector of strings
- isalphanum — check that characters of a string are alphanumerics
- isascii — tests if character is a 7-bit US-ASCII character
- isdigit — check that characters of a string are digits between 0 and 9
- isletter — check that characters of a string are alphabetic letters
- isnum — tests if a string represents a number
- justify — justify character array
- length — length of object
- part — Extraction of characters from strings
- regexp — find a substring that matches the regular expression string
- sci2exp — converts an expression to a string
- strcat — concatenates character strings
- strchr — find the first occurrence of a character in a string
- strcmp — compare character strings
- strcmpi — compare character strings (case independent)
- strcspn — get span until character in string
- strindex — search position of a character string in an other string
- string — conversion to string
- strings — Scilab Object, character strings
- stripblanks — strips / trims leading and trailing
blanks (and tabs) of strings
- strncpy — copy characters from strings
- strrchr — find the last occurrence of a character in a string
- strrev — returns string reversed
- strsplit — split a string into a vector of strings
- strspn — get span of character set in string
- strstr — locate substring
- strsubst — substitute a character string by another in a character string
- strtod — convert string to double
- strtok — split string into tokens
- tokenpos — returns the tokens positions in a character string
- tokens — returns the tokens of a character string
- Sound file handling
- analyze — frequency plot of a sound signal
- auread — load .au sound file
- auwrite — writes .au sound file
- beep — Produce a beep sound
- lin2mu — linear signal to mu-law encoding
- loadwave — load a sound wav file into scilab
- mapsound — Plots a sound map
- mu2lin — mu-law encoding to linear signal
- playsnd — sound player facility
- savewave — save data into a sound wav file.
- sound — sound player facility
- soundsec — generates a vector of samples for
t seconds at frequency freq Hz.
- wavread — load .wav sound file
- wavwrite — writes .wav sound file
- Time and Date
- calendar — Calendar
- clock — Return current time as date vector
- date — Current date as date string
- datenum — Convert to serial date number
- datevec — Date components
- eomday — Return last day of month
- etime — Elapsed time
- getdate — get date and time information
- now — Return current date under the form of a Unix hour (timestamp)
- realtime — set dates origin or waits until date
- sleep — suspend Scilab
- tic — start a stopwatch timer
- timer — cpu time
- toc — Read the stopwatch timer
- weekday — Return day of week
- Output functions
- disp — displays variables
- printf — converts, formats, and writes data to the main scilab
window
- sprintf — converts, formats, and writes data in a string
- prettyprint — From any Scilab datatype and provide a representation to the TeX, LaTeX or MathML formats
- print — prints variables in a file
- printf_conversion — mprintf, msprintf, mfprintf conversion
specifications
- Xcos
- Spreadsheet
- Console
- clc — Clear Command Window
- completion — returns words that start with the text you pass as
parameter.
- console cli — Keyboard Shortcuts in NW/NWNI mode
- diary — diary of session
- lines — rows and columns used for display
- prompt — Get/Set current prompt
- tohome — Move the cursor to the upper left corner of the Command Window
- History manager
- Matlab binary files I/O
- Matlab to Scilab Conversion Tips
- Compatibility Functions
- Advanced functions
- Built-in & external
- clearfun — removes primitive
- external — Scilab Object, external function or routine
- funptr — coding of primitives ( wizard stuff )
- intppty — set interface argument passing properties
- newfun — add a name in the table of functions
- readgateway — get primitives list of a module
- what — list the Scilab
primitives
- Libraries
- genlib — build library from functions in given directory
- get_function_path — get source file path of a library function
- lib — library definition
- librarieslist — get scilab libraries
- library — library datatype description
- libraryinfo — get macros and path of a scilab library
- whereis — name of library containing a function
- profiling
- add_profiling — Enables the profiling of a function
- plotprofile — Displays the profiling charts of a function
- profile — Returns the profiling results of a function
- remove_profiling — Disables the profiling of a function
- reset_profiling — Resets profiling counters of a function.
- showprofile — Outputs the function profiling results to the console
- argn — Returns the number of input/output arguments in a function call
- bytecode — given a function returns the "bytecode" of a function in a Scilab array and conversely.
- bytecodewalk — walk in function bytecode applying transformation.
- code2str — returns character string associated with Scilab integer
codes. This function is obsolete.
- comp — scilab function compilation
- deff — on-line definition of function
- edit — function editing
- exec — script file execution
- execstr — execute Scilab code in strings
- fun2string — generates ASCII definition of a Scilab function
- funcprot — switch scilab functions protection mode
- endfunction — closes a function definition
- functions — Scilab procedures and Scilab objects
- getd — Load all functions defined in a directory
- head_comments — display Scilab function header comments
- listfunctions — properties of all functions in
the workspace
- macr2lst — function to list conversion
- macr2tree — function to tree conversion
- macro — Scilab procedure and Scilab object
- macrovar — variables of function
- mode — select a mode in an exec-file
- overloading — display, functions and operators overloading
capabilities
- recompilefunction — recompiles a scilab function,
changing its type
- sciargs — scilab command line arguments
- str2code — returns Scilab integer codes associated with a character
string. This function is obsolete.
- tree2code — generates ASCII definition of a Scilab function
- varargin — variable number of arguments in an input argument
list
- varargout — variable numbers of arguments in an output argument
list
- Development tools
- Demo Tools
- Dynamic/incremental Link
- G_make — call make or nmake
- addinter — new functions interface dynamic link at run time.
- c_link — check if symbol loaded with dynamic link
- call — Fortran or C user routines call
- chooselcccompiler — moved as toolbox in ATOMS
- configure_ifort — set environments variables for Intel Fortran Compiler
(Windows).
- configure_msvc — set environments variables for Microsoft C Compiler.
- dllinfo — provides information about the format and symbols provided in
executable and DLL files (Windows).
- findmsifortcompiler — detects Intel fortran Compiler
- findmsvccompiler — detects Microsoft C Compiler
- fort — Fortran or C user routines call
- getdynlibext — get the extension of dynamic libraries on your operating system.
- haveacompiler — detect if you have a C compiler.
- ilib_build — utility for shared library management
- ilib_build_jar — Build Java packages from sources into a JAR file
- ilib_compile — ilib_build utility: executes the Makefile produced by ilib_gen_Make
- ilib_for_link — utility for shared library management with link
- ilib_gen_Make — utility for ilib_build: produces a Makefile for building shared libraries
- ilib_gen_cleaner — utility for ilib_build: generates a cleaner file
- ilib_gen_gateway — utility for ilib_build, generates a gateway file.
- ilib_gen_loader — utility for ilib_build: generates a loader file
- ilib_include_flag — Return a formated includes related string to pass to
system compiler
- ilib_mex_build — utility for mex library management
- ilib_verbose — set level of display used by dynamic link
functions.
- link — dynamic linker
- Supported and compatible compilers — supported and compatible compilers by Scilab
- ulink — unlink/unload a dynamically linked shared object
- ATOMS
- Tcl/Tk Interface
- Text editor (Scinotes)
- edit_error — opens in scilab editor the source of the last recorded error
- editor — Call the text editor as defined in the preferences
- scinotes — Scinotes: Embedded Scilab text editor
- UI Data
- Online help management
- Parallel
- Modules manager
- Localization
- API Scilab
- call_scilab API (Scilab engine)
- Boolean management — How to manage Scilab's boolean read and write process using
call_scilab and api_scilab
- Complex management — How to manage Scilab's complex variable read and write process
using call_scilab
- DisableInteractiveMode — Disables some features (plotting, gui creation, Tcl/Tk...) and
leaves only the computing engine
- Double management — How to manage Scilab's variable read and write process using
call_scilab and api_scilab
- GetLastJob — Returns the latest job sent to Scilab engine
- ScilabHaveAGraph — Check if any Scilab graphics have been opened.
- SendScilabJob — Send a Scilab task from a C/C++ code
(call_scilab)
- SendScilabJobs — Send Scilab tasks from a C/C++ code (call_scilab)
- StartScilab — Initializes and starts Scilab engine in Call
Scilab
- String management — How to manage Scilab's String read and write process using
call_scilab and api_scilab
- TerminateScilab — Stops and terminates Scilab engine in Call Scilab
- call_scilab — call_scilab is an interface which provides the ability to call
Scilab engine from C/C++ code
- Compile and run with Call Scilab — How to compile a native application based on or using
Scilab
- fromc — Checks if current Scilab is called from an external C program (by StartScilab).
- fromjava — Checks if current Scilab is called from javasci
- Java Virtual Machine (JVM)
- Java from Scilab
- Getting started - Beginning — How to use the Java Scilab binding?
- Getting started - Second step — How to use the Java Scilab binding?
- jallowClassReloading — Allow the class reloading
- jarray — Create a Java array
- jautoTranspose — Set the way to convert matrices
- jautoUnwrap — Unwrap automatically returned values
- jcast — Cast a Java object into another one.
- jcompile — Compile Java code or file
- jconvMatrixMethod — Set the way to convert matrices This function is obsolete.
- jcreatejar — Creates a Java ARchive (JAR) from a set of files / directories
- jdeff — Map a static Java method onto a Scilab macro
- jdisableTrace — Stop the trace process.
- jenableTrace — Allow to trace the internal functionnement of JIMS to help the debugging.
- jexists — Test if a Scilab Java Object is valid on the Java side
- jgetclassname — Return the class name of the given object
- jgetfield — Get the field value of a Java object
- jgetfields — Get all the fields of a Java object
- jgetinfo — Returns information about the Java virtual machine
- jgetmethods — Get all the methods of a Java object
- jimport — Import a Java class
- jinvoke — Invoke a method of a Java object
- jinvoke_db — Invoke a method of a Java object in using Java direct buffers
- jnewInstance — Creates a new instance of a Java class
- jnull — The Scilab version of the Java null object.
- jremove — Remove a Java Object on the Java side
- jsetfield — Set the field of a Java object
- junwrap — Convert a Java object into a Scilab native type
- junwraprem — Convert a Java object into a Scilab native type and remove it from the Java side
- jvoid — For no argument functions
- jwrap — Wrap a Scilab variable into a Java one if possible
- jwrapinchar — Wrap Scilab uint16 matrix into Java char multiarray.
- jwrapinfloat — Wrap Scilab double matrix into Java float multiarray.
- new — Creates a new instance of a Java class
- Java Interface
- Intersci
- intersci — Scilab tool to interface C or Fortran functions with scilab. Deprecated: Please use SWIG
- Preferences
- Windows tools
- consolebox — show or hide console box (Windows)
- createGUID — Creates a GUID (Windows only)
- dos — shell (cmd) command execution (Windows
only)
- findfileassociation — Searches for and retrieves a file association-related string from the registry (Windows only)
- getsystemmetrics — Retrieves the specified system metric or system configuration
setting (Windows only)
- istssession — Determines if scilab is launched from a ms terminal service session (Windows only)
- mcisendstring — sends a command string to an MCI
device (Windows only)
- powershell — shell (powershell) command execution (Windows
only)
- win64 — Determine whether Windows x64 version of Scilab (Windows only)
- winopen — Open file in appropriate application
(Windows only)
- winqueryreg — Get item from Microsoft Windows
registry (Windows only)