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¶
Usage¶
Start Simulink.
Open a model you want to analyze
In the Simulink ribbon go to UniPlot and click on the UniPlot button .
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.)
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 .
Run your Simulation, either from the SIMULATION or the UNIPLOT tab clicking on the button.
Once the simulation is finished, the app will open again on the END RUN tab.
Choose a name for the simulation (it will be added to the filename).
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.
Add any relevant runtime value for the Sequencer.
Finally click on Send to UniPlot and UniPlot will open with your data!
Example¶
Below is an example of what could be done for a simulation. We use different features available in UniPlot:
History¶
Version |
Description |
---|---|
R2024.4 |
Introduction of the Simulink connector. |
id-2056084