Main Content

load_system

Load金宝appmodel into memory

Description

example

handle= load_system(sys)loads the modelsysinto memory without opening the model in the Simulink®Editor. After you load a model into memory, you can work with it using Simulink API commands. Save changes to the model usingsave_system.

Examples

collapse all

Load the modelvdpinto memory and return the model handle.

h = load_system("vdp")
h = 172.0004

Input Arguments

collapse all

System to search, specified as the full system path name, a cell array of system path names, a handle, or a vector of handles.

Example:"vdp"

Example:'MyModel/Subsystem1'

Example:{'vdp','fuelsys'}

Output Arguments

collapse all

Handle of loaded model.

Version History

Introduced before R2006a