# 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.

## Syntax

savepath('filename')

## Inputs

filename
The name or path of the file to be created.
Type: string

## Outputs

R
Returns 1 when the file is successfully created, 0 when there is an error writing the file.
Type: logical

## Example

R = savepath('restorepath.oml')
R = 1