The Simulink interface

From the MATLAB main window, click on the New button and select the Simulink Model option.

A blank Simulink window will appear, showing an empty model named untitled. This window is made up of the following sections:

  • The title bar with the name of the opened system (untitled).
  • The menu bar immediately below the title bar.
  • The toolbar below the menu bar with the default tools (the Library Browser and Model Explorer are the tools most used).
  • The Model Browser panel on the left displaying the model's hierarchical tree (it can be hidden with the « button at the bottom right of this panel).
  • The model editor panel on the right of the Model Browser panel is the most useful panel. If you like a clutter-free edit window, you can hide all the other panels through the View menu (I suggest that you leave the status bar though).
  • The status bar on the bottom reporting the name and the current status of the underlying simulation solver (more on this later).

The most useful shortcuts and gestures are as follows:

  • Zooming in/out can be done with the mouse's scroll wheel
  • If you wish the scroll wheel to retain its usual behavior (just scrolling up and down), then navigate to File | Simulink Preferences | Editor defaults and clear the Scroll wheel controls zooming checkbox; zooming is still possible by pressing the Ctrl key while scrolling
  • Tapping the Space bar key will make the model view (or the selected block view) fit the window size
  • Pressing Alt + 1 resets the default zoom (it's a lifesaver!)
  • Pressing and keeping the mouse wheel pressed will allow you to drag the model in the direction of the mouse, an operation known as panning
  • If you don't have the scroll wheel, you can achieve panning by keeping the Space bar key and the left mouse button pressed

We'll talk extensively about the Library Browser in the following paragraphs. Now it's time to start modeling!

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.143.254.90