QSS_toolbox_ETH

Page 59

4

Customizing the QSS Toolbox Library

The QSS toolbox is a library of Matlab/Simulink block diagrams, analogous to the well known “Simulink Library” included in each Matlab release. The user can imagine each element of a library like a pre-defined object: to build a model it is simply necessary to drag the desired elements from the library to the (blank) .mdl file. Then by double-clicking on each element it is possible to enter the desired corresponding parameter values. By default a library is locked, i.e. its elements cannot be customized without unlocking the library. Therefore, before starting to customize the QSS TB library it is necessary to unlock it: 1. 2. 3.

Open the QSS toolbox library Click on “Edit” in the menu bar Click on “Unlock Library”

Now the user is ready to effect the desired changes within the QSS TB library. As an example, the “Vehicle” block is presented below.

Customizing the Simulink block diagram Double-click on the “Vehicle” block in the QSS TB library. The following window appears:

Next, right-click on the block and choose “Look Under Mask”. The complete block diagram of the “Vehicle” block (see Fig. 2.2.1) will appear.

59


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.