Simulink Real Time Code: Scope update speed issue/data logging issue
显示 更早的评论
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
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!