Why do I recieve a "serialization error" when saving my Sim Manager Session?
10 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2020 年 6 月 10 日
編集済み: MathWorks Support Team
2021 年 1 月 11 日
I have a script which runs a series of simulations in parallel using the 'parsim' function. This script brings up the Simulation Manager and runs all of the Simulink models in the background, producing 3+ gigabytes of Simulation Output files.
When I try to save the output files as part of the Simulation Manager session, in the standard .mldatx file, I get an error:
"Error During Serialization"
and the resulting .mldatx files are not able to be opened.
採用された回答
MathWorks Support Team
2021 年 1 月 11 日
編集済み: MathWorks Support Team
2021 年 1 月 11 日
You are likely seeing this as a result of the Simulation Manager saving the entire output at once. To work around this error message and other memory issues (including slow simulations), I recommend that you try to implement "LoggingToFile":
wherein the Parsim outputs are saved to a file after each run as opposed to accumulating. In this way, we avoid storing excess data in-memory while the Simulation Manager is running, and we do not perform any large 'save' operations after the simulations have concluded.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Run Multiple Simulations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!