Learn the basics you need to build models and be productive in the Simulink® editing environment.
Build and Edit a Model in the Simulink Editor covers the complete modeling process, from starting the software to building the block diagram to simulating and viewing results. Master the tips, tricks, and shortcuts that speed up model building.
Parts of a Model introduces concepts and vocabulary that serve as a foundation for learning about and using Simulink beyond the basics.
|Open Simulink Start Page|
|Start Simulink without opening any windows|
|Open Simulink Library Browser|
|Create Simulink model or library in memory|
|Open Simulink model, library, subsystem, or block dialog box|
|Invisibly load Simulink model|
|Create model or project from template|
|Find model or project templates with specified properties|
|Set or get default model template|
|Add block to model|
|Add line to Simulink model|
|Replace blocks in Simulink model|
|Delete blocks from Simulink system|
|Delete line from Simulink model|
|Return name of top-level Simulink system|
|Find systems, blocks, lines, ports, and annotations|
|Get pathname of current system|
|Get pathname of block or line|
|Get path name of current block|
|Get handle of current block|
|Get block handle from block path|
|Set system and block parameter values|
|Get parameter names and values|
|Add parameter to Simulink system|
|Delete system parameter added via add_param command|
|Create subsystem containing specified set of blocks|
|Delete contents of block diagram|
|Expand subsystem contents to containing model level|
|Copy contents of subsystem to empty block diagram|
|Delete contents of subsystem|
|Save Simulink system|
|Close Simulink system window or block dialog box|
|Create template from model or project|
|Export model or library for use in previous version of Simulink|
|Close any or all Simulink system windows unconditionally|
|Whether block diagram is in memory|
|Whether block diagram is a library|
|Whether block diagram has unsaved changes|
|Change MATLAB character set encoding|
|Determine whether model has changed since it was loaded|
|Print figure or save to specific file format|
|Paper orientation for printing or saving|
|Edit print frames for Simulink and Stateflow block diagrams|
To build Simulink models, use the Simulink start page, the Simulink Editor, and the Library Browser.
Use the Simulink Start Page to select a model template, open recent models, and find examples.
Use the Simulink Editor and the Library Browser to create models and set model properties.
The basic parts of a model include blocks, signals, parameters, and properties.
Interact with the Simulink Editor using keyboard commands and mouse actions.
Assemble models using the Simulink Editor, and learn editing tips and tricks.
Flip and rotate blocks, change fonts, use color, box and label areas, and hide and display block names.
Use different approaches to locate model elements, based on model complexity and goals.
Updating the diagram provides the simulation with the results of the latest changes that you have made to a model.
Save models, specify valid model names, file format, and character encoding. Export to different versions of Simulink.
Create a template to reuse customized settings in new models, including configuration settings, blocks, and visual presentation.
View and edit model version information, history, callback functions, and the model description.
Create models, add and connect blocks in models, set parameters and properties, and perform other modeling basics programmatically.