Table Of Contents

MathScript Console

    Last Modified: January 2, 2017

    Use the MathScript Console to quickly test a MathScript function without the overhead of adding a MathScript Node and inputs and outputs to a diagram.

    1. Command section—Use this section to enter your commands. You can use the same functions as in the MathScript Node as well as the plot functions. Press Enter to display the calculation results in the command section. End statements with semicolon to suppress output. Expressions output their results in the variable ans. Each calculation adds or updates the assigned variables in the workspace section.
    2. Workspace section—Displays and updates the variables that are currently used for calculations in the command section. You can use variables in the workspace section for calculations in the command section.

    Recently Viewed Topics