dash.gridfileSources.savePath

Record the path to a data source in the catalogue


Syntax



Description

obj = obj.savePath(dataSource, tryRelative)

Records the path to a new data source in the catalogue.

obj = obj.savePath(dataSource, tryRelative, s)

Update the path to a data source in the catalogue.


Input Arguments

dataSource

string scalar | dataSource object
The data source being recorded in the catalogue. If a string scalar, must be the absolute filename of the data source file.

tryRelative

scalar logical
Set to true to attempt to save the relative path to the data source. Set to false to always save the absolute path.

s

numeric scalar
The index of a data source in the catalogue whose path should be updated.

Output Arguments

obj

gridfileSources object
The updated catalogue.