You can display the Time Series and Timeline charts along with the standard UI modeling diagram on the web user interface. You are required to generate the respective HTML files before generating the charts.
To generate HTML, do one of the following
- Right-click Time Series or Timeline chart element and in the shortcut menu, click Generate HTML.
- In the diagram toolbar, click Generate HTML.
Once you click Generate HTML, the '<HTML file(s) name> is/are generated to <project name> folder' message will appear on the Simulation Console pane.
If the Start Web Server property is set to true, HTML chart files are automatically generated.
To plot on the web-based UI
- Open the Specification window of a Simulation Configuration.
- Set the Start Web Server property to true to start the Web Server and close the dialog.
- Run the simulation.
- Click the URL that appears in the Console pane when the model simulation is running. Select Web Browser to open the web UI.
The charts in the web and embedded browsers are the same. If the values in the simulation UI change, the corresponding chart is updated accordingly. The layout of the charts is auto-aligned with the chart properties of the runtime UI.