Sets an error if the given condition, s, is not satisfied. An optional input argument, errormessage may be used to customize the error displayed when assert fails.
Ends execution of the nearest enclosing loop, even if the end condition for the loop has not been satisfied. break will not end execution of multiple, nested loops.
Calls the built-in function f with given inputs, if applicable. If there is a custom function that overrides f, the custom function implementation will be ignored and the built-in function will be executed.
case is used in switch statements and specifies a constant expression, expression, that the variable used in switch is compared with. The expression in each case label must be a constant and unique in the scope of the switch statement.
Delete all or specified variable(s) from memory in the current session of the application. When no variable names are
specified, delete all variables. When -except is specified, exclude the specified variable names from deletion.
Declares a list of variables as global. When a variable is declared as global it may be accessed within a function without
being passed as a parameter. Variables must be declared as global in both the scope they are defined and the scope they are
used.
Enters the keyboard mode, interrupting the current script, and evaluating interactive input(s) from the user. Stopping the script execution
in the user interface, typing 'return' or 'dbcont' will exit output the 'keyboard' mode.
Save in a file an addpath function call for each path defined when the savepath command is executed. These paths can be
restored in a future session by executing the saved file.
Extension of addpath to register a path used by a certain library created with the Library Manager. Call to the function It
registers the library's function list.
Executes the script s in the current session of the application. The script s either needs to contain the fully qualified path or must reside in the search paths for the current session of
the application.
Skips formatting output when displaying matrices of size greater than or equal to size, resulting in faster printing for large data sets as all elements are printed as floats.
Just like an if-else statement but can only compare one variable. Each possibility is represented with a 'case' with the default case being 'otherwise'.
try is used in try-catch blocks and is the code that is executed first in the sequence of the try-catch block. If there is an error in the try block, control is passed to the catch block, where exceptions are handled.
addlibrary
Adds an existing library or a custom library to load the functions contained in it.
addpath
Updates the search path for functions by adding the given directories d, ... to the existing path R.
addtoolbox
Adds an existing toolbox or a custom toolbox to load the functions contained in it.
all
Returns a logical that indicates whether all of the corresponding elements of the input are nonzero.
and
Performs logical conjunction, the 'and' operation, equivalent to the & operator.
ans
Returns the most recently computed result that was not assigned to a variable.
any
Returns a logical that indicates whether any of the corresponding elements of the input are nonzero.
arg
Returns the argument (angle) of each element of z in radians. The arguement is defined as atan2(imag(z),real(z)).
assert
Sets an error if the given condition, s, is not satisfied. An optional input argument, errormessage may be used to customize the error displayed when assert fails.
assignin
Assigns the value val to variable name var in context con.
break
Ends execution of the nearest enclosing loop, even if the end condition for the loop has not been satisfied. break will not end execution of multiple, nested loops.
builtin
Calls the built-in function f with given inputs, if applicable. If there is a custom function that overrides f, the custom function implementation will be ignored and the built-in function will be executed.
case case is used in switch statements and specifies a constant expression, expression, that the variable used in switch is compared with. The expression in each case label must be a constant and unique in the scope of the switch statement.
catch catch is used in try-catch blocks and is executed when an exception or error occurs in the try block.
class
Retrieves the class type of the given input, x.
clearvars
Delete all or specified variable(s) from memory in the current session of the application. When no variable names are specified, delete all variables. When -except is specified, exclude the specified variable names from deletion.
composedir
Returns the Activate installation root directory path.
continue
Skips statements after continue and executes the next iteration of the loop.
disp
Prints the value of x to the application's Command window.
global
Declares a list of variables as global. When a variable is declared as global it may be accessed within a function without being passed as a parameter. Variables must be declared as global in both the scope they are defined and the scope they are used.
isvarname
Tests if a string is a valid variable name.
keyboard
Enters the keyboard mode, interrupting the current script, and evaluating interactive input(s) from the user. Stopping the script execution in the user interface, typing 'return' or 'dbcont' will exit output the 'keyboard' mode.
savepath
Save in a file an addpath function call for each path defined when the savepath command is executed. These paths can be restored in a future session by executing the saved file.
parcluster
Indicate the number of threads desired in parallel loops
path
Sets or displays the current search path for the application.
rdivide
Perform element-wise matrix right division, equivalent to the ./ operator.
registerpath
Extension of addpath to register a path used by a certain library created with the Library Manager. Call to the function It registers the library's function list.
rehash
Clears any function definitions in memory so that the definitions are reread from the corresponding file.
removelibrary
Removes a previously loaded OML library or a custom library.
restoredefaultpath
Resets the current search path for functions to what it was at application startup.
/
Right division of scalars and/or matrices operator.
rmpath
Updates the search path for functions by removing the given directories d, ... from the existing path R.
run
Executes the script s in the current session of the application. The script s either needs to contain the fully qualified path or must reside in the search paths for the current session of the application.
setenv
Assigns the value of the environment variable x to value for the current session of the application.
skipformat
Skips formatting output when displaying matrices of size greater than or equal to size, resulting in faster printing for large data sets as all elements are printed as floats.
sort
Sorts elements of x into ascending order by default.
subsref
Extract a subset of a collection given an indexing method and range. sub on the value val.
switch
Just like an if-else statement but can only compare one variable. Each possibility is represented with a 'case' with the default case being 'otherwise'.
times
Perform multiplication on a list of arguments from left to right, applied to matrices on an element-wise basis. Equivalent to the .* operator.
try try is used in try-catch blocks and is the code that is executed first in the sequence of the try-catch block. If there is an error in the try block, control is passed to the catch block, where exceptions are handled.