Simulink Model Optimization
1 回表示 (過去 30 日間)
古いコメントを表示
I have a Simulink model that performs a few signal processing algorithms on an input. The input is a frame-based matrix, 32 by 30000. For each channel (there are 32 channels) I draw 30000 samples (for ever channel) every second. I then perform some filter on each channel, spectral estimation, and get a few statistics from the data. I am running this model on an 8 core machine but whenever I run the model it only uses one core. It is really slowing down the whole simulation. Is there anyway I can use the parallel processing capabilities built into Matlab to use more than 1 core? If so, any suggestions on where to begin (i.e. demo, examples, etc.)? Any help is appreciated. Thank you.
0 件のコメント
採用された回答
Jarrod Rivituso
2011 年 4 月 3 日
There is no way that I know of to split a single model's simulation over multiple threads, which is why I believe the simulation only uses one core. You could use the parallel computing abilities in MATLAB to help you run multiple simulations at the same time, and that would take advantage of your additional cores, but it wouldn't speed up any single simulation.
However, there may be other tips and tricks you could try to speed up your simulation. Check out the "Speeding up Simulink for Signal Processing Applications" webinar here:
Hope this helps!
1 件のコメント
Arnaud Miege
2011 年 4 月 4 日
In addition to what Jarrod said, you could try running the model in Rapid Accelerator mode, where the executable runs on a separate core to the one where MATLAB is running (if there's one available). For more details, see the Simulink doc at http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/ug/brc69gc.html.
HTH,
Arnaud
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Manual Performance Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!