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. You can use either of these commands:
Start Simulink without opening models or the Library Browser.
simulink — Start Simulink and
open the Library Browser.
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
Use one of these techniques to open the Simulink Library Browser from MATLAB :
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.
To open the Simulink Editor, you can:
Open an existing model. For example, at the MATLAB command
prompt, enter the name of a model, such as
For additional ways to open a model, see Open a Model.
Create a model. For example, in the Library Browser, click the New Model button . For additional ways to create a model, see Create a Model Using a Template.
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.