Issue with Simulink Model Simulation inside Parfor ?
Mostra commenti meno recenti
Hi,
I am trying to run multiple simulations with different data set on model 'ModelTest.slx' using parfor.
my code goes like this,
parfor
simout=sim(bdroot,<options>)
..
..
..
end
Parfor executes one simulation (sometime it runs two simulations). It geerates 'slprj' folder after first simulation.
Then it gets aborted with following error message.
"C:\Users\...\parllelTest\slprj\_jitprj\jitEngineAccessInfo.mat.
Not a binary MAT-file. Try LOAD -ASCII to read as text."
Below are the details of matlab version and model settings,
Matalb 2015b,
parpool with local profile.
Simulation Mode : Normal;
Solver :Fixed Step, discrete
Does anyone have any idea about this error. ?
1 Commento
Shivaputra Narke
il 10 Dic 2018
Risposta accettata
Più risposte (1)
Sean de Wolski
il 10 Dic 2018
Modificato: Sean de Wolski
il 10 Dic 2018
1 voto
Have you looked at parsim? It's the new an improved means for simulating in parallel and takes care of the file management that was always a pain to do on your own.
1 Commento
Shivaputra Narke
il 11 Dic 2018
Categorie
Scopri di più su Run Multiple Simulations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!