bdeLoadModel

Reads filename, which is a scm file. Loads model from filename.

Syntax

model = bdeLoadModel(filename, silent)

Inputs

filename
Path of the scm file to read.
Type: string
silent (optional)
Type: Boolean
Specifies whether the model is to be loaded in silent mode.If the model is loaded in silent mode, it is not shown in the UI.

Outputs

model
Model containing the information in the scm file filename.
Type: diagram

Examples

Read a scm file:
file = 'test.scm';
	  model = bdeLoadModel(file, true)
model = hwscpDiagram