Simulink design optimization with Parallel computing toolbox

2 ビュー (過去 30 日間)
Srinivas 2012 年 3 月 8 日
Hello all, I am using Simulink design optimization with parallel computing toolbox to tune some parameters( usually 10-15), the problem is with how many ever cores I start the optimization, it gives me a error saying
'The session that parfor is using has shutdown'
'The client has lost connection to Lab X' X being some number.
This occurs when I deal with pretty huge data sets.
the peak memory usage is 3.2 GB, my machine settings are Windows 7, Dual Quad(2.13GHz), 24 GB RAM, 240 GB SSD with 60GB page file and 70GB free space.
I hope I am clear enough, any help to resolve this issue would be appreciated

回答 (1 件)

Alec Stothert
Alec Stothert 2012 年 3 月 8 日
Hi Srinivas,
Is this for an estimation problem, in other words is it the expected model output data that is "pretty huge"? Can you send the data (or similarly sized data) to the MATLAB pool using a parfor loop, i.e., outside of SDO.
  2 件のコメント
Alec Stothert
Alec Stothert 2012 年 3 月 8 日
Without knowing the whole estimation problem I was wondering if you hit a memory issue causing the pool to fail simply by using a parfor loop. So something like:
data = LoadMyHugeData
parfor ct=1:10
result(ct) = mean(data); %or some action on the data
I'll send you an email and we can discuss more off line.



Find more on Parameter Estimation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by