Profile Editor

Use the Profile Editor to view and edit profile functions.

  • Change the profile function.
  • Change the parameters of the currently selected profile, such as the value, start time, and duration.
  • Modify the profile data interactively in the chart.
  • Convert the profile to a table and save it as a .csv file.

View the Profile Editor

Click on the motors or actuators microdialog to open the Profile Editor.

Figure 1. Profile Editor
  • If you enter zero for the Value, the motor or actuator will be locked and the Profile Editor will become uneditable. To reverse this, double-click the motor or actuator in the modeling window to edit it, and click on the microdialog to unlock it
  • Click the Reset button to restore the current profile function to its default values
  • Certain profile functions have sliders under some parameters. You can click and drag a slider to shape the profile function.
  • Right-click on the plot and then click Export Image to export an image of the profile function.

Modify the Profile Function Interactively

Click and drag the plot sliders in the Profile Editor to reshape the profile function.

  • Sliders are highlighted as you hover over them with the mouse, and a memory curve shows the original shape.
  • The sliders can snap to grid lines or parameters on other profile functions. Press Alt to temporarily disable snapping.
  • Blue dashed lines, when visible, represent other profiles in use in the model. You can snap to features on those profiles as well.
  • You can pan, zoom, and fit the plot. When zooming, use the Ctrl key to keep the time axis fixed. Press F or double-click to fit the plot.
  • Clicking on the plot sliders also puts focus on the associated property. This makes it easy to gain more precise control by typing in a value.
  • For table functions, click and drag data points in the chart to modify them individually. You can also box select to move multiple data points simultaneously.
  • To provide better control when adjusting curves, the tool tip for time-based sliders shows the absolute time.
  • When your time unit is milliseconds, the Output Rate reports the value in kHz.

Convert a Profile Function to a Table

Convert a profile function to a table to modify data points and save them in a .csv file.

Select the Table function to convert a profile function to a table. Click Spline or Derivative in the legend to plot one or the other.

Figure 2. Profile Function Converted to a Table
Option Description
Load values from a .csv file. Alternatively, you can drag and drop a valid .csv file onto the profile editor.
Save data to a .csv file.
Insert a value before the first data point.
Insert a value after the selected data point.
Insert a value after the last data point.
Delete the selected data points.
Extrapolate Linearly extrapolate the curve at both ends. The default is 10%.
Number of points The number of interpolation points. The default is 1024 points. If the Spline curve does not appear to be passing through your data points, try increasing the Number of Points under the Visualization section.


To Do This
Disable snaps temporarily Press Alt
Pan the plot Click and drag the right mouse button.
Zoom in the plot Use the scroll wheel on the mouse. Press Ctrl + scroll to keep the x-axis fixed (zoom y). Press Shift + scroll to keep the y-axis fixed (zoom x).
Fit the plot Press F or double-click the plot.