How can I use multiple threads to speed up Simulink.sdi.DatasetRef.compare()?
조회 수: 2 (최근 30일)
이전 댓글 표시
My team uses the Simulink.sdi.DatasetRef.compare() method to compare results of simulations (called programmatically). In some cases, these Simulink.sdi.DatasetRef objects can be quite large, containing many signals. This often takes quite a long time to complete.
I have noticed by watching CPU utilization that this function appears to only use one thread. Is there any way to configure this method to allow the use of multiple threads? I have searched through matlab answers and through the documentation, but have been unable to find a way to accomplish this.
If this isn't something that can be achieved yet, this is something our team would be VERY interested in as a future feature. Our processes involve a lot of regression analysis with previous runs, and this Simulink.sdi.DatasetRef.compare() method takes up the bulk of that runtime. We had previously used our own home-grown comparison scripts, but wanted to move away from those towards Mathworks-supported features like this wherever practical.
Here are some more details about our typical implementation:
OS: Windows 10 64-bit
Matlab Version: 2017b, 2019b, or 2020a
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Prepare Model Inputs and Outputs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!