- Reduce the amount of data generated by the model: You can reduce the amount of data generated by the model by using simulation options such as "Limit data points to last" or "Limit data points to first" to control the amount of data saved. You can also consider using the "Decimation" option to reduce the number of data points generated by the model.
- Save data to disk only when necessary: If you need to save data to disk, consider saving it only at the end of each run or at specific intervals. You can also use compression techniques to reduce the size of the saved data.
Memory and Storage issue for parallel simulation
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I use parrellel simulation to simultate my simulink model. The simulink model needs to run 1200 times, and each run the it will generate 2^23 data point for the output. That amount of data times 1200 run will be >40GB, which is unacceptable for me. Before, I'm using loop to run 1200 times, which is slow, but I get to process data everytime I run and clear the data of prior run. However, now I'm using parrellel simulation which is much faster, but it will save all the points. Is there anyway to solve this problem in parrellel simulation?
0 commentaires
Réponses (1)
Divyank
le 9 Mar 2023
Modifié(e) : Divyank
le 9 Mar 2023
Hello @MENGZE WU, there are different ways to handle the large amount of data generated by parallel simulation. Here are some suggestions:
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!