Skip to Main Content Skip to Search
Product Documentation

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 MDL file format as follows:

  1. Execute the model as a function:

    mymodel
  2. Save the model as an MDL file:

    save_system mymodel

Examples

The command

load_system('vdp')

loads the vdp sample model into memory.

See Also

close_system | open_system

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS