OPAL-RT waveforms not matching with simulink
15 views (last 30 days)
Show older comments
Hi,
I am trying to execute my model in OPAL-RT. The model is working well in Simulink, and when I load the model in OPAL-RT and run that model in Simulink, it still is working well. However, when I execute the model and open the scope, the waveforms are not complete sinusoidal, it kind of repeats like this. Here is the screenshot. I'd appreciate anyone's input.
Thank you!

0 Comments
Answers (1)
Supraja
on 30 Jul 2025
Hi Shipra,
I understand that you are observing discrepancy in the output while loading your model to Simulink.
I would recommend you checking the sample time and also the solver 'fixed step' or 'variable step' after you load your model to Simulink and make sure that it is set as required.
You can view the OPAL-RT documentation of MATLAB here: OPAL-RT Technologies Inc - System Integration Services - High-Performance Real-Time Systems for Rapid Prototyping and HIL - Third-Party Products & Services - MATLAB & Simulink
0 Comments
See Also
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!