log

Log a string to a file.

Syntax

status = log ( [ file [ , text ] ] ) ;

Arguments

list file (optional)

string text (optional)

Return Value

str status

Exceptions

%ARGUMENT : Invalid arguments. Usage: status = log ( [ file [ , text ] ] ) ;

%BOUNDS : Subscript is out of bounds in log()

Description

None

Examples

To execute the example below, press or modify the example to try different variations.

Related Links

None