
![]()
NEW MODEL
The New Model subsection is made up of two different windows in which the users can fix the dimensions and the coefficients of the matrices A, B, C and D of a new model.
The dimensions of the matrices are fixed by inserting the number of inputs, outputs and states of the new model into the edit-fields of the first window and by pressing the button INSERT THE MATRICES below them; the function associated with this button, if the parameters are valid, initializes the matrices and opens the following window:

The matrices can be visualized pressing the relative buttons at the top of the window and their initial values are:
A = zeros (#states, #states)
B = zeros (#states, #inputs)
C = zeros (#outputs, #states)
D = zeros (#outputs, #inputs)
When a matrix is displayed on the window, the user can modify its coefficients and then save them by pressing the SAVE MATRIX button; in this manner, the matrix is allocated in a temporary variable and the string of the relative button becomes [matrix_name]; only the saving of the last matrix causes the end of the New Model subsection, the return to the modeling main window and the loading of the new current model Untitled.mat.
Before the last saving, it's always possible to modify a saved matrix or to change the dimensions of the model by going back to the previous window through the BACK button and by using the same steps indicated above.
![]()
![]()