Programming > Programming Utilities
24 functions in MATLAB › Programming > Programming Utilities.
addCause | Attaches an underlying exception to an MException as one of its causes. |
addCorrection | Attaches a suggested fix to an MException. |
canUseGPU | Tells whether a supported GPU is available for computation. |
canUseParallelPool | Tells whether a parallel pool can be used. |
eval | Evaluates MATLAB code held in a character vector. |
evalc | Evaluates code and returns its printed output as text instead of showing it. |
evalin | Evaluates code in the base workspace or in the workspace of the caller. |
getReport | Returns the text describing an exception. |
isvalid | Tells whether a handle-type object, such as a timer, is still valid. |
maxNumCompThreads | Returns the number of computational threads available to MatLivre. |
MException | Creates an exception object that carries an identifier and a message. |
MException.last | Returns the most recent exception that was raised. |
rethrow | Raises an exception again, usually from inside a catch block. |
run | Runs a script file given by its path or name. |
start | Method of timer objects: starts the timer. |
startat | Method of timer objects: starts the timer at a given date and time. |
stop | Method of timer objects: stops a running timer. |
throw | Raises an MException object as an error. |
throwAsCaller | Raises an exception as if it came from the calling function. |
timer | Creates a timer object that runs a function after a delay or repeatedly. |
timerfind | Finds valid timer objects, optionally filtered by property values. |
timerfindall | Finds all timer objects, including those hidden from timerfind. |
try, catch | Runs code and handles any error it raises instead of stopping the program. |
wait | Method of timer objects: blocks until the timer has finished running. |