Quantcast

Documentation Center

  • Trial Software
  • Product Updates

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.

See Also

|

Was this topic helpful?