bdeSaveModel

Saves model to filename.

Syntax

model = bdeSaveModel(model, filename, savetype)

Inputs

model
Type: diagram
The model that needs to be saved.
filename
Path to save scm file at.
Type: string
savetype (optional)
Type: Boolean
If true the file saves to the path. If false, the file saves to the path, along with any other elements within the model (ex. Images).

Examples

Save a model to given path:
filename = 'C:\TestFolder\test.scm';
        bdeSaveModel(bdeGetCurrentModel(), filename, true)