- Scilab help
- Встроенные и внешние
Please note that the recommended version of Scilab is 2023.1.0. This page might be outdated.
See the recommended documentation of this function
Scilab procedure and Scilab object
Macros are Scilab procedures ("macro", "function" and "procedure"
have the save meaning). Usually, they are defined
in files with an editor and loaded into Scilab by
exec or through
They can also be defined on-line (see
A file which contains a macro must begin as follows:
function [y1, ..., yn]=foo(x1, ...,xm)
yi are output variables calculated as functions of
input variables and variables existing in Scilab
when the macro is executed.
A macro can be compiled for faster execution. Collections
of macros can be collected in libraries.
Macros which begin with
% sign (e.g.
%foo) and whose
arguments are lists are used to perform specific
operations: for example,
z=%rmr(x,y) is equivalent
z are rationals
|Report an issue|
|<< listfunctions||Функции||macrovar >>|