Inserting a Function Call

You can insert a function call by the command Insert Function Call.


Before you begin: To use the command Insert Function Call, you must be in any of the following:

Insert Function Call can also be used in a cell in the matrix editor and in a parameter box in the dialog box for editing Modelica parameters.

See Also
Editing an Existing Function Call
  1. Put the cursor where you want to insert the function call, right-click and select Insert Function Call.

    Note: If you put the cursor inside the brackets of an existing function call, you can create nested function calls.

    An Insert Function Call browser appears.
  2. You can select a function to call in two ways:
    • Expand the tree and select a function.
    • Start typing the name of the wanted function in the Search box. The content in the Package pane is dynamically adapted to the text. If the default selection is not the right one, you can select another function.
  3. Click OK to validate the selection.
    A dialog box containing the call for the selected function appears.
  4. Enter needed values in the dialog box.

    Note: If you are to enter a matrix, see Working with the Matrix Editor.

  5. Click OK to validate the input.
    A function call with the validated values is inserted.
    Important: If you have created a nested function call, you must edit the call since previous values in the original function call are not removed.