To build models, use the Simulink® software interfaces, which include the Library Browser and the Simulink Editor. Use the Library Browser to search for and access blocks for building models. Build your models in the Simulink Editor.
Before you start Simulink, start MATLAB®. See Startup and Shutdown.
The first model that you open in a MATLAB session takes longer to open than subsequent models because, by default, MATLAB starts Simulink when opening the first model. This just-in-time starting of Simulink reduces MATLAB startup time and avoids unnecessary system memory use.
To speed up opening the first model, you can configure MATLAB startup
to also start Simulink. To start Simulink without opening
models or the Library Browser, use
Depending on how you start MATLAB, use the command:
In the MATLAB
At the operating system command line, with the
For example, to start Simulink when MATLAB starts on a computer running the Microsoft® Windows® operating system, create a desktop shortcut with this target:
matlabroot\bin\win32\matlab.exe -r start_simulink
On Macintosh and Linux® computers, use this command to start the Simulink software when you start MATLAB:
matlab -r start_simulink
To open the Simulink Editor, you can:
Create a model. On the Home tab, click Simulink and choose a model template.
Alternatively, if you already have the Library Browser open, click the New Model button . For additional ways to create a model, see Create a Model.
Open an existing model. To open recent models, on the Home tab, click Simulink.
Alternatively, if you know the name of the model you want, at
the MATLAB command prompt, enter the name, such as
For additional ways to open a model, see Open a Model.
Tip The Simulink Editor opens on top of the MATLAB desktop. To move the MATLAB desktop on top, in the Simulink Editor, select View > MATLAB Desktop.
Use one of these techniques to open the Simulink Library Browser from MATLAB:
On the Home tab, click Simulink, and choose a model template. In the new model, click the Library Browser button.
The Library Browser opens and displays a tree view of the Simulink block libraries on your system. As you click libraries in the tree, the contents of the library appear in the right pane.
Note: Simulink comes with block libraries in addition to the Simulink library. These libraries support simulating supplied example models that contain blocks from those libraries. However, you cannot generate code or modify these blocks without the relevant product licenses.