Using parallel workers to edit same Simulink model?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Is it possible to use a parfor loop to execute commands like 'add_block' to a single Simulink model? In which, all parallel workers are operating on the same model.
0 commentaires
Réponse acceptée
Edric Ellis
le 6 Fév 2019
In short: no - you cannot make simultaneous changes to a single Simulink model file from multiple processes (i.e. the multiple MATLAB workers executing your parfor loop). What you might be able to do is have each worker operate on a separate Simulink library file, but it's not clear what you're trying to achieve.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Parallel Computing Fundamentals dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!