This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

load_system

Load Simulink model into memory

Syntax

handle = load_system(sys)

Description

example

handle = load_system(sys) loads the model sys into 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 using save_system.

Examples

collapse all

Load the model vdp into memory and return the model handle.

h = load_system("vdp")
h =

  172.0004

Input Arguments

collapse all

Model to load into memory, specified as a character vector or string scalar.

Example: "vdp"

Output Arguments

collapse all

Handle of loaded model.

Introduced before R2006a