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.

Syntax

registerpath (d,funclist)

Inputs

d
Directory where the functions are located.
Type: char
Dimension: string
funclist
Array of function names to be registered. These functions will show up in the autocomplete functionality.
Type: char
Dimension: cell

Example

Snippet of code of a typical Library Manager loader
library_scriptspath = [library_path,'/scripts/oml/MyFolder'];
library_functionlist = librarymanager('scriptlist', library_scriptspath);
registerpath(library_scriptspath, library_functionlist);