필터 지우기
필터 지우기

Simulink Model Optimization

조회 수: 1 (최근 30일)
Juri Minxha
Juri Minxha 2011년 4월 3일
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.

채택된 답변

Jarrod Rivituso
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
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 CenterFile Exchange에서 Manual Performance Optimization에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by