Navigation

  • index
  • next |
  • previous |
  • UniPlot Documentation »
  • Addins »
  • Connecting Simulink to UniPlot for seamless analysis

Connecting Simulink to UniPlot for seamless analysis¶

Introduction¶

The Simulink connector presented in this article allows Mathworks-Simulink user to seamlessly analyze their simulation results but enjoying all the numerous features UniPlot offers. The simulation results get automatically loaded in UniPlot at the end of each run.

The addin is available online or directly from Matlab. See the installation process.

MATLAB and SIMULINK are trademarks of The MathWorks, Inc. (http://www.mathworks.com).

Installation¶

  • Open MATLAB and go to the APPS tabs.

  • Click on the Get More Apps mat-get-more-apps button.

  • In window that opens, type UniPlot in the search bar.

  • Select the UniPlot As PostProcessor APP and install it.

    ../../_images/connector-simulink-appstore.png
  • A UniPlot logo should now appear in the APPS ruban.

    ../../_images/connector-simulink-startapp.png

Usage¶

  • Start Simulink.

  • Open a model you want to analyze

  • In the Simulink ribbon go to UniPlot and click on the UniPlot button mat-uniplot-button.

    ../../_images/connector-simulink-ribbon.png
  • The app will start and automatically detect your UniPlot installation. (The app comes with a default UniPlot workspace. Once you understand the implication, feel free to change it if needed.)

    ../../_images/connector-simulink-setup.png

Important

Of course, you need a valid UniPlot installation to run the app correctly. If your installation is not recognized correctly, the APP will ask you for the correct path. If you do not have UniPlot, the APP will take you to the UniPlot website.

  • Click on 4 - Get your model ready

  • Select the channels to be exported to UniPlot. By default all the output ports are exported. To export more data, use the Log signals function from matlab. To do so, select all the paths you want to record and click mat-log-signals.

    ../../_images/connector-simulink-logsignals.png
  • Run your Simulation, either from the SIMULATION or the UNIPLOT tab clicking on the mat-sim-run button.

  • Once the simulation is finished, the app will open again on the END RUN tab.

    ../../_images/connector-simulink-endrun.png
    1. Choose a name for the simulation (it will be added to the filename).

    2. Choose a Sequence. The predefined ones are:

      • 1-VIEW: will send your data into UniPlot and store them in SLOT in the Sequencer. You can start creating a template.

      • 2-COMPARE: If you have an active template, the data will be sent to this template to be compared to the file already present in the template.

    3. Add any relevant runtime value for the Sequencer.

    4. Finally click on Send to UniPlot and UniPlot will open with your data!

    ../../_images/connector-simulink-sequences.png

Example¶

Below is an example of what could be done for a simulation. We use different features available in UniPlot:

  • Dataset legend

  • File legend

  • Conditional formatting

  • Magnifying diagrams

    ../../_images/connector-simulink-template.png

History¶

Version

Description

R2024.4

Introduction of the Simulink connector.

id-2056084

Table of Contents

  • Connecting Simulink to UniPlot for seamless analysis
    • Introduction
    • Installation
    • Usage
    • Example
    • History

Previous topic

Import of COMBI Files

Next topic

Import of D7D files

This Page

  • Show Source

Quick search

Navigation

  • index
  • next |
  • previous |
  • UniPlot Documentation »
  • Addins »
  • Connecting Simulink to UniPlot for seamless analysis
© Copyright . Last updated on Jun 10, 2025. Created using Sphinx 7.3.7.