Simulink Real Time Code: Scope update speed issue/data logging issue
Show older comments
Hello,
I'm using Speedgoat Education edition and Simulink Real Time to conduct some Hardware-in-Loop testing. I'm struggling to get scopes to update in a timely fashion AND log data to workspace. I can do one or other by changing duration settings in Tools>External Mode Control Panel>Signals & Triggering.
I've a sample time of 100 ms.
I've the trigger options set to manual source, normal mode, a duration of 50 samples and a delay 0 seconds. The scopes will update every 5 seconds. But at end of 9 minute simulation I've only a few data points.
If I increase the duration to a number higher than number of samples in simulation run time I get the data but the scope doesn't update.
Can someone please explain what settings I need to change to get near real time (<5seconds) updating of scope AND log data for full simulation duration (approx 3-15 minutes)?
Thank you for any help on this matter, Ross
Accepted Answer
More Answers (0)
Categories
Find more on Target Computer Setup in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!