Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

load_system

Invisibly load Simulink model

Syntax

load_system('sys')

Description

load_system('sys') loads sys, where sys is the name of a Simulink® model, into memory without making its model window visible.

You cannot use load_system to load MATLAB® file models last saved in Simulink Version 1.3 (for example: load_system mymodel.m). If you have a MATLAB file model, you must upgrade to Simulink model file format as follows:

  1. Execute the model as a function:

    mymodel

  2. Save the model as a Simulink model file:

    save_system mymodel

Examples

The command

load_system('vdp')

loads the vdp sample model into memory.

Introduced before R2006a

Was this topic helpful?